2015-05-18 Andreas Tobler <andreast@gcc.gnu.org>
commitc13554dd417e8e448b60ee693e61bf4dcd79cceb
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 2015 18:37:18 +0000 (18 18:37 +0000)
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 2015 18:37:18 +0000 (18 18:37 +0000)
tree033adad23885c4a7d4ef4c6de9ccd9fc3062f4bb
parent3d023e84167cc24a116adc558cba83f3a733b119
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@223308 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/freebsd-spec.h
gcc/config/i386/freebsd.h
gcc/testsuite/ChangeLog
gcc/testsuite/lib/target-supports.exp