summaryrefslogtreecommitdiffstats
path: root/contrib/gcc/config/darwin.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gcc/config/darwin.h')
-rw-r--r--contrib/gcc/config/darwin.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/contrib/gcc/config/darwin.h b/contrib/gcc/config/darwin.h
index 045091a..c6ff93f 100644
--- a/contrib/gcc/config/darwin.h
+++ b/contrib/gcc/config/darwin.h
@@ -99,7 +99,13 @@ Boston, MA 02111-1307, USA. */
Note that an option name with a prefix that matches another option
name, that also takes an argument, needs to be modified so the
prefix is different, otherwise a '*' after the shorter option will
- match with the longer one. */
+ match with the longer one.
+
+ The SUBTARGET_OPTION_TRANSLATE_TABLE macro, which _must_ be defined
+ in gcc/config/{i386,rs6000}/darwin.h, should contain any additional
+ command-line option translations specific to the particular target
+ architecture. */
+
#define TARGET_OPTION_TRANSLATE_TABLE \
{ "-all_load", "-Zall_load" }, \
{ "-allowable_client", "-Zallowable_client" }, \
@@ -126,7 +132,8 @@ Boston, MA 02111-1307, USA. */
{ "-multi_module", "-Zmulti_module" }, \
{ "-static", "-static -Wa,-static" }, \
{ "-single_module", "-Zsingle_module" }, \
- { "-unexported_symbols_list", "-Zunexported_symbols_list" }
+ { "-unexported_symbols_list", "-Zunexported_symbols_list" }, \
+ SUBTARGET_OPTION_TRANSLATE_TABLE
/* These compiler options take n arguments. */
@@ -390,9 +397,6 @@ do { text_section (); \
|| DECL_INITIAL (DECL)) \
(* targetm.encode_section_info) (DECL, DECL_RTL (DECL), false); \
ASM_OUTPUT_LABEL (FILE, xname); \
- /* Avoid generating stubs for functions we've just defined by \
- outputting any required stub name label now. */ \
- machopic_output_possible_stub_label (FILE, xname); \
} while (0)
#define ASM_DECLARE_CONSTANT_NAME(FILE, NAME, EXP, SIZE) \
OpenPOWER on IntegriCloud