aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf64-x86-64.c13
2 files changed, 17 insertions, 1 deletions
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 <aj@suse.de>
+
+ * elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
+ Add prototypes where needed.
+
2001-08-10 H.J. Lu <hjl@gnu.org>
* 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;
{