* libelf.h (relocate_section): New argument "output_names" added
authorJeff Law <law@redhat.com>
Mon, 27 Jun 1994 00:17:41 +0000 (00:17 +0000)
committerJeff Law <law@redhat.com>
Mon, 27 Jun 1994 00:17:41 +0000 (00:17 +0000)
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.

bfd/libelf.h

index cc6e4db..0522627 100644 (file)
@@ -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.