[Bug target/81170] powerpc*-linux --enable-default-pie chooses incorrect startup files
aldyh at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Sep 13 16:55:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170
--- Comment #7 from Aldy Hernandez <aldyh at gcc dot gnu.org> ---
Author: aldyh
Date: Wed Sep 13 16:54:43 2017
New Revision: 252412
URL: https://gcc.gnu.org/viewcvs?rev=252412&root=gcc&view=rev
Log:
[RS6000] linux startfile/endfile
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.
PR target/81170
PR target/81295
* config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Upgrade to
match gnu-user.h startfile.
(ENDFILE_LINUX_SPEC): Similarly.
Modified:
branches/range-gen2/gcc/ChangeLog
branches/range-gen2/gcc/config/rs6000/sysv4.h
More information about the Gcc-bugs
mailing list