aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-03-25 06:00:06 +0000
committerAlan Modra <amodra@gmail.com>2013-03-25 06:00:06 +0000
commit5d13b3b31966d19c8cd83b8e4116db437fb820e2 (patch)
tree066f96112d8e2efc7ba97702d60cd1fb2e6eb756 /bfd/elf.c
parent483cf7761dad4eb6e26a6ef45922a14f23ac1613 (diff)
downloadgdb-5d13b3b31966d19c8cd83b8e4116db437fb820e2.zip
gdb-5d13b3b31966d19c8cd83b8e4116db437fb820e2.tar.gz
gdb-5d13b3b31966d19c8cd83b8e4116db437fb820e2.tar.bz2
* elf-bfd.h (struct elf_backend_data <merge_symbol>): Update proto.
(_bfd_elf_init_reloc_shdr): Delete. * elf.c (_bfd_elf_init_reloc_shdr): Make static. * elf64-x86-64.c (elf_x86_64_merge_symbol): Trim parameters to just what is needed. * elflink.c (_bfd_elf_merge_symbol): Update bed->merge_symbol call.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 3ba7e5f..05d492d 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2521,7 +2521,7 @@ _bfd_elf_single_rel_hdr (asection *sec)
USE_RELA_P is TRUE, we use RELA relocations; otherwise, we use REL
relocations. */
-bfd_boolean
+static bfd_boolean
_bfd_elf_init_reloc_shdr (bfd *abfd,
struct bfd_elf_section_reloc_data *reldata,
asection *asect,