aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog10
-rw-r--r--gas/Makefile.am1
-rw-r--r--gas/Makefile.in1
-rw-r--r--gas/config/tc-arm.c6
-rw-r--r--gas/config/te-symbian.h3
-rwxr-xr-xgas/configure4
-rw-r--r--gas/configure.in4
7 files changed, 25 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e549d3f..13d53fd 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,13 @@
+2004-09-02 Mark Mitchell <mark@codesourcery.com>
+
+ * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
+ * Makefile.in: Regenerated.
+ * configure.in: Set em for arm*-*-symbianelf*.
+ * configure: Regenerated.
+ * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
+ vectors when appropriate.
+ * config/te-symbian.h: New file.
+
2004-09-03 Tomer Levi <Tomer.Levi@nsc.com>
* config/tc-crx.c (gettrap): Exception vector can be case
diff --git a/gas/Makefile.am b/gas/Makefile.am
index 50d7cbe..eb8530c 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -402,6 +402,7 @@ TARG_ENV_HFILES = \
config/te-sparcaout.h \
config/te-sun3.h \
config/te-svr4.h \
+ config/te-symbian.h \
config/te-sysv32.h \
config/te-tmips.h
diff --git a/gas/Makefile.in b/gas/Makefile.in
index cba48ec..8ae048a 100644
--- a/gas/Makefile.in
+++ b/gas/Makefile.in
@@ -629,6 +629,7 @@ TARG_ENV_HFILES = \
config/te-sparcaout.h \
config/te-sun3.h \
config/te-svr4.h \
+ config/te-symbian.h \
config/te-sysv32.h \
config/te-tmips.h
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 37cfb51..da447c8 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -14099,6 +14099,11 @@ arm_fix_adjustable (fixP)
const char *
elf32_arm_target_format ()
{
+#ifdef TE_SYMBIAN
+ return (target_big_endian
+ ? "elf32-bigarm-symbian"
+ : "elf32-littlearm-symbian");
+#else
if (target_big_endian)
{
if (target_oabi)
@@ -14113,6 +14118,7 @@ elf32_arm_target_format ()
else
return "elf32-littlearm";
}
+#endif
}
void
diff --git a/gas/config/te-symbian.h b/gas/config/te-symbian.h
new file mode 100644
index 0000000..0522486
--- /dev/null
+++ b/gas/config/te-symbian.h
@@ -0,0 +1,3 @@
+#define TE_SYMBIAN 1
+#include "obj-elf.h"
+
diff --git a/gas/configure b/gas/configure
index f01bd9b..b68fec6 100755
--- a/gas/configure
+++ b/gas/configure
@@ -4245,8 +4245,8 @@ for this_target in $target $canon_targets ; do
arm-*-coff | thumb-*-coff) fmt=coff ;;
arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
arm-*-elf | thumb-*-elf) fmt=elf ;;
- arm*-*-symbianelf* | arm*-*-eabi*)
- fmt=elf ;;
+ arm*-*-eabi*) fmt=elf ;;
+ arm*-*-symbianelf*) fmt=elf em=symbian ;;
arm-*-kaos*) fmt=elf ;;
arm*-*-conix*) fmt=elf ;;
arm-*-linux*aout*) fmt=aout em=linux ;;
diff --git a/gas/configure.in b/gas/configure.in
index 632a8fd..e24d0e4 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -206,8 +206,8 @@ changequote([,])dnl
arm-*-coff | thumb-*-coff) fmt=coff ;;
arm-*-rtems* | thumb-*-rtems*) fmt=elf ;;
arm-*-elf | thumb-*-elf) fmt=elf ;;
- arm*-*-symbianelf* | arm*-*-eabi*)
- fmt=elf ;;
+ arm*-*-eabi*) fmt=elf ;;
+ arm*-*-symbianelf*) fmt=elf em=symbian ;;
arm-*-kaos*) fmt=elf ;;
arm*-*-conix*) fmt=elf ;;
arm-*-linux*aout*) fmt=aout em=linux ;;