]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR driver/32632 (-pie won't override -shared in -shared -pie)
authorH.J. Lu <hjl@gcc.gnu.org>
Mon, 5 Nov 2007 23:42:30 +0000 (15:42 -0800)
committerH.J. Lu <hjl@gcc.gnu.org>
Mon, 5 Nov 2007 23:42:30 +0000 (15:42 -0800)
2007-11-05  H.J. Lu  <hongjiu.lu@intel.com>

PR driver/32632
* common.opt: Add shared and pie.

From-SVN: r129913

gcc/ChangeLog
gcc/common.opt

index c638289dd0406e4ac5d0a0512e1a8c384067a04a..e8720053c5d90ca8fc400fc863fe45d80c7a2339 100644 (file)
@@ -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>
 
index aba400b28c48bc9ead8a868c2136f077fd128553..065220562f7f5cbc0336db93b139a73cd77a8b26 100644 (file)
@@ -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.