]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Revert most of previous delta. Do not call bfd_archive_filename on output
authorNick Clifton <nickc@redhat.com>
Thu, 27 Sep 2001 13:49:27 +0000 (13:49 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 27 Sep 2001 13:49:27 +0000 (13:49 +0000)
bfd, nor twice in one expression.

bfd/ChangeLog
bfd/elf32-arm.h

index 44d9d248c3e99321d6222b5c682271c6e4c9b6b8..3b190962775d43adde7dec1dae5a12a3819a9839 100644 (file)
@@ -1,8 +1,7 @@
 2001-09-27  Nick Clifton  <nickc@cambridge.redhat.com>
 
-       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Replace
-       bfd_get_filename with bfd_archive_filename in error message.
-       Fix detection of conflicting float flags.
+       * elf32-arm.h (elf32_arm_merge_private_bfd_data): Fix detection of
+       conflicting float flags.
 
 2001-09-26  Alan Modra  <amodra@bigpond.net.au>
 
index 5e818eb29528487662de58b77d9a8586f5823dc6..5304cf6255a1bdd8aca59d861e266b0c7826b129 100644 (file)
@@ -2091,7 +2091,7 @@ elf32_arm_copy_private_bfd_data (ibfd, obfd)
          if (out_flags & EF_ARM_INTERWORK)
            _bfd_error_handler (_("\
 Warning: Clearing the interwork flag in %s because non-interworking code in %s has been linked with it"),
-                               bfd_archive_filename (obfd),
+                               bfd_get_filename (obfd),
                                bfd_archive_filename (ibfd));
 
          in_flags &= ~EF_ARM_INTERWORK;
@@ -2188,7 +2188,7 @@ elf32_arm_merge_private_bfd_data (ibfd, obfd)
 Error: %s compiled for EABI version %d, whereas %s is compiled for version %d"),
                          bfd_archive_filename (ibfd),
                          (in_flags & EF_ARM_EABIMASK) >> 24,
-                         bfd_archive_filename (obfd),
+                         bfd_get_filename (obfd),
                          (out_flags & EF_ARM_EABIMASK) >> 24);
       return false;
     }
@@ -2202,7 +2202,7 @@ Error: %s compiled for EABI version %d, whereas %s is compiled for version %d"),
 Error: %s compiled for APCS-%d, whereas %s is compiled for APCS-%d"),
                              bfd_archive_filename (ibfd),
                              in_flags & EF_ARM_APCS_26 ? 26 : 32,
-                             bfd_archive_filename (obfd),
+                             bfd_get_filename (obfd),
                              out_flags & EF_ARM_APCS_26 ? 26 : 32);
          flags_compatible = false;
        }
@@ -2215,7 +2215,7 @@ Error: %s compiled for APCS-%d, whereas %s is compiled for APCS-%d"),
          _bfd_error_handler (_("\
 Error: %s passes floats in %s registers, whereas %s passes them in %s registers"),
                              bfd_archive_filename (ibfd), s1,
-                             bfd_archive_filename (obfd), s2);
+                             bfd_get_filename (obfd), s2);
          flags_compatible = false;
        }
 
@@ -2228,7 +2228,7 @@ Error: %s passes floats in %s registers, whereas %s passes them in %s registers"
          _bfd_error_handler (_ ("\
 Error: %s uses %s floating point, whereas %s uses %s floating point"),
                              bfd_archive_filename (ibfd), s1,
-                             bfd_archive_filename (obfd), s2);
+                             bfd_get_filename (obfd), s2);
          flags_compatible = false;
        }
 #endif
@@ -2243,7 +2243,7 @@ Error: %s uses %s floating point, whereas %s uses %s floating point"),
          _bfd_error_handler (_("\
 Warning: %s %s interworking, whereas %s %s"),
                              bfd_archive_filename (ibfd), s1,
-                             bfd_archive_filename (obfd), s2);
+                             bfd_get_filename (obfd), s2);
        }
     }