summaryrefslogtreecommitdiff
path: root/gcc/config/arm/bpabi.h
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-20 20:15:19 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2004-08-20 20:15:19 +0000
commit714ff98b882f4edeec64ce6fd19b4528bf4726c0 (patch)
treee7757c8802d1e5b9a35203b3d0939b8de7752be2 /gcc/config/arm/bpabi.h
parentb5888091ddb88dbbdd522151dbb050433da13ccb (diff)
downloadgcc-714ff98b882f4edeec64ce6fd19b4528bf4726c0.tar.gz
* config.gcc (arm*-*-symbianelf*): Add t-symbian Makefile
fragment. * config/arm/bpabi.h (RENAME_LIBRARY_SET): Fix typo. (SUBTARGET_EXTRA_ASM_SPEC): Pass -meabi=3 to the assembler. * config/arm/symbian.h (SUBTARGET_CPU_DEFAULT): Assume ARMV5 architecture. (SUBTARGET_ASM_FLOAT_SPEC): Default to -mfpu=vfp for hard-float configurations. * config/arm/t-symbian: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86338 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/bpabi.h')
-rw-r--r--gcc/config/arm/bpabi.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/arm/bpabi.h b/gcc/config/arm/bpabi.h
index 815ac306ec5..4831dfb61bc 100644
--- a/gcc/config/arm/bpabi.h
+++ b/gcc/config/arm/bpabi.h
@@ -36,13 +36,17 @@
/* The BPABI integer comparision routines return { -1, 0, 1 }. */
#define TARGET_LIB_INT_CMP_BIASED !TARGET_BPABI
+/* Tell the assembler to build BPABI binaries. */
+#undef SUBTARGET_EXTRA_ASM_SPEC
+#define SUBTARGET_EXTRA_ASM_SPEC "-meabi=3"
+
/* The generic link spec in elf.h does not support shared libraries. */
#undef LINK_SPEC
#define LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} " \
"%{static:-Bstatic} %{shared:-shared} %{symbolic:-Bsymbolic} " \
"-X"
-#if defined (__thumb__) && !defined (__THUMB_INTERWORD)
+#if defined (__thumb__) && !defined (__THUMB_INTERWORK)
#define RENAME_LIBRARY_SET ".thumb_set"
#else
#define RENAME_LIBRARY_SET ".set"