Re: [RS6000] linux startfile/endfile

2017-08-11 Thread Segher Boessenkool
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_

[RS6000] linux startfile/endfile

2017-08-10 Thread Alan Modra
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.) Bootst