old-cross-binutils/ld/testsuite/ld-elf/eh4.d
Roland McGrath 7cf492ee5a ld/testsuite/
* ld-elf/eh1.d: Add explicit --64 to as options, and explicit
	-melf_x86_64 and -Ttext to ld options, so we don't assume every
	x86_64-*-* target uses --64 (vs --x32) by default or has the
	same address space layout.
	* ld-elf/eh2.d: Likewise.
	* ld-elf/eh3.d: Likewise.
	* ld-elf/eh4.d: Likewise.
	* ld-elf/elf.exp: For target *-*-nacl*, use options_regsub(ld) to
	map -melf_x86_64 to -melf_x86_64_nacl.
2012-04-09 16:28:34 +00:00

33 lines
727 B
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 ZERO terminator
#pass