diff options
author | Nick Clifton <nickc@redhat.com> | 2001-09-27 13:49:27 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-09-27 13:49:27 +0000 |
commit | 06317a278f74fc5d84e23b4046a14eac883f015d (patch) | |
tree | d9c5298b215b1d9aba1cc1ee1ec2b42ab97c3bc1 | |
parent | d68f31a9f36371ba24b9196db2a1a93c7a243efc (diff) | |
download | fsf-binutils-gdb-06317a278f74fc5d84e23b4046a14eac883f015d.zip fsf-binutils-gdb-06317a278f74fc5d84e23b4046a14eac883f015d.tar.gz fsf-binutils-gdb-06317a278f74fc5d84e23b4046a14eac883f015d.tar.bz2 |
Revert most of previous delta. Do not call bfd_archive_filename on output
bfd, nor twice in one expression.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 12 |
2 files changed, 8 insertions, 9 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 44d9d24..3b19096 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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> diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 5e818eb..5304cf6 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); } } |