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.
+2014-08-19 Andreas Tobler <andreast@fgznet.ch>
+
+ * 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.
+
2014-08-19 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
config/te-386bsd.h \
config/te-aix5.h \
config/te-armeabi.h \
+ config/te-armfbsddeabi.h \
+ config/te-armfbsdvfp.h \
config/te-armlinuxeabi.h \
config/te-dynix.h \
config/te-epoc-pe.h \
config/te-386bsd.h \
config/te-aix5.h \
config/te-armeabi.h \
+ config/te-armfbsddeabi.h \
+ config/te-armfbsdvfp.h \
config/te-armlinuxeabi.h \
config/te-dynix.h \
config/te-epoc-pe.h \
--- /dev/null
+/* Copyright (C) 2004-2014 Free Software Foundation, Inc.
+
+ This file is part of GAS, the GNU Assembler.
+
+ GAS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 3,
+ or (at your option) any later version.
+
+ GAS is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
+ the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GAS; see the file COPYING. If not, write to the Free
+ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
+#include "te-freebsd.h"
+
+#define EABI_DEFAULT EF_ARM_EABI_VER5
--- /dev/null
+/* Copyright (C) 2004-2014 Free Software Foundation, Inc.
+
+ This file is part of GAS, the GNU Assembler.
+
+ GAS is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as
+ published by the Free Software Foundation; either version 3,
+ or (at your option) any later version.
+
+ GAS is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
+ the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GAS; see the file COPYING. If not, write to the Free
+ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
+ 02110-1301, USA. */
+
+#include "te-armfbsdeabi.h"
+
+#define FPU_DEFAULT FPU_ARCH_VFP
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 ;;