From: H.J. Lu Date: Mon, 5 Nov 2007 23:42:30 +0000 (-0800) Subject: re PR driver/32632 (-pie won't override -shared in -shared -pie) X-Git-Tag: releases/gcc-4.3.0~1652 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=528dc60364bc1aace27c0694e22eb02233ceb188;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c638289dd040..e8720053c5d9 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 aba400b28c48..065220562f7f 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.