OSDN Git Service

* coff-sparc.c: Add missing prototypes.
authorAndreas Jaeger <aj@suse.de>
Tue, 21 Aug 2001 08:40:23 +0000 (08:40 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 21 Aug 2001 08:40:23 +0000 (08:40 +0000)
* elf32-s390.c: Likewise.
* elf32-i960.c: Likewise.
* aout-target.h: Likewise.

bfd/ChangeLog
bfd/aout-target.h
bfd/coff-sparc.c
bfd/elf32-i960.c
bfd/elf32-s390.c

index 2902efa..d2508ef 100644 (file)
@@ -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.
        (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.
index 2d1e289..6cf185a 100644 (file)
@@ -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;
index 0f592de..fb12fc1 100644 (file)
@@ -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,
index 2cab7c0..fcaea20 100644 (file)
@@ -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
 
index 11a9736..6a472dd 100644 (file)
@@ -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.  */