diff options
author | Phil Blundell <pb@futuretv.com> | 2000-10-31 22:56:17 +0000 |
---|---|---|
committer | Phil Blundell <pb@futuretv.com> | 2000-10-31 22:56:17 +0000 |
commit | eac170e4eaf0bb1c23625120e5d0c4118b26fe43 (patch) | |
tree | daabd56e69232f59f74ca1fa65840cae5fb2d75d | |
parent | f691a7cc8cd4c35a9e9ca5bd9b75aa5670e46447 (diff) | |
download | gdb-eac170e4eaf0bb1c23625120e5d0c4118b26fe43.tar.gz |
2000-10-31 Philip Blundell <philb@gnu.org>
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle
EF_SOFT_FLOAT if it is defined.
From 2000-05-23 H.J. Lu <hjl@gnu.org>
* elf32-ppc.c (ppc_elf_relocate_section): Fix a typo.
-rw-r--r-- | bfd/ChangeLog | 8 | ||||
-rw-r--r-- | bfd/elf32-arm.h | 2 | ||||
-rw-r--r-- | bfd/elf32-ppc.c | 2 |
3 files changed, 11 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ac4808a4f69..9230b0d04a3 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2000-10-31 Philip Blundell <philb@gnu.org> + + * elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle + EF_SOFT_FLOAT if it is defined. + + From 2000-05-23 H.J. Lu <hjl@gnu.org> + * elf32-ppc.c (ppc_elf_relocate_section): Fix a typo. + 2000-10-27 Philip Blundell <philb@gnu.org> * elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse diff --git a/bfd/elf32-arm.h b/bfd/elf32-arm.h index 3ed64fe312d..72bbe780bf0 100644 --- a/bfd/elf32-arm.h +++ b/bfd/elf32-arm.h @@ -2057,6 +2057,7 @@ Error: %s passes floats in %s registers, whereas %s passes them in %s registers" flags_compatible = false; } +#ifdef EF_SOFT_FLOAT if ((in_flags & EF_SOFT_FLOAT) != (out_flags & EF_SOFT_FLOAT)) { _bfd_error_handler (_ ("\ @@ -2067,6 +2068,7 @@ Error: %s uses %s floating point, whereas %s uses %s floating point"), out_flags & EF_SOFT_FLOAT ? _("soft") : _("hard")); flags_compatible = false; } +#endif /* Interworking mismatch is only a warning. */ if ((in_flags & EF_INTERWORK) != (out_flags & EF_INTERWORK)) diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 9eec59bde5c..b405feaa1f5 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -3121,7 +3121,7 @@ ppc_elf_relocate_section (output_bfd, info, input_bfd, input_section, rel->r_offset, (!info->shared || info->no_undefined - ELF_ST_VISIBILITY (h->other)))) + || ELF_ST_VISIBILITY (h->other)))) return false; relocation = 0; } |