* configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
that autoheader doesn't duplicate config.in entries. (DEFAULT_ARCH): Ditto. * configure: Regenerate. * config.in: Regenerate.
This commit is contained in:
parent
3f1c8673e3
commit
c1e4eef7ce
|
@ -1,3 +1,11 @@
|
||||||
|
2001-10-17 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* configure.in (MIPS_STABS_ELF): AC_DEFINE in only one place so
|
||||||
|
that autoheader doesn't duplicate config.in entries.
|
||||||
|
(DEFAULT_ARCH): Ditto.
|
||||||
|
* configure: Regenerate.
|
||||||
|
* config.in: Regenerate.
|
||||||
|
|
||||||
2001-10-16 Alan Modra <amodra@bigpond.net.au>
|
2001-10-16 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
From Andrew Pines <apines@cosmodog.com>
|
From Andrew Pines <apines@cosmodog.com>
|
||||||
|
|
|
@ -154,20 +154,14 @@
|
||||||
/* Using strict COFF? */
|
/* Using strict COFF? */
|
||||||
#undef STRICTCOFF
|
#undef STRICTCOFF
|
||||||
|
|
||||||
/* Use ELF stabs for MIPS, not ECOFF stabs */
|
|
||||||
#undef MIPS_STABS_ELF
|
|
||||||
|
|
||||||
/* Define if default target is PowerPC Solaris. */
|
/* Define if default target is PowerPC Solaris. */
|
||||||
#undef TARGET_SOLARIS_COMMENT
|
#undef TARGET_SOLARIS_COMMENT
|
||||||
|
|
||||||
/* Define as 1 if big endian. */
|
/* Define as 1 if big endian. */
|
||||||
#undef TARGET_BYTES_BIG_ENDIAN
|
#undef TARGET_BYTES_BIG_ENDIAN
|
||||||
|
|
||||||
/* Default architecture. */
|
/* Use ELF stabs for MIPS, not ECOFF stabs */
|
||||||
#undef DEFAULT_ARCH
|
#undef MIPS_STABS_ELF
|
||||||
|
|
||||||
/* Default architecture. */
|
|
||||||
#undef DEFAULT_ARCH
|
|
||||||
|
|
||||||
/* Default architecture. */
|
/* Default architecture. */
|
||||||
#undef DEFAULT_ARCH
|
#undef DEFAULT_ARCH
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -164,6 +164,7 @@ changequote([,])dnl
|
||||||
dev=no
|
dev=no
|
||||||
bfd_gas=no
|
bfd_gas=no
|
||||||
em=generic
|
em=generic
|
||||||
|
mips_stabs_elf=
|
||||||
|
|
||||||
# assign object format
|
# assign object format
|
||||||
case ${generic_target} in
|
case ${generic_target} in
|
||||||
|
@ -351,20 +352,13 @@ changequote([,])dnl
|
||||||
mips-*-irix*) fmt=ecoff ;;
|
mips-*-irix*) fmt=ecoff ;;
|
||||||
mips-*-lnews*) fmt=ecoff em=lnews ;;
|
mips-*-lnews*) fmt=ecoff em=lnews ;;
|
||||||
mips-*-riscos*) fmt=ecoff ;;
|
mips-*-riscos*) fmt=ecoff ;;
|
||||||
mips*-*-linux*)
|
mips*-*-linux*) fmt=elf em=tmips mips_stabs_elf=y ;;
|
||||||
fmt=elf em=tmips
|
|
||||||
AC_DEFINE(MIPS_STABS_ELF, 1,
|
|
||||||
[Use ELF stabs for MIPS, not ECOFF stabs])
|
|
||||||
;;
|
|
||||||
mips-*-sysv4*MP* | mips-*-gnu*)
|
mips-*-sysv4*MP* | mips-*-gnu*)
|
||||||
fmt=elf em=tmips ;;
|
fmt=elf em=tmips ;;
|
||||||
mips-*-sysv*) fmt=ecoff ;;
|
mips-*-sysv*) fmt=ecoff ;;
|
||||||
mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
|
mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
|
||||||
fmt=elf ;;
|
fmt=elf ;;
|
||||||
mips-*-vxworks*) fmt=elf
|
mips-*-vxworks*) fmt=elf mips_stabs_elf=y ;;
|
||||||
AC_DEFINE(MIPS_STABS_ELF, 1,
|
|
||||||
[Use ELF stabs for MIPS, not ECOFF stabs])
|
|
||||||
;;
|
|
||||||
mn10200-*-*) fmt=elf bfd_gas=yes ;;
|
mn10200-*-*) fmt=elf bfd_gas=yes ;;
|
||||||
mn10300-*-*) fmt=elf bfd_gas=yes ;;
|
mn10300-*-*) fmt=elf bfd_gas=yes ;;
|
||||||
openrisc-*-*) fmt=elf bfd_gas=yes ;;
|
openrisc-*-*) fmt=elf bfd_gas=yes ;;
|
||||||
|
@ -489,6 +483,11 @@ changequote([,])dnl
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x${mips_stabs_elf} != x; then
|
||||||
|
AC_DEFINE(MIPS_STABS_ELF, 1,
|
||||||
|
[Use ELF stabs for MIPS, not ECOFF stabs])
|
||||||
|
fi
|
||||||
|
|
||||||
case ${cpu_type}-${fmt} in
|
case ${cpu_type}-${fmt} in
|
||||||
alpha*-*) bfd_gas=yes ;;
|
alpha*-*) bfd_gas=yes ;;
|
||||||
arm-*) bfd_gas=yes ;;
|
arm-*) bfd_gas=yes ;;
|
||||||
|
@ -547,12 +546,6 @@ changequote([,])dnl
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
||||||
s390)
|
|
||||||
if test $this_target = $target ; then
|
|
||||||
AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
|
|
||||||
mips)
|
mips)
|
||||||
echo ${extra_objects} | grep -s "itbl-parse.o"
|
echo ${extra_objects} | grep -s "itbl-parse.o"
|
||||||
if test $? -ne 0 ; then
|
if test $? -ne 0 ; then
|
||||||
|
@ -570,12 +563,7 @@ changequote([,])dnl
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
i386)
|
i386 | s390 | sparc)
|
||||||
if test $this_target = $target ; then
|
|
||||||
AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
sparc)
|
|
||||||
if test $this_target = $target ; then
|
if test $this_target = $target ; then
|
||||||
AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
|
AC_DEFINE_UNQUOTED(DEFAULT_ARCH, "${arch}", [Default architecture.])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue