]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2000-10-31 Philip Blundell <philb@gnu.org>
authorPhil Blundell <philb@gnu.org>
Tue, 31 Oct 2000 22:56:17 +0000 (22:56 +0000)
committerPhil Blundell <philb@gnu.org>
Tue, 31 Oct 2000 22:56:17 +0000 (22:56 +0000)
* 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.

bfd/ChangeLog
bfd/elf32-arm.h
bfd/elf32-ppc.c

index ac4808a4f69bfbf4bcce3e2ba492ef312be56e7e..9230b0d04a37dc8faddfa3e4fa1bffbdc74b9123 100644 (file)
@@ -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
index 3ed64fe312d2bf9b3ffd2f16252e49417ce463ed..72bbe780bf01c4fdd42b6d31a854dfd4870a5b9e 100644 (file)
@@ -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))
index 9eec59bde5c6ba38e067f0466928a076cb738eda..b405feaa1f5361276696e01b4b203ae8359d9fd6 100644 (file)
@@ -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;
            }