aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/darwin.h
diff options
context:
space:
mode:
authorPeter Bergner <bergner@linux.ibm.com>2019-07-31 17:18:40 +0000
committerPeter Bergner <bergner@gcc.gnu.org>2019-07-31 12:18:40 -0500
commit98ae96d2ade339df1a2d3a46e6a7faa60aece139 (patch)
treebc31076907e0c9b754492ac3cfcff36e7aa17f9e /gcc/config/darwin.h
parent960b9ae05ac46f51370c30d30575e7a7fe6a3a99 (diff)
downloadgcc-98ae96d2ade339df1a2d3a46e6a7faa60aece139.zip
gcc-98ae96d2ade339df1a2d3a46e6a7faa60aece139.tar.gz
gcc-98ae96d2ade339df1a2d3a46e6a7faa60aece139.tar.bz2
re PR target/91050 (-mdejagnu-cpu=<cpu> does not affect the -m<cpu> assembler option)
PR target/91050 * config/rs6000/rs6000.opt (mdejagnu-cpu=): Delete option. * config/rs6000/rs6000.c (rs6000_option_override_internal): Remove use of deleted rs6000_dejagnu_cpu_index variable. * config/rs6000/rs6000.h (DRIVER_SELF_SPECS): Define. (SUBTARGET_DRIVER_SELF_SPECS): Likewise. * config/darwin.h (DRIVER_SELF_SPECS): Rename from this ... (SUBTARGET_DRIVER_SELF_SPECS): ...to this. * config/i386/i386.h (DRIVER_SELF_SPECS): Define. (SUBTARGET_DRIVER_SELF_SPECS): Likewise. From-SVN: r273941
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r--gcc/config/darwin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index ed87984..ab5ad03 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -125,7 +125,8 @@ extern GTY(()) int darwin_ms_struct;
However, a few can be handled and we can elide options that are silently-
ignored defaults, plus warn on obsolete ones that no longer function. */
-#define DRIVER_SELF_SPECS \
+#undef SUBTARGET_DRIVER_SELF_SPECS
+#define SUBTARGET_DRIVER_SELF_SPECS \
"%{fapple-kext|mkernel:-static}", \
"%{gfull:-g -fno-eliminate-unused-debug-symbols} %<gfull", \
"%{gsplit-dwarf:%ngsplit-dwarf is not supported on this platform} \