diff options
author | Ken Raeburn <raeburn@cygnus> | 1993-10-25 16:35:23 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1993-10-25 16:35:23 +0000 |
commit | 2fe6619ee0a4652642844aef5eb26113b59a0601 (patch) | |
tree | 305d16f4e5930e37a1b8aaf39eb8c0690551283c /ld/ldsym.c | |
parent | 60d7eacecb7b69647068bc9b8f327dbdd36d9d94 (diff) | |
download | gdb-2fe6619ee0a4652642844aef5eb26113b59a0601.zip gdb-2fe6619ee0a4652642844aef5eb26113b59a0601.tar.gz gdb-2fe6619ee0a4652642844aef5eb26113b59a0601.tar.bz2 |
* 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).
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r-- | ld/ldsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |