Home | History | Annotate | Download | only in ld-elf
      1 #source: eh4.s
      2 #source: eh4a.s
      3 #as: --64
      4 #ld: -melf_x86_64 -shared -Ttext 0x400
      5 #readelf: -wf
      6 #target: x86_64-*-*
      7 
      8 Contents of the .eh_frame section:
      9 
     10 0+0000 0+0014 0+0000 CIE
     11   Version:               1
     12   Augmentation:          "zR"
     13   Code alignment factor: 1
     14   Data alignment factor: -8
     15   Return address column: 16
     16   Augmentation data:     1b
     17 
     18   DW_CFA_def_cfa: r7 \(rsp\) ofs 8
     19   DW_CFA_offset: r16 \(rip\) at cfa-8
     20   DW_CFA_nop
     21   DW_CFA_nop
     22 
     23 0+0018 0+0014 0+001c FDE cie=0+0000 pc=0+0400..0+0413
     24   DW_CFA_set_loc: 0+0404
     25   DW_CFA_def_cfa_offset: 80
     26 
     27 0+0030 0+0014 0+0034 FDE cie=0+0000 pc=0+0413..0+0426
     28   DW_CFA_set_loc: 0+0417
     29   DW_CFA_def_cfa_offset: 80
     30 
     31 0+0048 0+0024 0+004c FDE cie=0+0000 pc=[0-9a-f]+\.\.[0-9a-f]+
     32   DW_CFA_def_cfa_offset: 16
     33   DW_CFA_advance_loc: [0-9a-f]+ to [0-9a-f]+
     34   DW_CFA_def_cfa_offset: 24
     35   DW_CFA_advance_loc: [0-9a-f]+ to [0-9a-f]+
     36   DW_CFA_def_cfa_expression \(DW_OP_breg7 \(rsp\): 8; DW_OP_breg16 \(rip\): 0;.*
     37   DW_CFA_nop
     38 #...
     39 
     40 [0-9a-f]+ ZERO terminator
     41 #pass
     42