* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after

checking the target type.
	(mips-dec-bsd*): Set endian to little.
	* configure: Rebuild.
This commit is contained in:
Ian Lance Taylor 1998-12-07 03:41:40 +00:00
parent b447de7ace
commit ae6130f111
3 changed files with 194 additions and 183 deletions

View File

@ -1,5 +1,10 @@
Sun Dec 6 12:46:36 1998 Ian Lance Taylor <ian@cygnus.com>
* configure.in: Define TARGET_BYTES_{BIG,LITTLE}_ENDIAN after
checking the target type.
(mips-dec-bsd*): Set endian to little.
* configure: Rebuild.
COFF weak symbol support, based on patches from Mark Elbrecht
<snowball3@usa.net>:
* config/obj-coff.h (S_IS_WEAK): Define if not BFD_ASSEMBLER.

357
gas/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -104,11 +104,6 @@ changequote([,])dnl
if test ${this_target} = $target ; then
target_cpu_type=${cpu_type}
if test x${endian} = xbig; then
AC_DEFINE(TARGET_BYTES_BIG_ENDIAN, 1)
elif test x${endian} = xlittle; then
AC_DEFINE(TARGET_BYTES_BIG_ENDIAN, 0)
fi
elif test ${target_cpu_type} != ${cpu_type} ; then
continue
fi
@ -240,7 +235,7 @@ dnl end-sanitize-beos
# don't change em like *-*-bsd does
mips-dec-netbsd*) fmt=elf endian=little ;;
mips-dec-openbsd*) fmt=elf endian=little ;;
mips-dec-bsd*) fmt=aout ;;
mips-dec-bsd*) fmt=aout endian=little ;;
mips-sony-bsd*) fmt=ecoff ;;
mips-*-bsd*) AC_MSG_ERROR(Unknown vendor for mips-bsd configuration.) ;;
mips-*-ultrix*) fmt=ecoff endian=little ;;
@ -341,6 +336,14 @@ dnl end-sanitize-beos
*-*-netware) fmt=elf ;;
esac
if test ${this_target} = $target ; then
if test x${endian} = xbig; then
AC_DEFINE(TARGET_BYTES_BIG_ENDIAN, 1)
elif test x${endian} = xlittle; then
AC_DEFINE(TARGET_BYTES_BIG_ENDIAN, 0)
fi
fi
case ${cpu_type}-${fmt} in
alpha*-*) bfd_gas=yes ;;
arm-*) bfd_gas=yes ;;