Files missed in previous commit.
authorDave Anglin <dave.anglin@nrc.ca>
Fri, 25 Oct 2002 03:19:29 +0000 (03:19 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Fri, 25 Oct 2002 03:19:29 +0000 (03:19 +0000)
bfd/coffgen.c
bfd/simple.c

index ee6c8fce5451efd58833787efa8eb9b017bdc761..21589c6945a9d8cc22e22399c87edb0930e2ae15 100644 (file)
@@ -2196,7 +2196,7 @@ _bfd_coff_is_local_label_name (abfd, name)
      bfd *abfd ATTRIBUTE_UNUSED;
      const char *name;
 {
-  return name[0] == '.' && name[1] == 'L';
+  return (boolean) (name[0] == '.' && name[1] == 'L');
 }
 
 /* Provided a BFD, a section and an offset (in bytes, not octets) into the
index f2ee57600f9edb00c40d1bd6e79fecac5db58397..0c61cb48ecfb203986b1f97e1e52812d9828eca4 100644 (file)
 #include "libbfd.h"
 #include "bfdlink.h"
 
+static boolean simple_dummy_warning
+  PARAMS ((struct bfd_link_info * ATTRIBUTE_UNUSED,
+          const char * ATTRIBUTE_UNUSED, const char * ATTRIBUTE_UNUSED,
+          bfd * ATTRIBUTE_UNUSED, asection * ATTRIBUTE_UNUSED,
+          bfd_vma ATTRIBUTE_UNUSED));
+
+static boolean simple_dummy_undefined_symbol
+  PARAMS ((struct bfd_link_info * ATTRIBUTE_UNUSED,
+          const char * ATTRIBUTE_UNUSED, bfd * ATTRIBUTE_UNUSED,
+          asection * ATTRIBUTE_UNUSED, bfd_vma ATTRIBUTE_UNUSED,
+          boolean ATTRIBUTE_UNUSED));
+
+static boolean simple_dummy_reloc_overflow 
+  PARAMS ((struct bfd_link_info * ATTRIBUTE_UNUSED,
+          const char * ATTRIBUTE_UNUSED, const char * ATTRIBUTE_UNUSED,
+          bfd_vma ATTRIBUTE_UNUSED, bfd * ATTRIBUTE_UNUSED,
+          asection * ATTRIBUTE_UNUSED, bfd_vma ATTRIBUTE_UNUSED));
+
+static boolean simple_dummy_reloc_dangerous
+  PARAMS ((struct bfd_link_info * ATTRIBUTE_UNUSED,
+          const char * ATTRIBUTE_UNUSED, bfd * ATTRIBUTE_UNUSED,
+          asection * ATTRIBUTE_UNUSED, bfd_vma ATTRIBUTE_UNUSED));
+
+static boolean simple_dummy_unattached_reloc
+  PARAMS ((struct bfd_link_info * ATTRIBUTE_UNUSED,
+          const char * ATTRIBUTE_UNUSED, bfd * ATTRIBUTE_UNUSED,
+          asection * ATTRIBUTE_UNUSED, bfd_vma ATTRIBUTE_UNUSED));
+
+bfd_byte * bfd_simple_get_relocated_section_contents
+  PARAMS ((bfd *, asection *, bfd_byte *));
+
 static boolean
-simple_dummy_warning (struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
-                     const char *warning ATTRIBUTE_UNUSED,
-                     const char *symbol ATTRIBUTE_UNUSED,
-                     bfd *abfd ATTRIBUTE_UNUSED,
-                     asection *section ATTRIBUTE_UNUSED,
-                     bfd_vma address ATTRIBUTE_UNUSED)
+simple_dummy_warning (link_info, warning, symbol, abfd, section, address)
+     struct bfd_link_info *link_info;
+     const char *warning;
+     const char *symbol;
+     bfd *abfd;
+     asection *section;
+     bfd_vma address;
 {
   return true;
 }
 
 static boolean
-simple_dummy_undefined_symbol (struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
-                              const char *name ATTRIBUTE_UNUSED,
-                              bfd *abfd ATTRIBUTE_UNUSED,
-                              asection *section ATTRIBUTE_UNUSED,
-                              bfd_vma address ATTRIBUTE_UNUSED,
-                              boolean fatal ATTRIBUTE_UNUSED)
+simple_dummy_undefined_symbol (link_info, name, abfd, section, address, fatal)
+     struct bfd_link_info *link_info;
+     const char *name;
+     bfd *abfd;
+     asection *section;
+     bfd_vma address;
+     boolean fatal;
 {
   return true;
 }
 
 static boolean
-simple_dummy_reloc_overflow (struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
-                            const char *name ATTRIBUTE_UNUSED,
-                            const char *reloc_name ATTRIBUTE_UNUSED,
-                            bfd_vma addend ATTRIBUTE_UNUSED,
-                            bfd *abfd ATTRIBUTE_UNUSED,
-                            asection *section ATTRIBUTE_UNUSED,
-                            bfd_vma address ATTRIBUTE_UNUSED)
+simple_dummy_reloc_overflow (link_info, name, reloc_name, addend, abfd,
+                            section, address)
+     struct bfd_link_info *link_info;
+     const char *name;
+     const char *reloc_name;
+     bfd_vma addend;
+     bfd *abfd;
+     asection *section;
+     bfd_vma address;
 {
   return true;
 }
 
 static boolean
-simple_dummy_reloc_dangerous (struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
-                             const char *message ATTRIBUTE_UNUSED,
-                             bfd *abfd ATTRIBUTE_UNUSED,
-                             asection *section ATTRIBUTE_UNUSED,
-                             bfd_vma address ATTRIBUTE_UNUSED)
+simple_dummy_reloc_dangerous (link_info, message, abfd, section, address)
+     struct bfd_link_info *link_info;
+     const char *message;
+     bfd *abfd;
+     asection *section;
+     bfd_vma address;
 {
   return true;
 }
 
 static boolean
-simple_dummy_unattached_reloc (struct bfd_link_info *link_info ATTRIBUTE_UNUSED,
-                              const char *name ATTRIBUTE_UNUSED,
-                              bfd *abfd ATTRIBUTE_UNUSED,
-                              asection *section ATTRIBUTE_UNUSED,
-                              bfd_vma address ATTRIBUTE_UNUSED)
+simple_dummy_unattached_reloc (link_info, name, abfd, section, address)
+     struct bfd_link_info *link_info;
+     const char *name;
+     bfd *abfd;
+     asection *section;
+     bfd_vma address;
 {
   return true;
 }
@@ -99,8 +136,10 @@ DESCRIPTION
 */
 
 bfd_byte *
-bfd_simple_get_relocated_section_contents (bfd *abfd, asection *sec,
-                                          bfd_byte *outbuf)
+bfd_simple_get_relocated_section_contents (abfd, sec, outbuf)
+     bfd *abfd;
+     asection *sec;
+     bfd_byte *outbuf;
 {
   struct bfd_link_info link_info;
   struct bfd_link_order link_order;