diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2006-03-02 08:52:49 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2006-03-02 08:52:49 +0000 |
commit | 9c72ff844367747afa20bb9002c47afb605029a3 (patch) | |
tree | ad58fb0b3ee2eeb930edcda28a55bb998a8f9220 /bfd/elf32-ppc.c | |
parent | 4a3dc54359e79df0cb556cd5b4ab5c1bc91019b5 (diff) | |
download | gdb-9c72ff844367747afa20bb9002c47afb605029a3.zip gdb-9c72ff844367747afa20bb9002c47afb605029a3.tar.gz gdb-9c72ff844367747afa20bb9002c47afb605029a3.tar.bz2 |
bfd/
* elf32-i386.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
(elf_backend_link_output_symbol_hook): Use
elf_vxworks_link_output_symbol_hook instead.
* elf32-ppc.c (elf_i386_vxworks_link_output_symbol_hook): Delete.
(elf_backend_link_output_symbol_hook): Use
elf_vxworks_link_output_symbol_hook instead.
* elf-vxworks.c (elf_vxworks_link_output_symbol_hook): Provide the
same interface as elf_backend_link_output_symbol_hook.
* elf-vxworks.h (elf_vxworks_link_output_symbol_hook): Update
prototype accordingly.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 9520755..353f288 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -7558,23 +7558,6 @@ ppc_elf_vxworks_add_symbol_hook (bfd *abfd, return ppc_elf_add_symbol_hook(abfd, info, sym,namep, flagsp, secp, valp); } -/* Tweak magic VxWorks symbols as they are written to the output file. */ -static bfd_boolean -elf_i386_vxworks_link_output_symbol_hook (struct bfd_link_info *info - ATTRIBUTE_UNUSED, - const char *name, - Elf_Internal_Sym *sym, - asection *input_sec ATTRIBUTE_UNUSED, - struct elf_link_hash_entry *h - ATTRIBUTE_UNUSED) -{ - /* Ignore the first dummy symbol. */ - if (!name) - return TRUE; - - return elf_vxworks_link_output_symbol_hook (name, sym); -} - static void ppc_elf_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker) { @@ -7605,7 +7588,7 @@ ppc_elf_vxworks_final_write_processing (bfd *abfd, bfd_boolean linker) ppc_elf_vxworks_add_symbol_hook #undef elf_backend_link_output_symbol_hook #define elf_backend_link_output_symbol_hook \ - elf_i386_vxworks_link_output_symbol_hook + elf_vxworks_link_output_symbol_hook #undef elf_backend_final_write_processing #define elf_backend_final_write_processing \ ppc_elf_vxworks_final_write_processing |