mirror of
https://github.com/bminor/binutils-gdb.git
synced 2026-02-04 20:41:31 +00:00
In subsequent commits, we will add support for SFrame V3. In the next GNU Binutils release, GNU as and ld will only generate SFrame V3; SFrame V2 will not be supported for generation nor linking. For readelf/objdump, however, continue to support textual dump of SFrame V2 sections. Add a binary file (with no debug data) with SFrame V2 section to keep the dumping tested. Add ET_REL And ET_EXEC binary file based tests for x86_64 and s390x. Check that both readelf and objdump works on the SFrame V2 sections. binutils/testsuite/ * binutils-all/s390/README-sframe-tests: New test. * binutils-all/s390/sframe.exp: New test. * binutils-all/s390/test-v2-ET_EXEC.sframe.bz2: New test. * binutils-all/s390/test-v2-ET_EXEC.sframe.dump: New test. * binutils-all/s390/test-v2-ET_REL.sframe.bz2: New test. * binutils-all/s390/test-v2-ET_REL.sframe.dump: New test. * binutils-all/x86-64/README-sframe-tests: New test. * binutils-all/x86-64/sframe.exp: New test. * binutils-all/x86-64/test-v2-ET_EXEC.sframe.bz2: New test. * binutils-all/x86-64/test-v2-ET_EXEC.sframe.dump: New test. * binutils-all/x86-64/test-v2-ET_REL.sframe.bz2: New test. * binutils-all/x86-64/test-v2-ET_REL.sframe.dump: New test.
43 lines
1.3 KiB
Plaintext
43 lines
1.3 KiB
Plaintext
#...
|
|
Contents of the SFrame section .sframe:
|
|
Header :
|
|
|
|
Version: SFRAME_VERSION_2
|
|
Flags: SFRAME_F_FDE_FUNC_START_PCREL
|
|
Num FDEs: 4
|
|
Num FREs: 20
|
|
|
|
Function Index :
|
|
|
|
func idx \[0\]: pc = 0x0, size = 56 bytes
|
|
STARTPC +CFA +FP +RA +
|
|
0000000000000000 +sp\+160 +u +u +
|
|
0000000000000006 +sp\+160 +c-72 +c-48 +
|
|
000000000000000a +sp\+336 +c-72 +c-48 +
|
|
000000000000000e +fp\+336 +c-72 +c-48 +
|
|
0000000000000036 +sp\+160 +u +u +
|
|
|
|
func idx \[1\]: pc = 0x38, size = 92 bytes
|
|
STARTPC +CFA +FP +RA +
|
|
0000000000000038 +sp\+160 +u +u +
|
|
000000000000003e +sp\+160 +c-72 +c-48 +
|
|
0000000000000042 +sp\+336 +c-72 +c-48 +
|
|
0000000000000046 +fp\+336 +c-72 +c-48 +
|
|
0000000000000092 +sp\+160 +u +u +
|
|
|
|
func idx \[2\]: pc = 0x98, size = 52 bytes
|
|
STARTPC +CFA +FP +RA +
|
|
0000000000000098 +sp\+160 +u +u +
|
|
000000000000009e +sp\+160 +c-72 +c-48 +
|
|
00000000000000a2 +sp\+832 +c-72 +c-48 +
|
|
00000000000000a6 +fp\+832 +c-72 +c-48 +
|
|
00000000000000ca +sp\+160 +u +u +
|
|
|
|
func idx \[3\]: pc = 0xd0, size = 58 bytes
|
|
STARTPC +CFA +FP +RA +
|
|
00000000000000d0 +sp\+160 +u +u +
|
|
00000000000000d6 +sp\+160 +c-72 +c-48 +
|
|
00000000000000da +sp\+320 +c-72 +c-48 +
|
|
00000000000000de +fp\+320 +c-72 +c-48 +
|
|
0000000000000108 +sp\+160 +u +u +
|