diff options
author | Daniel Jacobowitz <drow@false.org> | 2005-03-16 17:27:17 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2005-03-16 17:27:17 +0000 |
commit | deeaaff8d2dc3199269774f2cc7011083211d776 (patch) | |
tree | 4d3de67009bb547a6e2da47f3df747d35fc7d7ad /gas | |
parent | 36bfbdd3902600b2482e1287ced254d31d91f739 (diff) | |
download | gdb-deeaaff8d2dc3199269774f2cc7011083211d776.zip gdb-deeaaff8d2dc3199269774f2cc7011083211d776.tar.gz gdb-deeaaff8d2dc3199269774f2cc7011083211d776.tar.bz2 |
* configure.tgt: Set emulation for arm-*-eabi*.
* config/tc-arm.c (meabi_flags): Check EABI_DEFAULT.
* config/te-armeabi.h: New file.
* config/te-armlinuxeabi.h (EABI_DEFAULT): Define.
* config/te-symbian.h: Include "te-armeabi.h".
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 8 | ||||
-rw-r--r-- | gas/config/tc-arm.c | 4 | ||||
-rw-r--r-- | gas/config/te-armeabi.h | 8 | ||||
-rw-r--r-- | gas/config/te-armlinuxeabi.h | 1 | ||||
-rw-r--r-- | gas/config/te-symbian.h | 2 | ||||
-rw-r--r-- | gas/configure.tgt | 4 |
6 files changed, 24 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index fb12069..1891d85 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2005-03-16 Daniel Jacobowitz <dan@codesourcery.com> + + * configure.tgt: Set emulation for arm-*-eabi*. + * config/tc-arm.c (meabi_flags): Check EABI_DEFAULT. + * config/te-armeabi.h: New file. + * config/te-armlinuxeabi.h (EABI_DEFAULT): Define. + * config/te-symbian.h: Include "te-armeabi.h". + 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 5cce0a9..17a605d 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -159,7 +159,11 @@ static int march_fpu_opt = -1; static int mfpu_opt = -1; static int mfloat_abi_opt = -1; #ifdef OBJ_ELF +# ifdef EABI_DEFAULT +static int meabi_flags = EABI_DEFAULT; +# else static int meabi_flags = EF_ARM_EABI_UNKNOWN; +# endif #endif /* This array holds the chars that always start a comment. If the diff --git a/gas/config/te-armeabi.h b/gas/config/te-armeabi.h new file mode 100644 index 0000000..7453593 --- /dev/null +++ b/gas/config/te-armeabi.h @@ -0,0 +1,8 @@ +/* The EABI requires the use of VFP. */ +#define FPU_DEFAULT FPU_ARCH_VFP_V2 +#define EABI_DEFAULT EF_ARM_EABI_VER4 + +#define LOCAL_LABELS_DOLLAR 1 +#define LOCAL_LABELS_FB 1 + +#include "obj-format.h" diff --git a/gas/config/te-armlinuxeabi.h b/gas/config/te-armlinuxeabi.h index e6abf01..b3f5f1e 100644 --- a/gas/config/te-armlinuxeabi.h +++ b/gas/config/te-armlinuxeabi.h @@ -2,3 +2,4 @@ /* The EABI requires the use of VFP. */ #define FPU_DEFAULT FPU_ARCH_VFP_V2 +#define EABI_DEFAULT EF_ARM_EABI_VER4 diff --git a/gas/config/te-symbian.h b/gas/config/te-symbian.h index 0522486..e609049 100644 --- a/gas/config/te-symbian.h +++ b/gas/config/te-symbian.h @@ -1,3 +1,3 @@ #define TE_SYMBIAN 1 -#include "obj-elf.h" +#include "te-armeabi.h" diff --git a/gas/configure.tgt b/gas/configure.tgt index 576e14e..f180b52 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -110,12 +110,12 @@ case ${generic_target} in arm-*-coff | thumb-*-coff) fmt=coff ;; arm-*-rtems* | thumb-*-rtems*) fmt=elf ;; arm-*-elf | thumb-*-elf) fmt=elf ;; - arm-*-eabi*) fmt=elf ;; + arm-*-eabi*) fmt=elf em=armeabi ;; arm-*-symbianelf*) fmt=elf em=symbian ;; arm-*-kaos*) fmt=elf ;; arm-*-conix*) fmt=elf ;; arm-*-linux*aout*) fmt=aout em=linux ;; - arm-*-linux-gnueabi*) fmt=elf em=armlinuxeabi ;; + arm-*-linux-gnueabi*) fmt=elf em=armlinuxeabi ;; arm-*-linux-gnu*) fmt=elf em=linux ;; arm-*-uclinux*) fmt=elf em=linux ;; arm-*-netbsdelf*) fmt=elf em=nbsd ;; |