]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/pdp11.c
-Wimplicit-fallthrough warning fixes
[thirdparty/binutils-gdb.git] / bfd / pdp11.c
index 74617fc8a771efc130d3c5b3d6aa9dd0a102c18f..089c917bff95ec77a6e87e450e5bbb2b273a19e8 100644 (file)
@@ -1147,7 +1147,7 @@ NAME (aout, set_section_contents) (bfd *abfd,
   if (section != obj_textsec (abfd)
       && section != obj_datasec (abfd))
     {
-      (*_bfd_error_handler)
+      _bfd_error_handler
        ("%s: can not represent section `%s' in a.out object file format",
         bfd_get_filename (abfd), bfd_get_section_name (abfd, section));
       bfd_set_error (bfd_error_nonrepresentable_section);
@@ -1379,7 +1379,7 @@ translate_to_native_sym_flags (bfd *abfd,
     {
       /* This case occurs, e.g., for the *DEBUG* section of a COFF
         file.  */
-      (*_bfd_error_handler)
+      _bfd_error_handler
        ("%B: can not represent section for symbol `%s' in a.out object file format",
         abfd, cache_ptr->name != NULL ? cache_ptr->name : "*unknown*");
       bfd_set_error (bfd_error_nonrepresentable_section);
@@ -1406,7 +1406,7 @@ translate_to_native_sym_flags (bfd *abfd,
     sym_pointer->e_type[0] = N_UNDF | N_EXT;
   else
     {
-      (*_bfd_error_handler)
+      _bfd_error_handler
        ("%B: can not represent section `%A' in a.out object file format",
         abfd, sec);
       bfd_set_error (bfd_error_nonrepresentable_section);
@@ -2985,6 +2985,7 @@ aout_link_write_other_symbol (struct bfd_hash_entry *bh, void *data)
     case bfd_link_hash_undefweak:
       type = N_WEAKU;
       val = 0;
+      /* Fall through.  */
     case bfd_link_hash_indirect:
     case bfd_link_hash_warning:
       /* FIXME: Ignore these for now.  The circumstances under which
@@ -3699,7 +3700,7 @@ NAME (aout, final_link) (bfd *abfd,
                 and call get_reloc_upper_bound and canonicalize_reloc to
                 work out the number of relocs needed, and then multiply
                 by the reloc size.  */
-             (*_bfd_error_handler)
+             _bfd_error_handler
                ("%s: relocatable link from %s to %s not supported",
                 bfd_get_filename (abfd),
                 sub->xvec->name, abfd->xvec->name);