calls.c (prepare_call_address): Transform PLT call to GOT lookup and indirect call...
authorAlexander Monakov <amonakov@ispras.ru>
Mon, 11 May 2015 13:20:57 +0000 (16:20 +0300)
committerAlexander Monakov <amonakov@gcc.gnu.org>
Mon, 11 May 2015 13:20:57 +0000 (16:20 +0300)
commitb91fd3c76ac503f11d94ff00fd9399e949735148
tree532861d0edff899e1bd9fe5d71d6a207bb11a98a
parent9e4b3dd6bcbbd4cac2d461cef58fc912de8c33cd
calls.c (prepare_call_address): Transform PLT call to GOT lookup and indirect call by forcing address into a...

* calls.c (prepare_call_address): Transform PLT call to GOT lookup and
indirect call by forcing address into a pseudo with -fno-plt.
* common.opt (flag_plt): New option.
* doc/invoke.texi (Code Generation Options): Add -fno-plt.
([-fno-plt]): Document.

From-SVN: r223003
gcc/ChangeLog
gcc/calls.c
gcc/common.opt
gcc/doc/invoke.texi