* gas/elf/ehopt0.s: New.

* gas/elf/ehopt0.d: New.
        * gas/elf/elf.exp: Run it.
This commit is contained in:
Richard Henderson 2001-05-14 22:37:31 +00:00
parent a5d7c4910b
commit 1ff55c930c
4 changed files with 48 additions and 0 deletions

View File

@ -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.

View File

@ -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 .*

View File

@ -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:

View File

@ -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"
}