Commit 38fc909b by Richard Earnshaw

(CPP_SPEC): add %(subtarget_cpp_spec).

From-SVN: r14563
parent 9ce17ab2
...@@ -109,7 +109,9 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -109,7 +109,9 @@ Unrecognized value in TARGET_CPU_DEFAULT.
#define CPP_PREDEFINES "-Darm -Acpu(arm) -Amachine(arm)" #define CPP_PREDEFINES "-Darm -Acpu(arm) -Amachine(arm)"
#endif #endif
#define CPP_SPEC "%(cpp_cpu_arch) %(cpp_apcs_pc) %(cpp_float) %(cpp_endian)" #define CPP_SPEC "\
%(cpp_cpu_arch) %(cpp_apcs_pc) %(cpp_float) \
%(cpp_endian) %(subtarget_cpp_spec)"
/* Set the architecture define -- if -march= is set, then it overrides /* Set the architecture define -- if -march= is set, then it overrides
the -mcpu= setting. */ the -mcpu= setting. */
...@@ -228,9 +230,11 @@ Unrecognized value in TARGET_CPU_DEFAULT. ...@@ -228,9 +230,11 @@ Unrecognized value in TARGET_CPU_DEFAULT.
{ "cpp_float_default", CPP_FLOAT_DEFAULT_SPEC }, \ { "cpp_float_default", CPP_FLOAT_DEFAULT_SPEC }, \
{ "cpp_endian", CPP_ENDIAN_SPEC }, \ { "cpp_endian", CPP_ENDIAN_SPEC }, \
{ "cpp_endian_default", CPP_ENDIAN_DEFAULT_SPEC }, \ { "cpp_endian_default", CPP_ENDIAN_DEFAULT_SPEC }, \
{ "subtarget_cpp_spec", SUBTARGET_CPP_SPEC }, \
SUBTARGET_EXTRA_SPECS SUBTARGET_EXTRA_SPECS
#define SUBTARGET_EXTRA_SPECS #define SUBTARGET_EXTRA_SPECS
#define SUBTARGET_CPP_SPEC ""
/* Run-time Target Specification. */ /* Run-time Target Specification. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment