Solaris PIE support
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 22 Sep 2015 09:12:51 +0000 (11:12 +0200)
committerRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
Tue, 22 Sep 2015 09:12:51 +0000 (11:12 +0200)
commit5c383f026242d25a3c21fdfda42e5ca218b346c8
treed854510497f70338583a6b6c6ca22abb91d9279b
parent6dca4fd141fd0b9fe0ea662295833b8ed43cb4e8
Solaris PIE support

include/elf:
* common.h (DF_1_STUB, DF_1_PIE): Define.

ld:
* emulparams/solaris2.sh (GENERATE_PIE_SCRIPT): Set to yes.

* emultempl/elf32.em: Include ldlex.h.
(gld${EMULATION_NAME}_handle_option) [GENERATE_PIE_SCRIPT]
<OPTION_PIE>: Set DF_1_PIE.

binutils:
* readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
binutils/ChangeLog
binutils/readelf.c
include/elf/ChangeLog
include/elf/common.h
ld/ChangeLog
ld/emulparams/solaris2.sh
ld/emultempl/elf32.em