aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8/gcc/config/arm/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8/gcc/config/arm/elf.h')
-rw-r--r--gcc-4.8/gcc/config/arm/elf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc-4.8/gcc/config/arm/elf.h b/gcc-4.8/gcc/config/arm/elf.h
index 5e21a0842..96fadebc3 100644
--- a/gcc-4.8/gcc/config/arm/elf.h
+++ b/gcc-4.8/gcc/config/arm/elf.h
@@ -51,8 +51,7 @@
#undef SUBSUBTARGET_EXTRA_SPECS
#define SUBSUBTARGET_EXTRA_SPECS
-#ifndef ASM_SPEC
-#define ASM_SPEC "\
+#define DEFAULT_ASM_SPEC "\
%{mbig-endian:-EB} \
%{mlittle-endian:-EL} \
%(asm_cpu_spec) \
@@ -61,6 +60,9 @@
%{mthumb-interwork:-mthumb-interwork} \
%{mfloat-abi=*} %{mfpu=*} \
%(subtarget_extra_asm_spec)"
+
+#ifndef ASM_SPEC
+#define ASM_SPEC DEFAULT_ASM_SPEC
#endif
/* The ARM uses @ are a comment character so we need to redefine