From: Jeff Law Date: Mon, 27 Jun 1994 00:17:41 +0000 (+0000) Subject: * libelf.h (relocate_section): New argument "output_names" added X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6dde66d5693b9e45ebf7c1bdd98baf807bbb4708;p=binutils-gdb.git * libelf.h (relocate_section): New argument "output_names" added to prototype. * elfcode.h (elf_link_input_bfd): New argument "output_names" added to prototype of relocate_section. Pass the output symbol names to relocate_section. * elf32-i386.c (elf_i386_relocate_section): Use "output_names" to determine the name of a local symbol. * elf32-mips.c (mips_elf_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. --- diff --git a/bfd/libelf.h b/bfd/libelf.h index cc6e4db5e30..05226272b07 100644 --- a/bfd/libelf.h +++ b/bfd/libelf.h @@ -327,7 +327,7 @@ struct elf_backend_data PARAMS ((bfd *output_bfd, struct bfd_link_info *info, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *relocs, Elf_Internal_Sym *local_syms, - asection **local_sections)); + asection **local_sections, char *output_names)); /* The FINISH_DYNAMIC_SYMBOL function is called by the ELF backend linker just before it writes a symbol out to the .dynsym section.