summaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-03-25 06:00:06 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-03-25 06:00:06 +0000
commit3af10bda37f027413b31561ef063165d1b416920 (patch)
tree5dd1e4c82bd81c01859b9a574402a3d69c86471c /bfd/elf.c
parentd7f3b78e654fd97148e6f2eceb0a1827266e282c (diff)
downloadgdb-3af10bda37f027413b31561ef063165d1b416920.tar.gz
* 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 3ba7e5f11ab..05d492db080 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,