aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-07-26 04:14:44 +0000
committerAlan Modra <amodra@gmail.com>2001-07-26 04:14:44 +0000
commitbc4aa73fe2c84ca490bfc431607e2848c6723142 (patch)
treea477aebb0e11104cca3bb7abe41f29eb85bcaed3 /gas
parent050be34e826a2a94d3e777b34b07620a87d22c8c (diff)
downloadfsf-binutils-gdb-bc4aa73fe2c84ca490bfc431607e2848c6723142.zip
fsf-binutils-gdb-bc4aa73fe2c84ca490bfc431607e2848c6723142.tar.gz
fsf-binutils-gdb-bc4aa73fe2c84ca490bfc431607e2848c6723142.tar.bz2
* gas/i386/relax.s: Test rs_space.
* gas/i386/relax.d: Update.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/relax.d2
-rw-r--r--gas/testsuite/gas/i386/relax.s19
3 files changed, 22 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 499ef36..e4d7f43 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-26 Alan Modra <amodra@bigpond.net.au>
+
+ * gas/i386/relax.s: Test rs_space.
+ * gas/i386/relax.d: Update.
+
2001-07-23 Alan Modra <amodra@bigpond.net.au>
* gas/i386/opcode.d: Tweak lgdt for 2001-07-18 change.
diff --git a/gas/testsuite/gas/i386/relax.d b/gas/testsuite/gas/i386/relax.d
index bd0c7da..3aaed15 100644
--- a/gas/testsuite/gas/i386/relax.d
+++ b/gas/testsuite/gas/i386/relax.d
@@ -4,6 +4,8 @@
.*: +file format .*i386.*
Contents of section .text:
+ 0+00 90 ?90 ?eb ?14 eb ?12 ?41 ?42 43 ?44 ?45 ?46 47 ?48 ?49 ?00 .*
+ 0+10 00 ?00 ?00 ?00 00 ?00 ?00 ?00 .*
Contents of section .data:
Contents of section .gcc_except_table:
0+000 02[ ]*.[ ]*
diff --git a/gas/testsuite/gas/i386/relax.s b/gas/testsuite/gas/i386/relax.s
index b153842..2954c19 100644
--- a/gas/testsuite/gas/i386/relax.s
+++ b/gas/testsuite/gas/i386/relax.s
@@ -1,7 +1,18 @@
- .section .gcc_except_table,"aw",@progbits
- .section .gnu.linkonce.t.blah,"ax",@progbits
+ .section .gcc_except_table,"aw",@progbits
+ .section .gnu.linkonce.t.blah,"ax",@progbits
.L0:
jmp .L1
.L1:
- .section .gcc_except_table,"aw",@progbits
- .uleb128 .L1-.L0
+ .section .gcc_except_table,"aw",@progbits
+ .uleb128 .L1-.L0
+
+ .text
+.L2:
+ nop
+ nop
+ jmp .L3
+ jmp .L4
+ .asciz "ABCDEFGHI"
+ .fill 0x18 - (. - .L2)
+.L3:
+.L4: