This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Support PIE on Solaris 12

Alan Modra <> writes:

> On Wed, Sep 02, 2015 at 11:05:55AM +0200, Rainer Orth wrote:
>> 2015-08-25  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
>> 	ld:
>> 	* emulparams/ (GENERATE_PIE_SCRIPT): Set to yes.
>> 	* emultempl/elf32.em (ld_${EMULATION_NAME}_emulation): Allow
>> 	overriding gld${EMULATION_NAME}_handle_option.
>> 	* emultempl/solaris2.em: Include ldlex.h.
>> 	(gld${EMULATION_NAME}_handle_option): Declare.
>> 	(elf_solaris2_handle_option): New function.
>> 	include/elf:
>> 	* common.h (DF_1_STUB, DF_1_PIE): Define.
>> 	binutils:
>> 	* readelf.c (process_dynamic_section): Handle DF_1_STUB, DF_1_PIE.
> OK.

How should we proceed with this patch?  Keep setting DF_1_PIE
Solaris-specific as in the version above you've already approved or set
it everywhere as HJ suggested, using the ld part from



Rainer Orth, Center for Biotechnology, Bielefeld University

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]