From db67ea0f935148714d465defe743533715b735a4 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 19 Jul 2019 20:10:33 +0000 Subject: [PATCH] [Darwin] More specs TLC. This strips out a few driver specs that are only specifying a default state. Also warn on an option now ignored, and add some comments to the driver specs section. 2019-07-19 Iain Sandoe * config/darwin.h (DRIVER_SELF_SPECS): Ignore X and Mach specs which refer to default conditions. Warn for the 'y' spec which is ignored by current linkers. From-SVN: r273608 --- gcc/ChangeLog | 6 ++++++ gcc/config/darwin.h | 28 ++++++++++++++++++---------- 2 files changed, 24 insertions(+), 10 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a9c2450a21f..f37e2701c27 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-07-19 Iain Sandoe + + * config/darwin.h (DRIVER_SELF_SPECS): Ignore X and Mach specs which + refer to default conditions. Warn for the 'y' spec which is ignored + by current linkers. + 2019-07-19 Bill Seurer * config/rs6000/rs6000.c (builtin_description, cpu_is_info, diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index e17bc64af15..ed8798472a5 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -118,13 +118,23 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see /* True if pragma ms_struct is in effect. */ extern GTY(()) int darwin_ms_struct; -#define DRIVER_SELF_SPECS \ - "%{gfull:-g -fno-eliminate-unused-debug-symbols} %