* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
lib_path if NATIVE is yes.
This commit is contained in:
parent
ddc07134b8
commit
ff925e69c5
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-02-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
|
||||||
|
|
||||||
|
* emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define
|
||||||
|
lib_path if NATIVE is yes.
|
||||||
|
|
||||||
2005-02-16 Alan Modra <amodra@bigpond.net.au>
|
2005-02-16 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
|
* emultempl/ppc64elf.em (ppc_create_output_section_statements): Make
|
||||||
|
|
|
@ -836,9 +836,13 @@ gld${EMULATION_NAME}_after_open (void)
|
||||||
size_t len;
|
size_t len;
|
||||||
search_dirs_type *search;
|
search_dirs_type *search;
|
||||||
EOF
|
EOF
|
||||||
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
if [ "x${NATIVE}" = xyes ] ; then
|
||||||
cat >>e${EMULATION_NAME}.c <<EOF
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
const char *lib_path;
|
const char *lib_path;
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
if [ "x${USE_LIBPATH}" = xyes ] ; then
|
||||||
|
cat >>e${EMULATION_NAME}.c <<EOF
|
||||||
struct bfd_link_needed_list *rp;
|
struct bfd_link_needed_list *rp;
|
||||||
int found;
|
int found;
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue