From bc4aa73fe2c84ca490bfc431607e2848c6723142 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 26 Jul 2001 04:14:44 +0000 Subject: [PATCH] * gas/i386/relax.s: Test rs_space. * gas/i386/relax.d: Update. --- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/i386/relax.d | 2 ++ gas/testsuite/gas/i386/relax.s | 19 +++++++++++++++---- 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 + + * 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 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: -- 2.7.4