aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.tgt
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2014-08-19 15:51:43 +0100
committerNick Clifton <nickc@redhat.com>2014-08-19 15:51:43 +0100
commitf7f2534e71f51f11f9f00f6365d5d8f37e6df054 (patch)
tree466900f55a6612609d1bc55d2873aa727cb0b077 /gas/configure.tgt
parent9ace48f3d7d80ce09c5df60cccb433470410b11b (diff)
downloadgdb-f7f2534e71f51f11f9f00f6365d5d8f37e6df054.zip
gdb-f7f2534e71f51f11f9f00f6365d5d8f37e6df054.tar.gz
gdb-f7f2534e71f51f11f9f00f6365d5d8f37e6df054.tar.bz2
This patch adds support for FreeBSD ARM in gas.
Before FreeBSD-8 there was/is no arm support from the OS side. FreeBSD-9.x added ARM support but only for the OABI. From FreeBSD-10 upwards there is EABI support. * Makefile.am: Add FreeBSD ARM support. * Mafefile.in: Regenerate. * configure.tgt: Add FreeBSD ARM support. * config/te-armfbsdeabi.h: New file. * config/te-armfbsdvfp.h: Likewise.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt4
1 files changed, 4 insertions, 0 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 9319d33..4b78908 100644
--- a/gas/configure.tgt
+++ b/gas/configure.tgt
@@ -138,6 +138,10 @@ case ${generic_target} in
arm-*-symbianelf*) fmt=elf em=symbian ;;
arm-*-kaos*) fmt=elf ;;
arm-*-conix*) fmt=elf ;;
+ arm-*-freebsd[89].* | armeb-*-freebsd[89].*)
+ fmt=elf em=freebsd ;;
+ arm-*-freebsd* | armeb-*-freebsd*) fmt=elf em=armfbsdeabi ;;
+ arm*-*-freebsd*) fmt=elf em=armfbsdvfp ;;
arm-*-linux*aout*) fmt=aout em=linux ;;
arm-*-linux-*eabi*) fmt=elf em=armlinuxeabi ;;
arm-*-linux-*) fmt=elf em=linux ;;