2000-01-07 David O'Brien <obrien@BSDi.com>
* emultempl/elf32.em: Only perform Linux ld hints processing when targeting Linux. Approved by: Nick Clifton <nickc@redhat.com> Message-Id: <200101040127.RAA15127@elmo.cygnus.com>
This commit is contained in:
parent
5c2bd011d3
commit
482e8b3206
@ -1,3 +1,8 @@
|
|||||||
|
2000-01-07 David O'Brien <obrien@BSDi.com>
|
||||||
|
|
||||||
|
* emultempl/elf32.em: Only perform Linux ld hints processing when
|
||||||
|
targeting Linux.
|
||||||
|
|
||||||
2001-01-07 Philip Blundell <philb@gnu.org>
|
2001-01-07 Philip Blundell <philb@gnu.org>
|
||||||
|
|
||||||
* ld.texinfo (Bug Reporting): Update email address for reports.
|
* ld.texinfo (Bug Reporting): Update email address for reports.
|
||||||
|
@ -425,11 +425,13 @@ EOF
|
|||||||
if [ "x${host}" = "x${target}" ] ; then
|
if [ "x${host}" = "x${target}" ] ; then
|
||||||
case " ${EMULATION_LIBPATH} " in
|
case " ${EMULATION_LIBPATH} " in
|
||||||
*" ${EMULATION_NAME} "*)
|
*" ${EMULATION_NAME} "*)
|
||||||
|
case ${target} in
|
||||||
|
*-*-linux-gnu*)
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
|
|
||||||
/* For a native linker, check the file /etc/ld.so.conf for directories
|
/* For a native linker, check the file /etc/ld.so.conf for directories
|
||||||
in which we may find shared libraries. /etc/ld.so.conf is really
|
in which we may find shared libraries. /etc/ld.so.conf is really
|
||||||
only meaningful on Linux, but we check it on other systems anyhow. */
|
only meaningful on Linux. */
|
||||||
|
|
||||||
static boolean gld${EMULATION_NAME}_check_ld_so_conf
|
static boolean gld${EMULATION_NAME}_check_ld_so_conf
|
||||||
PARAMS ((const char *, int));
|
PARAMS ((const char *, int));
|
||||||
@ -509,8 +511,10 @@ gld${EMULATION_NAME}_check_ld_so_conf (name, force)
|
|||||||
}
|
}
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
# Linux
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
|
|
||||||
@ -695,10 +699,15 @@ EOF
|
|||||||
if [ "x${host}" = "x${target}" ] ; then
|
if [ "x${host}" = "x${target}" ] ; then
|
||||||
case " ${EMULATION_LIBPATH} " in
|
case " ${EMULATION_LIBPATH} " in
|
||||||
*" ${EMULATION_NAME} "*)
|
*" ${EMULATION_NAME} "*)
|
||||||
|
case ${target} in
|
||||||
|
*-*-linux-gnu*)
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
|
if (gld${EMULATION_NAME}_check_ld_so_conf (l->name, force))
|
||||||
break;
|
break;
|
||||||
EOF
|
EOF
|
||||||
|
# Linux
|
||||||
|
;;
|
||||||
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user