mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 13:27:26 +08:00
* gas/elf/ehopt0.s: New.
* gas/elf/ehopt0.d: New. * gas/elf/elf.exp: Run it.
This commit is contained in:
@ -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>
|
2001-05-12 Peter Targett <peter.targett@arccores.com>
|
||||||
|
|
||||||
* gas/arc/st.s: Add test case @h30 fixup.
|
* gas/arc/st.s: Add test case @h30 fixup.
|
||||||
|
9
gas/testsuite/gas/elf/ehopt0.d
Normal file
9
gas/testsuite/gas/elf/ehopt0.d
Normal 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 .*
|
32
gas/testsuite/gas/elf/ehopt0.s
Normal file
32
gas/testsuite/gas/elf/ehopt0.s
Normal 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:
|
@ -11,6 +11,7 @@ if { ([istarget "*-*-elf*"]
|
|||||||
&& ![istarget *-*-linux*coff*]
|
&& ![istarget *-*-linux*coff*]
|
||||||
&& ![istarget *-*-linux*oldld*]
|
&& ![istarget *-*-linux*oldld*]
|
||||||
} then {
|
} then {
|
||||||
|
run_dump_test "ehopt0"
|
||||||
run_dump_test "section0"
|
run_dump_test "section0"
|
||||||
run_dump_test "section1"
|
run_dump_test "section1"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user