diff options
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/ehopt0.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/ehopt0.s | 32 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/elf.exp | 1 |
4 files changed, 48 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 0d688e9..7ab6296 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-05-14 Richard Henderson <rth@redhat.com> + + * gas/elf/ehopt0.s: New. + * gas/elf/ehopt0.d: New. + * gas/elf/elf.exp: Run it. + 2001-05-12 Peter Targett <peter.targett@arccores.com> * 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 0000000..a339c19 --- /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 0000000..bc3fc61 --- /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 13b7c0b..a25a396 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" } |