summaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorAlexander Monakov <amonakov@ispras.ru>2015-05-11 16:20:57 +0300
committerAlexander Monakov <amonakov@gcc.gnu.org>2015-05-11 16:20:57 +0300
commitb91fd3c76ac503f11d94ff00fd9399e949735148 (patch)
tree532861d0edff899e1bd9fe5d71d6a207bb11a98a /gcc/common.opt
parent9e4b3dd6bcbbd4cac2d461cef58fc912de8c33cd (diff)
downloadgcc-b91fd3c76ac503f11d94ff00fd9399e949735148.tar.gz
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
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index 51833c17e49..6753fd31b62 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1781,6 +1781,10 @@ fpie
Common Report Var(flag_pie,1) Negative(fPIC)
Generate position-independent code for executables if possible (small mode)
+fplt
+Common Report Var(flag_plt) Init(1) Optimization
+Use PLT for PIC calls (-fno-plt: load the address from GOT at call site)
+
fplugin=
Common Joined RejectNegative Var(common_deferred_options) Defer
Specify a plugin to load