From: Ken Raeburn Date: Mon, 25 Oct 1993 16:35:23 +0000 (+0000) Subject: * ldlang.c (delete_output_file_on_failure): New variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2fe6619ee0a4652642844aef5eb26113b59a0601;p=binutils-gdb.git * ldlang.c (delete_output_file_on_failure): New variable. (open_output): Set it after bfd open succeeds. * ldmisc.c (vfinfo): Test it. Changes from Peter Hoogenboom, hoogen@cs.utah.edu: * ldsym.c (write_file_locals): Set the BSF_FILE flag for object symbols. * ldemul.c: Support was added to allow emulation-specific processing to occur. This support was added primarily for linker stub generation in the elf32-hppa gld. (ldemul_finish, ldemul_create_output_section_statements): New functions. * ldemul.h: Support was added to allow emulation-specific processing to occur. (As described above.) Added finish and create_output_section_statements fields to ld_emulation_xfer_struct structure. * ldlang.c: Add calls to emulation-specific routines. (lang_process): Add call to ldemul_create_output_section_statements function. (lang_process): Add call to a emulation-specific routine (and some processing after the call). --- diff --git a/ld/ChangeLog b/ld/ChangeLog index f63b4440b64..f4e36ed442c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,33 @@ +Mon Oct 25 09:31:21 1993 Ken Raeburn (raeburn@cygnus.com) + + * ldlang.c (delete_output_file_on_failure): New variable. + (open_output): Set it after bfd open succeeds. + * ldmisc.c (vfinfo): Test it. + + Changes from Peter Hoogenboom, hoogen@cs.utah.edu: + + * ldsym.c (write_file_locals): Set the BSF_FILE flag for object + symbols. + + * ldemul.c: Support was added to allow emulation-specific + processing to occur. This support was added primarily for linker + stub generation in the elf32-hppa gld. + (ldemul_finish, ldemul_create_output_section_statements): New + functions. + * ldemul.h: Support was added to allow emulation-specific + processing to occur. (As described above.) Added finish and + create_output_section_statements fields to + ld_emulation_xfer_struct structure. + * ldlang.c: Add calls to emulation-specific routines. + (lang_process): Add call to + ldemul_create_output_section_statements function. + (lang_process): Add call to a emulation-specific routine (and + some processing after the call). + +Fri Oct 22 20:54:13 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com) + + * configure.in: mips*- instead of mips-, mips*el changes + Tue Oct 19 15:46:28 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * configure.in (alpha-*-osf*): New target; use alpha.mt. diff --git a/ld/ldsym.c b/ld/ldsym.c index ed8a246a53c..6b2a3a75fce 100644 --- a/ld/ldsym.c +++ b/ld/ldsym.c @@ -460,7 +460,7 @@ write_file_locals (output_buffer) "used by the linker" and I can't find any other code that uses it. Should be a cleaner way of doing this (like an "application flags" field in the symbol structure?). */ - newsym->flags = BSF_LOCAL | BSF_KEEP_G; + newsym->flags = BSF_LOCAL | BSF_KEEP_G | BSF_FILE; newsym->section = s; *output_buffer++ = newsym; break;