2006-10-03 13:15:39 +00:00
|
|
|
#source: eh4.s
|
|
|
|
#source: eh4a.s
|
2012-04-09 16:28:34 +00:00
|
|
|
#as: --64
|
|
|
|
#ld: -melf_x86_64 -shared -Ttext 0x400
|
2006-10-03 13:15:39 +00:00
|
|
|
#readelf: -wf
|
|
|
|
#target: x86_64-*-*
|
|
|
|
|
* dwarf.c (display_debug_frames): Change text for uniformity.
(process_debug_info): Likewise.
(display_debug_aranges): Likewise. Indent address output.
(display_debug_pubnames): Print offset in hex.
* binutils-all/objdump.W: Update.
* gas/cfi/cfi-alpha-1.d, gas/cfi/cfi-alpha-3.d,
gas/cfi/cfi-arm-1.d, gas/cfi/cfi-common-1.d,
gas/cfi/cfi-common-2.d, gas/cfi/cfi-common-3.d,
gas/cfi/cfi-common-4.d, gas/cfi/cfi-common-5.d,
gas/cfi/cfi-common-6.d, gas/cfi/cfi-hppa-1.d,
gas/cfi/cfi-i386-2.d, gas/cfi/cfi-i386.d, gas/cfi/cfi-m68k.d,
gas/cfi/cfi-mips-1.d, gas/cfi/cfi-ppc-1.d, gas/cfi/cfi-s390-1.d,
gas/cfi/cfi-s390x-1.d, gas/cfi/cfi-sh-1.d, gas/cfi/cfi-sparc-1.d,
gas/cfi/cfi-sparc64-1.d, gas/cfi/cfi-x86_64.d: Update for readelf
change.
* ld-elf/eh1.d, ld-elf/eh2.d, ld-elf/eh3.d, ld-elf/eh4.d,
ld-elf/eh5.d, ld-elf/eh6.d, ld-mips-elf/eh-frame1-n32.d,
ld-mips-elf/eh-frame1-n64.d, ld-mips-elf/eh-frame2-n32.d,
ld-mips-elf/eh-frame2-n64.d, ld-mips-elf/eh-frame3.d,
ld-mips-elf/eh-frame4.d: Update for readelf change.
2008-10-06 16:27:35 +00:00
|
|
|
Contents of the .eh_frame section:
|
2006-10-03 13:15:39 +00:00
|
|
|
|
|
|
|
00000000 00000014 00000000 CIE
|
|
|
|
Version: 1
|
|
|
|
Augmentation: "zR"
|
|
|
|
Code alignment factor: 1
|
|
|
|
Data alignment factor: -8
|
|
|
|
Return address column: 16
|
|
|
|
Augmentation data: 1b
|
|
|
|
|
2008-01-28 15:15:32 +00:00
|
|
|
DW_CFA_def_cfa: r7 \(rsp\) ofs 8
|
|
|
|
DW_CFA_offset: r16 \(rip\) at cfa-8
|
2006-10-03 13:15:39 +00:00
|
|
|
DW_CFA_nop
|
|
|
|
DW_CFA_nop
|
|
|
|
|
|
|
|
00000018 00000014 0000001c FDE cie=00000000 pc=00000400..00000413
|
|
|
|
DW_CFA_set_loc: 00000404
|
|
|
|
DW_CFA_def_cfa_offset: 80
|
|
|
|
|
|
|
|
00000030 00000014 00000034 FDE cie=00000000 pc=00000413..00000426
|
|
|
|
DW_CFA_set_loc: 00000417
|
|
|
|
DW_CFA_def_cfa_offset: 80
|
|
|
|
|
2012-05-22 18:42:37 +00:00
|
|
|
00000048 00000024 0000004c FDE cie=00000000 pc=[0-9a-f]+\.\.[0-9a-f]+
|
2012-05-22 14:05:21 +00:00
|
|
|
DW_CFA_def_cfa_offset: 16
|
2012-05-22 18:42:37 +00:00
|
|
|
DW_CFA_advance_loc: [0-9a-f]+ to [0-9a-f]+
|
2012-05-22 14:05:21 +00:00
|
|
|
DW_CFA_def_cfa_offset: 24
|
2012-05-22 18:42:37 +00:00
|
|
|
DW_CFA_advance_loc: [0-9a-f]+ to [0-9a-f]+
|
|
|
|
DW_CFA_def_cfa_expression \(DW_OP_breg7 \(rsp\): 8; DW_OP_breg16 \(rip\): 0;.*
|
2012-05-22 14:05:21 +00:00
|
|
|
DW_CFA_nop
|
2012-05-22 18:42:37 +00:00
|
|
|
#...
|
2012-05-22 14:05:21 +00:00
|
|
|
|
2012-05-22 18:42:37 +00:00
|
|
|
[0-9a-f]+ ZERO terminator
|
2006-10-03 13:15:39 +00:00
|
|
|
#pass
|