This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a mismatch in warning message from elfxx-mips.c


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]