Pass --secure-plt to the linker
commitefbab234a3e3fb4f9378279a64a308d9d3489ba7
authorGregor Richards <gregor.richards@uwaterloo.ca>
Tue, 20 Oct 2015 23:42:17 +0000 (20 23:42 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Tue, 20 Oct 2015 23:42:17 +0000 (21 10:12 +1030)
tree0ba3cf4044cedd5bb6c4c9a33c73817a1328cd0d
parent9ef83c047fe2cbeba27d814d2b7262b44688b128
Pass --secure-plt to the linker

* config/rs6000/secureplt.h (LINK_SECURE_PLT_DEFAULT_SPEC): Define.
* config/rs6000/sysv4.h (LINK_SECURE_PLT_SPEC): Define.
(LINK_SPEC): Add %(link_secure_plt).
(SUBTARGET_EXTRA_SPECS): Add "link_secure_plt".
* config/rs6000/linux64.h (LINK_SECURE_PLT_SPEC): Redefine.

Co-Authored-By: Alan Modra <amodra@gmail.com>
Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>
From-SVN: r229102
gcc/ChangeLog
gcc/config/rs6000/linux64.h
gcc/config/rs6000/secureplt.h
gcc/config/rs6000/sysv4.h