From ff925e69c551bca76b417c3beb9651746ae021b0 Mon Sep 17 00:00:00 2001 From: Kaz Kojima Date: Wed, 16 Feb 2005 05:10:02 +0000 Subject: * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define lib_path if NATIVE is yes. --- ld/ChangeLog | 5 +++++ ld/emultempl/elf32.em | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index 97c7d98..7138eda 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2005-02-16 Kaz Kojima + + * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Define + lib_path if NATIVE is yes. + 2005-02-16 Alan Modra * emultempl/ppc64elf.em (ppc_create_output_section_statements): Make diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 183693e..886c7a4 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -836,9 +836,13 @@ gld${EMULATION_NAME}_after_open (void) size_t len; search_dirs_type *search; EOF -if [ "x${USE_LIBPATH}" = xyes ] ; then +if [ "x${NATIVE}" = xyes ] ; then cat >>e${EMULATION_NAME}.c <>e${EMULATION_NAME}.c <