aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-ppc.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 94f28b1..40daa88 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
+
+ * elf32-ppc.c (_bfd_elf_ppc_merge_fp_attributes): Fix the order
+ of arguments when warning about different long double types.
+
2018-05-03 Simon Atanasyan <simon@atanasyan.com>
* elf32-mips.c: (elf32_mips_fixup_symbol): New function.
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c
index 1200de8..7f4ed01 100644
--- a/bfd/elf32-ppc.c
+++ b/bfd/elf32-ppc.c
@@ -4776,12 +4776,12 @@ _bfd_elf_ppc_merge_fp_attributes (bfd *ibfd, struct bfd_link_info *info)
_bfd_error_handler
/* xgettext:c-format */
(_("warning: %pB uses IBM long double, "
- "%pB uses IEEE long double"), ibfd, obfd);
+ "%pB uses IEEE long double"), obfd, ibfd);
else if (out_fp == 3 * 4 && in_fp == 1 * 4)
_bfd_error_handler
/* xgettext:c-format */
(_("warning: %pB uses IBM long double, "
- "%pB uses IEEE long double"), obfd, ibfd);
+ "%pB uses IEEE long double"), ibfd, obfd);
}
}