5d196efc83
* ld-elf/eh1.d: Don't skip x86_64-*-linux-gnux32. * ld-elf/eh2.d: Likewise. * ld-elf/eh3.d: Likewise. * ld-elf/eh4.d: Likewise.
41 lines
1 KiB
Makefile
41 lines
1 KiB
Makefile
#source: eh4.s
|
|
#source: eh4a.s
|
|
#as: --64
|
|
#ld: -melf_x86_64 -shared -Ttext 0x400
|
|
#readelf: -wf
|
|
#target: x86_64-*-*
|
|
|
|
Contents of the .eh_frame section:
|
|
|
|
00000000 00000014 00000000 CIE
|
|
Version: 1
|
|
Augmentation: "zR"
|
|
Code alignment factor: 1
|
|
Data alignment factor: -8
|
|
Return address column: 16
|
|
Augmentation data: 1b
|
|
|
|
DW_CFA_def_cfa: r7 \(rsp\) ofs 8
|
|
DW_CFA_offset: r16 \(rip\) at cfa-8
|
|
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
|
|
|
|
00000048 00000024 0000004c FDE cie=00000000 pc=[0-9a-f]+\.\.[0-9a-f]+
|
|
DW_CFA_def_cfa_offset: 16
|
|
DW_CFA_advance_loc: [0-9a-f]+ to [0-9a-f]+
|
|
DW_CFA_def_cfa_offset: 24
|
|
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;.*
|
|
DW_CFA_nop
|
|
#...
|
|
|
|
[0-9a-f]+ ZERO terminator
|
|
#pass
|