mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 23:32:21 +08:00
* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it. * config.in, configure: Rebuilt.
This commit is contained in:
@ -580,12 +580,26 @@ changequote([,])dnl
|
||||
mips_default_64bit=0
|
||||
;;
|
||||
esac
|
||||
# Decide which ABI to target by default.
|
||||
case ${target} in
|
||||
mips64*-linux* | mips-sgi-irix6*)
|
||||
mips_default_abi=N32_ABI
|
||||
;;
|
||||
mips*-linux*)
|
||||
mips_default_abi=O32_ABI
|
||||
;;
|
||||
*)
|
||||
mips_default_abi=NO_ABI
|
||||
;;
|
||||
esac
|
||||
AC_DEFINE_UNQUOTED(MIPS_CPU_STRING_DEFAULT, "$mips_cpu",
|
||||
[Default CPU for MIPS targets. ])
|
||||
AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32,
|
||||
[Allow use of E_MIPS_ABI_O32 on MIPS targets. ])
|
||||
AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit,
|
||||
[Generate 64-bit code by default on MIPS targets. ])
|
||||
AC_DEFINE_UNQUOTED(MIPS_DEFAULT_ABI, $mips_default_abi,
|
||||
[Choose a default ABI for MIPS targets. ])
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Reference in New Issue
Block a user