* configure.in: Accept "arm*" target spec instead of just "arm".

* configure: Regenerated.
	* libnosys/configure.in: Likewise.
	(libc_symbol_prefix): Renamed to libc_cv_symbol_prefix.
	* libnosys/configure: Regenerated (using autoconf v2.68).
This commit is contained in:
Nick Clifton 2012-03-02 13:20:08 +00:00
parent 3118315f06
commit 2e398e8437
5 changed files with 914 additions and 1038 deletions

View File

@ -1,3 +1,11 @@
2012-03-02 Bin Cheng <bin.cheng@arm.com>
* configure.in: Accept "arm*" target spec instead of just "arm".
* configure: Regenerated.
* libnosys/configure.in: Likewise.
(libc_symbol_prefix): Renamed to libc_cv_symbol_prefix.
* libnosys/configure: Regenerated (using autoconf v2.68).
2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
Alan Lehotsky <apl@alum.mit.edu>
Joern Rennecke <joern.rennecke@embecosm.com>

4
libgloss/configure vendored
View File

@ -2428,7 +2428,7 @@ case "${target}" in
subdirs="$subdirs sparc"
;;
sh*-*-pe | mips*-*-pe | *arm-wince-pe)
sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
subdirs="$subdirs wince"
;;
@ -2524,7 +2524,7 @@ case "${target}" in
subdirs="$subdirs rx"
;;
arm*-*-elf | arm*-*-coff | arm-*-*)
arm*-*-elf | arm*-*-coff | arm*-*-*)
subdirs="$subdirs arm"
;;

View File

@ -62,7 +62,7 @@ case "${target}" in
sparclet-*-aout* | sparc-*-elf* | sparc64-*-elf* | sparc86x-*-* | sparclite-*-*)
AC_CONFIG_SUBDIRS([sparc])
;;
sh*-*-pe | mips*-*-pe | *arm-wince-pe)
sh*-*-pe | mips*-*-pe | *arm*-wince-pe)
AC_CONFIG_SUBDIRS([wince])
;;
mips*-*-*)
@ -134,7 +134,7 @@ case "${target}" in
rx*-*-elf)
AC_CONFIG_SUBDIRS([rx])
;;
arm*-*-elf | arm*-*-coff | arm-*-*)
arm*-*-elf | arm*-*-coff | arm*-*-*)
AC_CONFIG_SUBDIRS([arm])
;;
spu-*-elf)

File diff suppressed because it is too large Load Diff

View File

@ -45,9 +45,7 @@ case "${target}" in
;;
arc-*-*)
;;
arm-*-pe)
;;
arm-*-*)
arm*-*-*)
;;
bfin-*-*)
;;
@ -142,24 +140,24 @@ EOF
;;
esac
AC_CACHE_CHECK([for symbol prefix], libc_symbol_prefix, [dnl
AC_CACHE_CHECK([for symbol prefix], libc_cv_symbol_prefix, [dnl
cat > conftest.c <<\EOF
foo () { }
EOF
dnl
libc_symbol_prefix=none
libc_cv_symbol_prefix=none
if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "\$foo" > /dev/null]);
then
libc_symbol_prefix='$'
libc_cv_symbol_prefix='$'
else
if AC_TRY_COMMAND([${CC-cc} -S conftest.c -o - | fgrep "_foo" > /dev/null]);
then
libc_symbol_prefix=_
libc_cv_symbol_prefix=_
fi
fi
rm -f conftest* ])
if test $libc_symbol_prefix != none; then
AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_symbol_prefix")
if test $libc_cv_symbol_prefix != none; then
AC_DEFINE_UNQUOTED(__SYMBOL_PREFIX, "$libc_cv_symbol_prefix")
else
AC_DEFINE(__SYMBOL_PREFIX, "")
fi