This is the mail archive of the binutils@sources.redhat.com 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: [arm] Rephrase error message.


On Tue, 2004-10-12 at 00:52, Paul Brook wrote:
> One of the linker error messages in elf32-arm.h talks about the output file 
> being "compiled" for a particular eabi version. Patch below rephrases this 
> slightly to (hopefully) avoid confusion between input files and output files.
> 
> Ok?
> 
> 2004-10-12  Paul Brook  <paul@codesourcery.com>
> 
>  * elf32-arm.h (elf32_arm_merge_private_bfd_data): Rephrase error
>  message.
> 
> Index: elf32-arm.h
> ===================================================================
> RCS file: /cvs/src/src/bfd/elf32-arm.h,v
> retrieving revision 1.149
> diff -u -p -r1.149 elf32-arm.h
> --- elf32-arm.h 8 Oct 2004 14:53:59 -0000 1.149
> +++ elf32-arm.h 11 Oct 2004 23:33:41 -0000
> @@ -2504,7 +2504,7 @@ elf32_arm_merge_private_bfd_data (bfd * 
>    if (EF_ARM_EABI_VERSION (in_flags) != EF_ARM_EABI_VERSION (out_flags))
>      {
>        _bfd_error_handler
> - (_("ERROR: %B is compiled for EABI version %d, whereas %B is compiled for 
> version %d"),
> + (_("ERROR: %B is compiled for EABI version %d, whereas target %B is version 
> %d"),
>    ibfd, obfd,
>    (in_flags & EF_ARM_EABIMASK) >> 24,
>    (out_flags & EF_ARM_EABIMASK) >> 24);

Approved in principle, but how about "ERROR: Source object %B has EABI
version %d, but target %B has EABI version %d"?

R.


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