From f8b18efd0ce7dfd4ae6a6b696fdb044a6cb23cc3 Mon Sep 17 00:00:00 2001 From: thorpej Date: Thu, 31 Oct 2002 23:21:17 +0000 Subject: [PATCH] xstrdup the return value of basename() before recording it in the bfd with bfd_elf_set_dt_needed_soname(). Fixes the "NEEDED crtend.o" problem reported on tech-toolchain/current-users. Problem spotted by Ryo HAYASAKA . --- gnu/dist/toolchain/ld/emultempl/elf32.em | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/dist/toolchain/ld/emultempl/elf32.em b/gnu/dist/toolchain/ld/emultempl/elf32.em index c0d52b102055..7d4939ec988f 100644 --- a/gnu/dist/toolchain/ld/emultempl/elf32.em +++ b/gnu/dist/toolchain/ld/emultempl/elf32.em @@ -350,7 +350,7 @@ cat >>e${EMULATION_NAME}.c <