From 06317a278f74fc5d84e23b4046a14eac883f015d Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 27 Sep 2001 13:49:27 +0000 Subject: [PATCH] Revert most of previous delta. Do not call bfd_archive_filename on output bfd, nor twice in one expression. --- bfd/ChangeLog | 5 ++--- bfd/elf32-arm.h | 12 ++++++------ 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 44d9d248c3e..3b190962775 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,8 +1,7 @@ 2001-09-27 Nick Clifton - * 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 diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 5e818eb2952..5304cf6255a 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -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); } } -- 2.30.2