mirror of git://sourceware.org/git/glibc.git
Support for pre-BFD versions of Linux ld.
This commit is contained in:
parent
1076fc3f18
commit
a026e6951d
|
|
@ -300,6 +300,13 @@ EOF
|
||||||
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
echo `echo ${UNAME_MACHINE}|sed -e 's,/.*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'`
|
||||||
exit 0 ;;
|
exit 0 ;;
|
||||||
*:Linux:*:*)
|
*:Linux:*:*)
|
||||||
|
# Systems without a BFD linker
|
||||||
|
if test -d /usr/lib/ldscripts/. ; then
|
||||||
|
:
|
||||||
|
else
|
||||||
|
echo "${UNAME_MACHINE}-unknown-linuxoldld"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
# Determine whether the default compiler is a.out or elf
|
# Determine whether the default compiler is a.out or elf
|
||||||
cat >dummy.c <<EOF
|
cat >dummy.c <<EOF
|
||||||
main(argc, argv)
|
main(argc, argv)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue