From: Richard Henderson Date: Mon, 14 May 2001 22:37:31 +0000 (+0000) Subject: * gas/elf/ehopt0.s: New. X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=1ff55c930c9b2ba3b955b684228a7b2dc05445cb;p=deliverable%2Fbinutils-gdb.git * gas/elf/ehopt0.s: New. * gas/elf/ehopt0.d: New. * gas/elf/elf.exp: Run it. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0d688e9803..7ab62961c7 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-05-14 Richard Henderson + + * gas/elf/ehopt0.s: New. + * gas/elf/ehopt0.d: New. + * gas/elf/elf.exp: Run it. + 2001-05-12 Peter Targett * gas/arc/st.s: Add test case @h30 fixup. diff --git a/gas/testsuite/gas/elf/ehopt0.d b/gas/testsuite/gas/elf/ehopt0.d new file mode 100644 index 0000000000..a339c19bb7 --- /dev/null +++ b/gas/testsuite/gas/elf/ehopt0.d @@ -0,0 +1,9 @@ +#objdump: -s -j .eh_frame +#name: elf ehopt0 + +.*: +file format .* + +Contents of section .eh_frame: + 0+000 10000000 00000000 017a0001 781a0004 .* + 0+010 01000000 12000000 18000000 00000000 .* + 0+020 08000000 04080000 0044 .* diff --git a/gas/testsuite/gas/elf/ehopt0.s b/gas/testsuite/gas/elf/ehopt0.s new file mode 100644 index 0000000000..bc3fc613ba --- /dev/null +++ b/gas/testsuite/gas/elf/ehopt0.s @@ -0,0 +1,32 @@ + .text +$LFB1: + .4byte 0 +$L1: + .4byte 0 +$LFE1: + .section .eh_frame,"aw",@progbits +__FRAME_BEGIN__: + .4byte $LECIE1-$LSCIE1 +$LSCIE1: + .4byte 0x0 + .byte 0x1 + .ascii "z\0" + .byte 0x1 + .byte 0x78 + .byte 0x1a + .byte 0x0 + .byte 0x4 + .4byte 1 + .p2align 1 +$LECIE1: +$LSFDE1: + .4byte $LEFDE1-$LASFDE1 +$LASFDE1: + .4byte $LASFDE1-__FRAME_BEGIN__ + .4byte $LFB1 + .4byte $LFE1-$LFB1 + .byte 0x4 + .4byte $LFE1-$LFB1 + .byte 0x4 + .4byte $L1-$LFB1 +$LEFDE1: diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 13b7c0bb06..a25a396eb1 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -11,6 +11,7 @@ if { ([istarget "*-*-elf*"] && ![istarget *-*-linux*coff*] && ![istarget *-*-linux*oldld*] } then { + run_dump_test "ehopt0" run_dump_test "section0" run_dump_test "section1" }