mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 08:24:05 +08:00
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2005-07-04 Aurelien Jarno <aurel32@debian.org>
|
||||||
|
|
||||||
|
* emultempl/elf32.em: Enable use of ld.so.conf for *-*-k*bsd-*.
|
||||||
|
|
||||||
2005-07-01 Alan Modra <amodra@bigpond.net.au>
|
2005-07-01 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
|
* scripttempl/elf.sc (.gcc_except_table): Don't KEEP.
|
||||||
|
@ -69,7 +69,7 @@ EOF
|
|||||||
|
|
||||||
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
||||||
case ${target} in
|
case ${target} in
|
||||||
*-*-linux-*)
|
*-*-linux-* | *-*-k*bsd*-*)
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
#ifdef HAVE_GLOB
|
#ifdef HAVE_GLOB
|
||||||
#include <glob.h>
|
#include <glob.h>
|
||||||
@ -354,7 +354,7 @@ gld${EMULATION_NAME}_try_needed (struct dt_needed *needed,
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
case ${target} in
|
case ${target} in
|
||||||
*-*-linux-*)
|
*-*-linux-* | *-*-k*bsd*-*)
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
{
|
{
|
||||||
struct bfd_link_needed_list *l;
|
struct bfd_link_needed_list *l;
|
||||||
@ -526,7 +526,7 @@ gld${EMULATION_NAME}_add_sysroot (const char *path)
|
|||||||
|
|
||||||
EOF
|
EOF
|
||||||
case ${target} in
|
case ${target} in
|
||||||
*-*-linux-*)
|
*-*-linux-* | *-*-k*bsd*-*)
|
||||||
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
|
||||||
@ -936,7 +936,7 @@ cat >>e${EMULATION_NAME}.c <<EOF
|
|||||||
EOF
|
EOF
|
||||||
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
||||||
case ${target} in
|
case ${target} in
|
||||||
*-*-linux-*)
|
*-*-linux-* | *-*-k*bsd*-*)
|
||||||
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;
|
||||||
|
Reference in New Issue
Block a user