diff options
author | H.J. Lu <hjl@gcc.gnu.org> | 2007-11-05 15:42:30 -0800 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2007-11-05 15:42:30 -0800 |
commit | 528dc60364bc1aace27c0694e22eb02233ceb188 (patch) | |
tree | ab57e7be4724ac12b264ec5adae23d47eeda693e | |
parent | d99ffa940466bb4d51242d001638f3bdfae1798f (diff) | |
download | gcc-528dc60364bc1aace27c0694e22eb02233ceb188.zip gcc-528dc60364bc1aace27c0694e22eb02233ceb188.tar.gz gcc-528dc60364bc1aace27c0694e22eb02233ceb188.tar.bz2 |
re PR driver/32632 (-pie won't override -shared in -shared -pie)
2007-11-05 H.J. Lu <hongjiu.lu@intel.com>
PR driver/32632
* common.opt: Add shared and pie.
From-SVN: r129913
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/common.opt | 8 |
2 files changed, 15 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c638289..e872005 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,7 +1,12 @@ +2007-11-05 H.J. Lu <hongjiu.lu@intel.com> + + PR driver/32632 + * common.opt: Add shared and pie. + 2007-11-05 Bob Wilson <bob.wilson@acm.org> - * 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 <paul@codesourcery.com> diff --git a/gcc/common.opt b/gcc/common.opt index aba400b..0652205 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. |