aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-10 19:29:59 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-10 19:29:59 +0000
commit1e1b3bc252a7e9765d9fe70c5da4fb1b1e867928 (patch)
tree94150ec85bb1594b5842cfc5837daf39c3a092b8 /bfd/elf64-x86-64.c
parentef071f24715e597273c401761439bbeb77796623 (diff)
downloadgdb-1e1b3bc252a7e9765d9fe70c5da4fb1b1e867928.zip
gdb-1e1b3bc252a7e9765d9fe70c5da4fb1b1e867928.tar.gz
gdb-1e1b3bc252a7e9765d9fe70c5da4fb1b1e867928.tar.bz2
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Add prototypes where needed.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c13
1 files changed, 12 insertions, 1 deletions
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;
{