[Darwin, opts] Add RejectNegative for cases with explict inverses.
authorIain Sandoe <iains@gcc.gnu.org>
Sun, 16 Jun 2019 16:07:52 +0000 (16:07 +0000)
committerIain Sandoe <iains@gcc.gnu.org>
Sun, 16 Jun 2019 16:07:52 +0000 (16:07 +0000)
These cases specify the negative option specifically, so we should not
accept a regular -no-xxxx for them.

2019-06-16  Iain Sandoe  <iain@sandoe.co.uk>

* config/darwin.opt (prebind, noprebind, seglinkedit,
noseglinkedit): Add RejectNegative.

From-SVN: r272355

gcc/ChangeLog
gcc/config/darwin.opt

index ef38cfe..742640f 100644 (file)
@@ -1,4 +1,9 @@
-2019-06-15  Jan Hubicka  <hubicka@ucw.cz>
+2019-06-16  Iain Sandoe  <iain@sandoe.co.uk>
+
+       * config/darwin.opt (prebind, noprebind, seglinkedit,
+       noseglinkedit): Add RejectNegative.
+
+2019-06-16  Jan Hubicka  <hubicka@ucw.cz>
 
        * tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto
        in my previous patch.
index 0b16b03..3f04375 100644 (file)
@@ -237,11 +237,11 @@ Driver RejectNegative
 (Obsolete after 10.4)  Set MH_NOMULTIDEFS in an umbrella framework.
 
 noprebind
-Driver Negative(prebind)
+Driver RejectNegative Negative(prebind)
 (Obsolete) LD_PREBIND is no longer supported.
 
 noseglinkedit
-Driver Negative(seglinkedit)
+Driver RejectNegative Negative(seglinkedit)
 (Obsolete) This is the default.
 
 object
@@ -252,7 +252,7 @@ Driver RejectNegative Separate
 -pagezero_size size    Allows setting the page 0 size to 4kb for certain special cases.
 
 prebind
-Driver Negative(noprebind)
+Driver RejectNegative Negative(noprebind)
 (Obsolete) LD_PREBIND is no longer supported.
 
 prebind_all_twolevel_modules
@@ -317,7 +317,7 @@ Driver RejectNegative Separate Args(3)
 (Obsolete, ld_classic only) -sectcreate segname sectname file
 
 seglinkedit
-Driver Negative(noseglinkedit)
+Driver RejectNegative Negative(noseglinkedit)
 (Obsolete) Object files with LINKEDIT sections are no longer supported.
 
 segprot