From 4827824f799e15bb28c12482de6c01089fea7abe Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 16 Jun 2019 16:07:52 +0000 Subject: [PATCH] [Darwin, opts] Add RejectNegative for cases with explict inverses. These cases specify the negative option specifically, so we should not accept a regular -no-xxxx for them. 2019-06-16 Iain Sandoe * config/darwin.opt (prebind, noprebind, seglinkedit, noseglinkedit): Add RejectNegative. From-SVN: r272355 --- gcc/ChangeLog | 7 ++++++- gcc/config/darwin.opt | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ef38cfe..742640f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,9 @@ -2019-06-15 Jan Hubicka +2019-06-16 Iain Sandoe + + * config/darwin.opt (prebind, noprebind, seglinkedit, + noseglinkedit): Add RejectNegative. + +2019-06-16 Jan Hubicka * tree-ssa-alias.c (nonoverlapping_component_refs_p): Fix pasto in my previous patch. diff --git a/gcc/config/darwin.opt b/gcc/config/darwin.opt index 0b16b03..3f04375 100644 --- a/gcc/config/darwin.opt +++ b/gcc/config/darwin.opt @@ -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 -- 2.7.4