From: Andreas Jaeger Date: Fri, 10 Aug 2001 19:29:59 +0000 (+0000) Subject: * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static. X-Git-Tag: cygnus_cvs_20020108_pre~1714 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e1b3bc252a7e9765d9fe70c5da4fb1b1e867928;p=external%2Fbinutils.git * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static. Add prototypes where needed. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca14de9..7544c58 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-08-10 Andreas Jaeger + + * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static. + Add prototypes where needed. + 2001-08-10 H.J. Lu * bfd.c (bfd_sprintf_vma): Fix a typo in the last change. diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c index 7b37d96..ef78421 100644 --- a/bfd/elf64-x86-64.c +++ b/bfd/elf64-x86-64.c @@ -126,6 +126,17 @@ static void elf64_x86_64_info_to_howto PARAMS ((bfd *, arelent *, Elf64_Internal_Rela *)); static struct bfd_link_hash_table *elf64_x86_64_link_hash_table_create PARAMS ((bfd *)); +static boolean elf64_x86_64_elf_object_p PARAMS ((bfd *abfd)); +static boolean elf64_x86_64_check_relocs + PARAMS ((bfd *, struct bfd_link_info *, asection *sec, + const Elf_Internal_Rela *)); +static asection *elf64_x86_64_gc_mark_hook + PARAMS ((bfd *, struct bfd_link_info *, Elf_Internal_Rela *, + struct elf_link_hash_entry *, Elf_Internal_Sym *)); + +static boolean elf64_x86_64_gc_sweep_hook + PARAMS ((bfd *, struct bfd_link_info *, asection *, + const Elf_Internal_Rela *)); static struct bfd_hash_entry *elf64_x86_64_link_hash_newfunc PARAMS ((struct bfd_hash_entry *, struct bfd_hash_table *, const char *)); @@ -331,7 +342,7 @@ elf64_x86_64_link_hash_table_create (abfd) return &ret->root.root; } -boolean +static boolean elf64_x86_64_elf_object_p (abfd) bfd *abfd; {