diff options
author | Andreas Jaeger <aj@suse.de> | 2001-08-10 19:29:59 +0000 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2001-08-10 19:29:59 +0000 |
commit | 93d94243e7ffd2ac2e77b5101302619880942376 (patch) | |
tree | fbec75427b1e71edf86dc779c2c6042f6a9e041f /bfd | |
parent | 98a839803d6a236b3fa2d3c48ada77ae47bb77af (diff) | |
download | gdb-93d94243e7ffd2ac2e77b5101302619880942376.tar.gz |
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Make static.
Add prototypes where needed.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf64-x86-64.c | 13 |
2 files changed, 17 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ca14de9b141..7544c582ed0 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 7b37d964433..ef7842145b1 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; { |