aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/elf.h
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@gcc.gnu.org>2001-01-15 14:30:38 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2001-01-15 14:30:38 +0000
commitfa13446b1f5ac45925365de56f9aa68ea824cbdc (patch)
tree3572d11f36aee6aa8055ea656c2043f58ba1cea6 /gcc/config/arm/elf.h
parent77ebd4356e5a4498097405575bbfe0d56e21cd8a (diff)
downloadgcc-fa13446b1f5ac45925365de56f9aa68ea824cbdc.zip
gcc-fa13446b1f5ac45925365de56f9aa68ea824cbdc.tar.gz
gcc-fa13446b1f5ac45925365de56f9aa68ea824cbdc.tar.bz2
semi.h (SUBTARGET_EXTRA_SPECS): Define.
* config/arm/semi.h (SUBTARGET_EXTRA_SPECS): Define. (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string. (ASM_SPEC): Call subtarget_extra_asm_spec. * config/arm/elf.h (SUBTARGET_EXTRA_SPECS): Define. (SUBTARGET_EXTRA_ASM_SPEC): Define to empty string. (ASM_SPEC): Call subtarget_extra_asm_spec. From-SVN: r39037
Diffstat (limited to 'gcc/config/arm/elf.h')
-rw-r--r--gcc/config/arm/elf.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/config/arm/elf.h b/gcc/config/arm/elf.h
index 355d40e..3277044 100644
--- a/gcc/config/arm/elf.h
+++ b/gcc/config/arm/elf.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler.
For ARM with ELF obj format.
- Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000
+ Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001
Free Software Foundation, Inc.
Contributed by Philip Blundell <philb@gnu.org> and
Catherine Moore <clm@cygnus.com>
@@ -37,8 +37,13 @@ Boston, MA 02111-1307, USA. */
#define SUBTARGET_CPP_SPEC "-D__ELF__"
#endif
+#ifndef SUBTARGET_EXTRA_SPECS
+#define SUBTARGET_EXTRA_SPECS \
+ { "subtarget_extra_asm_spec", SUBTARGET_EXTRA_ASM_SPEC },
+#endif
+
#ifndef SUBTARGET_EXTRA_ASM_SPEC
-#define SUBTARGET_EXTRA_ASM_SPEC
+#define SUBTARGET_EXTRA_ASM_SPEC ""
#endif
#ifndef ASM_SPEC
@@ -50,7 +55,7 @@ Boston, MA 02111-1307, USA. */
%{mapcs-float:-mfloat} \
%{msoft-float:-mno-fpu} \
%{mthumb-interwork:-mthumb-interwork} \
-" SUBTARGET_EXTRA_ASM_SPEC
+%(subtarget_extra_asm_spec)"
#endif
/* The following macro defines the format used to output the second