binutils-gdb/ld/testsuite/ld-pie/vaddr-0.d
H.J. Lu 58e7ebacdd Set ET_EXEC for -pie -Ttext-segment=
bfd/

	* elf.c (assign_file_positions_except_relocs): Set e_type in ELF
	header to ET_EXEC for -pie -Ttext-segment=.

2013-12-10  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-pie/vaddr-0.d: New file.
	* ld-pie/vaddr-1.d: Likewise.
	* ld-pie/vaddr.s: Likewise.
2013-12-12 07:41:27 -08:00

10 lines
148 B
Makefile

#source: vaddr.s
#name: zero p_vaddr
#ld: -pie
#readelf: -h
ELF Header:
#...
Type: DYN \(Shared object file\)
#pass