This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Some prototype fixes for bfd/*
- To: binutils at sources dot redhat dot com
- Subject: Some prototype fixes for bfd/*
- From: Andreas Jaeger <aj at suse dot de>
- Date: Fri, 10 Aug 2001 21:31:51 +0200
Alan, here's my small contribution. ;-)
Ok to commit?
I've tested compilation with "--enable-targets=all --enable-64-bit-bfd",
Andreas
2001-08-10 Andreas Jaeger <aj@suse.de>
* elf64-hppa.c: Add missing prototypes.
* elf64-s390.c: Likewise.
============================================================
Index: bfd/elf64-hppa.c
--- bfd/elf64-hppa.c 2001/06/03 02:41:58 1.13
+++ bfd/elf64-hppa.c 2001/08/10 19:31:25
@@ -198,9 +198,17 @@
static boolean elf64_hppa_size_dynamic_sections
PARAMS ((bfd *, struct bfd_link_info *));
+static boolean elf64_hppa_link_output_symbol_hook
+PARAMS ((bfd *abfd, struct bfd_link_info *, const char *,
+ Elf_Internal_Sym *, asection *input_sec));
+
static boolean elf64_hppa_finish_dynamic_symbol
PARAMS ((bfd *, struct bfd_link_info *,
struct elf_link_hash_entry *, Elf_Internal_Sym *));
+
+static int elf64_hppa_additional_program_headers PARAMS ((bfd *));
+
+static boolean elf64_hppa_modify_segment_map PARAMS ((bfd *));
static boolean elf64_hppa_finish_dynamic_sections
PARAMS ((bfd *, struct bfd_link_info *));
============================================================
Index: bfd/elf64-s390.c
--- bfd/elf64-s390.c 2001/03/08 21:04:00 1.2
+++ bfd/elf64-s390.c 2001/08/10 19:31:27
@@ -37,6 +37,12 @@
static boolean elf_s390_check_relocs
PARAMS ((bfd *, struct bfd_link_info *, asection *,
const Elf_Internal_Rela *));
+static asection *elf_s390_gc_mark_hook
+ PARAMS ((bfd *, struct bfd_link_info *, Elf_Internal_Rela *,
+ struct elf_link_hash_entry *, Elf_Internal_Sym *));
+static boolean elf_s390_gc_sweep_hook
+ PARAMS ((bfd *, struct bfd_link_info *, asection *,
+ const Elf_Internal_Rela *));
static boolean elf_s390_adjust_dynamic_symbol
PARAMS ((struct bfd_link_info *, struct elf_link_hash_entry *));
static boolean elf_s390_size_dynamic_sections
@@ -49,6 +55,7 @@
Elf_Internal_Sym *));
static boolean elf_s390_finish_dynamic_sections
PARAMS ((bfd *, struct bfd_link_info *));
+static boolean elf_s390_object_p PARAMS ((bfd *));
#define USE_RELA 1 /* We want RELA relocations, not REL. */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj