aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-06-08 12:27:33 +0000
committerAlan Modra <amodra@gmail.com>2002-06-08 12:27:33 +0000
commit21e152480c079a68a0c6981693be535ddbf21858 (patch)
tree4f6c77b04e166a769ef1e708b3a7dd09c3ef936f
parent796f6cb780b1f5ea80a9973e2012ed804b847cf6 (diff)
downloadgdb-21e152480c079a68a0c6981693be535ddbf21858.zip
gdb-21e152480c079a68a0c6981693be535ddbf21858.tar.gz
gdb-21e152480c079a68a0c6981693be535ddbf21858.tar.bz2
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf64-sh64.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4b3fefc..45340b2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2002-06-08 Alan Modra <amodra@bigpond.net.au>
+ * elf64-sh64.c (sh64_elf64_link_output_symbol_hook): Make static.
+
+2002-06-08 Alan Modra <amodra@bigpond.net.au>
+
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c
index 0918496..ccb87e4 100644
--- a/bfd/elf64-sh64.c
+++ b/bfd/elf64-sh64.c
@@ -139,7 +139,7 @@ static int sh64_elf64_get_symbol_type PARAMS ((Elf_Internal_Sym *, int));
static boolean sh64_elf64_add_symbol_hook
PARAMS ((bfd *, struct bfd_link_info *, const Elf_Internal_Sym *,
const char **, flagword *, asection **, bfd_vma *));
-extern boolean sh64_elf64_link_output_symbol_hook
+static boolean sh64_elf64_link_output_symbol_hook
PARAMS ((bfd *, struct bfd_link_info *, const char *, Elf_Internal_Sym *,
asection *));
static boolean sh64_elf64_fake_sections
@@ -3013,7 +3013,7 @@ sh64_elf64_add_symbol_hook (abfd, info, sym, namep, flagsp, secp, valp)
we don't need to look up and make sure to emit the main symbol for each
DataLabel symbol. */
-boolean
+static boolean
sh64_elf64_link_output_symbol_hook (abfd, info, cname, sym, input_sec)
bfd *abfd ATTRIBUTE_UNUSED;
struct bfd_link_info *info;