Add a match for arm*--netbsdelf-eabi* and default that EABI with a VFP FPU
and ARCH_ARM_V5TEJ cpu.
This commit is contained in:
parent
a34eb5c25e
commit
5b98504a16
25
external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h
vendored
Normal file
25
external/gpl3/binutils/dist/gas/config/te-armnetbsdeabi.h
vendored
Normal file
@ -0,0 +1,25 @@
|
||||
/* Copyright 2004, 2005, 2007, 2009 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-netbsd.h"
|
||||
|
||||
/* The EABI requires the use of VFP. */
|
||||
#define CPU_DEFAULT ARM_ARCH_V5TEJ
|
||||
#define FPU_DEFAULT FPU_ARCH_VFP
|
||||
#define EABI_DEFAULT EF_ARM_EABI_VER5
|
@ -118,6 +118,7 @@ case ${generic_target} in
|
||||
arm-*-linux-*) fmt=elf em=linux ;;
|
||||
arm-*-uclinux*eabi*) fmt=elf em=armlinuxeabi ;;
|
||||
arm-*-uclinux*) fmt=elf em=linux ;;
|
||||
arm-*-netbsdelf-*eabi*) fmt=elf em=armnetbsdeabi ;;
|
||||
arm-*-netbsdelf*) fmt=elf em=nbsd ;;
|
||||
arm-*-*n*bsd*) fmt=aout em=nbsd ;;
|
||||
arm-*-nto*) fmt=elf ;;
|
||||
|
Loading…
Reference in New Issue
Block a user