mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-11 18:13:04 +00: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:
@@ -1,3 +1,9 @@
|
|||||||
|
2003-05-06 Alexandre Oliva <aoliva@redhat.com>
|
||||||
|
|
||||||
|
* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.
|
||||||
|
* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it.
|
||||||
|
* config.in, configure: Rebuilt.
|
||||||
|
|
||||||
2003-05-05 H.J. Lu <hjl@gnu.org>
|
2003-05-05 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* config/tc-mips.c (tc_gen_reloc): Add addend just once if
|
* config/tc-mips.c (tc_gen_reloc): Add addend just once if
|
||||||
|
|||||||
@@ -172,6 +172,9 @@
|
|||||||
/* Generate 64-bit code by default on MIPS targets. */
|
/* Generate 64-bit code by default on MIPS targets. */
|
||||||
#undef MIPS_DEFAULT_64BIT
|
#undef MIPS_DEFAULT_64BIT
|
||||||
|
|
||||||
|
/* Choose a default ABI for MIPS targets. */
|
||||||
|
#undef MIPS_DEFAULT_ABI
|
||||||
|
|
||||||
/* Default architecture. */
|
/* Default architecture. */
|
||||||
#undef DEFAULT_ARCH
|
#undef DEFAULT_ARCH
|
||||||
|
|
||||||
|
|||||||
@@ -11225,6 +11225,9 @@ mips_after_parse_args ()
|
|||||||
g_switch_value = 0;
|
g_switch_value = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (mips_abi == NO_ABI)
|
||||||
|
mips_abi = MIPS_DEFAULT_ABI;
|
||||||
|
|
||||||
/* The following code determines the architecture and register size.
|
/* The following code determines the architecture and register size.
|
||||||
Similar code was added to GCC 3.3 (see override_options() in
|
Similar code was added to GCC 3.3 (see override_options() in
|
||||||
config/mips/mips.c). The GAS and GCC code should be kept in sync
|
config/mips/mips.c). The GAS and GCC code should be kept in sync
|
||||||
|
|||||||
546
gas/configure
vendored
546
gas/configure
vendored
File diff suppressed because it is too large
Load Diff
@@ -580,12 +580,26 @@ changequote([,])dnl
|
|||||||
mips_default_64bit=0
|
mips_default_64bit=0
|
||||||
;;
|
;;
|
||||||
esac
|
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",
|
AC_DEFINE_UNQUOTED(MIPS_CPU_STRING_DEFAULT, "$mips_cpu",
|
||||||
[Default CPU for MIPS targets. ])
|
[Default CPU for MIPS targets. ])
|
||||||
AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32,
|
AC_DEFINE_UNQUOTED(USE_E_MIPS_ABI_O32, $use_e_mips_abi_o32,
|
||||||
[Allow use of E_MIPS_ABI_O32 on MIPS targets. ])
|
[Allow use of E_MIPS_ABI_O32 on MIPS targets. ])
|
||||||
AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit,
|
AC_DEFINE_UNQUOTED(MIPS_DEFAULT_64BIT, $mips_default_64bit,
|
||||||
[Generate 64-bit code by default on MIPS targets. ])
|
[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
|
esac
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user