1 #source: ibt-plt-3.s
2 #as: --64 -defsym __64_bit__=1
3 #ld: -shared -m elf_x86_64 -z ibtplt --hash-style=sysv -z max-page-size=0x200000 -z noseparate-code
4 #readelf: -wf -n
5 
6 Contents of the .eh_frame section:
7 
8 0+ 0000000000000014 00000000 CIE
9   Version:               1
10   Augmentation:          "zR"
11   Code alignment factor: 1
12   Data alignment factor: -8
13   Return address column: 16
14   Augmentation data:     1b
15 
16   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
17   DW_CFA_offset: r16 \(rip\) at cfa-8
18   DW_CFA_nop
19   DW_CFA_nop
20 
21 0+18 0000000000000014 0000001c FDE cie=00000000 pc=0000000000000240..0000000000000252
22   DW_CFA_advance_loc: 4 to 0000000000000244
23   DW_CFA_def_cfa_offset: 16
24   DW_CFA_advance_loc: 9 to 000000000000024d
25   DW_CFA_def_cfa_offset: 8
26   DW_CFA_nop
27 
28 0+30 0000000000000024 00000034 FDE cie=00000000 pc=00000000000001f0..0000000000000220
29   DW_CFA_def_cfa_offset: 16
30   DW_CFA_advance_loc: 6 to 00000000000001f6
31   DW_CFA_def_cfa_offset: 24
32   DW_CFA_advance_loc: 10 to 0000000000000200
33   DW_CFA_def_cfa_expression \(DW_OP_breg7 \(rsp\): 8; DW_OP_breg16 \(rip\): 0; DW_OP_lit15; DW_OP_and; DW_OP_lit10; DW_OP_ge; DW_OP_lit3; DW_OP_shl; DW_OP_plus\)
34   DW_CFA_nop
35   DW_CFA_nop
36   DW_CFA_nop
37   DW_CFA_nop
38 
39 0+58 0000000000000010 0000005c FDE cie=00000000 pc=0000000000000220..0000000000000240
40   DW_CFA_nop
41   DW_CFA_nop
42   DW_CFA_nop
43 
44