aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-08-21 08:40:23 +0000
committerAndreas Jaeger <aj@suse.de>2001-08-21 08:40:23 +0000
commit5a65713f64ae0629f9b2255d72e8f52fefa13d68 (patch)
tree4880730b1dd35ac4bc2331701d7968d39e6b9468
parenta37b3cc06e2418058e6f3a5dee58957649938d0f (diff)
downloadgdb-5a65713f64ae0629f9b2255d72e8f52fefa13d68.zip
gdb-5a65713f64ae0629f9b2255d72e8f52fefa13d68.tar.gz
gdb-5a65713f64ae0629f9b2255d72e8f52fefa13d68.tar.bz2
* coff-sparc.c: Add missing prototypes.
* elf32-s390.c: Likewise. * elf32-i960.c: Likewise. * aout-target.h: Likewise.
-rw-r--r--bfd/ChangeLog9
-rw-r--r--bfd/aout-target.h2
-rw-r--r--bfd/coff-sparc.c7
-rw-r--r--bfd/elf32-i960.c6
-rw-r--r--bfd/elf32-s390.c7
5 files changed, 28 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 2902efa..d2508ef 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,10 @@
+2001-08-20 Andreas Jaeger <aj@suse.de>
+
+ * coff-sparc.c: Add missing prototypes.
+ * elf32-s390.c: Likewise.
+ * elf32-i960.c: Likewise.
+ * aout-target.h: Likewise.
+
2001-08-20 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (elf_obj_tdata): Add num_section_syms.
@@ -124,7 +131,7 @@
(do_as_repeat): Write out ieee_set_current_pc_enum value as for
do_with_relocs, ie. as a symbol for relocatable files.
(ieee_vec): Add comments showing functions referenced by macros.
-
+
2001-08-14 Nick Clifton <nickc@cambridge.redhat.com>
* aout-tic30.c: Add missing prototypes. Fix formatting.
diff --git a/bfd/aout-target.h b/bfd/aout-target.h
index 2d1e289..6cf185a 100644
--- a/bfd/aout-target.h
+++ b/bfd/aout-target.h
@@ -250,6 +250,8 @@ MY_bfd_copy_private_section_data (ibfd, isec, obfd, osec)
file header, symbols, and relocation. */
#ifndef MY_write_object_contents
+static boolean MY(write_object_contents) PARAMS ((bfd *));
+
static boolean
MY(write_object_contents) (abfd)
bfd *abfd;
diff --git a/bfd/coff-sparc.c b/bfd/coff-sparc.c
index 0f592de..fb12fc1 100644
--- a/bfd/coff-sparc.c
+++ b/bfd/coff-sparc.c
@@ -1,5 +1,5 @@
/* BFD back-end for Sparc COFF files.
- Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000
+ Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1999, 2000, 2001
Free Software Foundation, Inc.
Written by Cygnus Support.
@@ -33,6 +33,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* The page size is a guess based on ELF. */
#define COFF_PAGE_SIZE 0x10000
+
+static reloc_howto_type *coff_sparc_reloc_type_lookup
+ PARAMS ((bfd *, bfd_reloc_code_real_type));
+static void rtype2howto PARAMS ((arelent *, struct internal_reloc *));
+
enum reloc_type
{
R_SPARC_NONE = 0,
diff --git a/bfd/elf32-i960.c b/bfd/elf32-i960.c
index 2cab7c0..fcaea20 100644
--- a/bfd/elf32-i960.c
+++ b/bfd/elf32-i960.c
@@ -1,5 +1,5 @@
/* Intel 860 specific support for 32-bit ELF
- Copyright 1999, 2000 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -27,6 +27,10 @@ static bfd_reloc_status_type elf32_i960_relocate
PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
static reloc_howto_type *elf32_i960_reloc_type_lookup
PARAMS ((bfd *, bfd_reloc_code_real_type));
+static void elf32_i960_info_to_howto
+ PARAMS ((bfd *, arelent *cache_ptr, Elf32_Internal_Rela *));
+static void elf32_i960_info_to_howto_rel
+ PARAMS ((bfd *, arelent *, Elf32_Internal_Rel *));
#define USE_REL 1
diff --git a/bfd/elf32-s390.c b/bfd/elf32-s390.c
index 11a9736..6a472dd 100644
--- a/bfd/elf32-s390.c
+++ b/bfd/elf32-s390.c
@@ -37,6 +37,12 @@ static struct bfd_link_hash_table *elf_s390_link_hash_table_create
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 *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 @@ static boolean elf_s390_finish_dynamic_symbol
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. */