From 528dc60364bc1aace27c0694e22eb02233ceb188 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Mon, 5 Nov 2007 15:42:30 -0800 Subject: [PATCH] re PR driver/32632 (-pie won't override -shared in -shared -pie) 2007-11-05 H.J. Lu PR driver/32632 * common.opt: Add shared and pie. From-SVN: r129913 --- gcc/ChangeLog | 9 +++++++-- gcc/common.opt | 8 ++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c638289dd04..e8720053c5d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,12 @@ +2007-11-05 H.J. Lu + + PR driver/32632 + * common.opt: Add shared and pie. + 2007-11-05 Bob Wilson - * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Do not replace - references to virtual_stack_vars_rtx in goto_handler. + * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Do not + replace references to virtual_stack_vars_rtx in goto_handler. 2007-11-05 Paul Brook diff --git a/gcc/common.opt b/gcc/common.opt index aba400b28c4..065220562f7 100644 --- a/gcc/common.opt +++ b/gcc/common.opt @@ -1300,4 +1300,12 @@ w Common Var(inhibit_warnings) Suppress warnings +shared +Common RejectNegative Negative(pie) +Create a shared library + +pie +Common RejectNegative Negative(shared) +Create a position independent executable + ; This comment is to ensure we retain the blank line above.