From: David O'Brien Date: Tue, 10 Jul 2001 00:38:16 +0000 (+0000) Subject: 2001-07-09 David O'Brien X-Git-Tag: gdb_5_1-2001-07-29-branchpoint~246 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c2a1a436ff678160c25ed50f07f3a5f122e044d2;p=thirdparty%2Fbinutils-gdb.git 2001-07-09 David O'Brien * emultempl/elf32.em: Do not assuming that contents of the buffer returned from basename function will remain unchanged accross other function calls. NOTE: DJ Delorie recomends doing a basename()->lbasename() conversion. Approved by: DJ Delorie <200107100030.UAA01223@envy.delorie.com> --- diff --git a/ld/ChangeLog b/ld/ChangeLog index 096d1fefc70..997b6f25b05 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,9 @@ +2001-07-09 David O'Brien + + * emultempl/elf32.em: Do not assuming that contents of the buffer + returned from basename function will remain unchanged accross other + function calls. + 2001-07-03 H.J. Lu * scripttempl/elf.sc (DYNAMIC_PAD): Revert the change made on diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 4e31b227fb7..a3e08c11982 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -360,6 +360,9 @@ cat >>e${EMULATION_NAME}.c <filename); + /* Tell the ELF backend that the output file needs a DT_NEEDED entry for this file if it is used to resolve the reference in a regular object. */