From: Alan Modra Date: Thu, 26 Jul 2001 04:14:44 +0000 (+0000) Subject: * gas/i386/relax.s: Test rs_space. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bc4aa73fe2c84ca490bfc431607e2848c6723142;p=binutils-gdb.git * gas/i386/relax.s: Test rs_space. * gas/i386/relax.d: Update. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 499ef362f82..e4d7f438076 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-07-26 Alan Modra + + * gas/i386/relax.s: Test rs_space. + * gas/i386/relax.d: Update. + 2001-07-23 Alan Modra * 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 bd0c7da62bc..3aaed1588ea 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 b153842f081..2954c1973bb 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: