This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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: [RS6000] linux startfile/endfile


On Fri, Aug 11, 2017 at 12:23:26PM +0930, Alan Modra wrote:
> These need to match the gnu-user.h definitions to support
> --enable-default-pie.  Otherwise we end up linking the wrong startup
> files when defaulting to PIE.
> 
> I've just copied the HAVE_LD_PIE variants as we don't need the
> !HAVE_LD_PIE variant.  (In fact, gnu-user.h doesn't need them either.)
> 
> Bootstrapped and regression tested powerpc64-linux and
> powerpc64le-linux.  OK?

Okay for trunk, and backports if you need/want them (do you?)  Thanks,


Segher


> 	PR target/81170
> 	PR target/81295
> 	* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Upgrade to
> 	match gnu-user.h startfile.
> 	(ENDFILE_LINUX_SPEC): Similarly.


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