freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build pie executables.
authorAndreas Tobler <andreast@gcc.gnu.org>
Mon, 18 May 2015 18:37:18 +0000 (20:37 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Mon, 18 May 2015 18:37:18 +0000 (20:37 +0200)
commit8ea0dcb9e0ccebfc03bbe1b52a096c65c8e4d11c
tree033adad23885c4a7d4ef4c6de9ccd9fc3062f4bb
parentf41aecf4283f14f54fb0774103fbf7931dff2aa3
freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build pie executables.

2015-05-18  Andreas Tobler  <andreast@gcc.gnu.org>

gcc:
        * config/freebsd-spec.h (FBSD_STARTFILE_SPEC): Add the bits to build
pie executables.
(FBSD_ENDFILE_SPEC): Likewise.
* config/i386/freebsd.h (STARTFILE_SPEC): Remove and use the one from
config/freebsd-spec.h.
(ENDFILE_SPEC): Likewise.

gcc/testsuite:
* lib/target-supports.exp (check_effective_target_pie): Add *-*-freebsd*
to the family of pie capable targets.

From-SVN: r223308
gcc/ChangeLog
gcc/config/freebsd-spec.h
gcc/config/i386/freebsd.h
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp