* 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> 2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>
Alan Lehotsky <apl@alum.mit.edu> Alan Lehotsky <apl@alum.mit.edu>
Joern Rennecke <joern.rennecke@embecosm.com> Joern Rennecke <joern.rennecke@embecosm.com>

4
libgloss/configure vendored
View File

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

View File

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

File diff suppressed because it is too large Load Diff

View File

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