This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: a mismatch in warning message from elfxx-mips.c
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: "Amker.Cheng" <amker dot cheng at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Sat, 09 Oct 2010 12:29:18 +0100
- Subject: Re: a mismatch in warning message from elfxx-mips.c
- References: <AANLkTikrif7CEROPZ1eKGdYDQ-jNK_fK3UyHOyFukwU3@mail.gmail.com>
On 09/10/2010 10:17, Amker.Cheng wrote:
> switch (out_attr[Tag_GNU_MIPS_ABI_FP].i)
> {
> case 1:
> switch (in_attr[Tag_GNU_MIPS_ABI_FP].i)
> {
> case 2:
> _bfd_error_handler
> (_("Warning: %B uses -msingle-float, %B uses -mdouble-float"),
> <---------------here, should be double-float
> obfd, ibfd);
> break;
>
> I guess it should be: %B uses -mdouble-float, %B uses -mdouble-float,
> according to the definition of Tag_GNU_MIPS_ABI_FP in file include/elf/mips.h
Muphry's law strikes again! I think you meant to say that -msingle-float
and -mdouble-float should be exchanged in the original text. Or perhaps obfd
and ibfd should be swapped in the argument list.
cheers,
DaveK