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.