[PATCH] Fix for cr16 tools build issue with gcc 4.2.0

M R Swami Reddy swami@india.nsc.com
Thu Jul 5 08:06:00 GMT 2007


Hi Nick,

Thanks a lot.

Thanks,
Swami

Nick Clifton wrote:
> Hi Swami,
> 
>> CR16 binutil tools build failed with GCC 4.2.0 native compiler to compile
>> the binutils-2.17.50/opcodes/cr16-dis.c file with a warning (warnings 
>> are treated as errors). 
> 
> I have applied your patch.  One thing though - you did not provide a 
> ChangeLog entry, so I have invented one for you.
> 
> Cheers
>   Nick
> 
> opcodes/ChangeLog
> 2007-07-04  M R Swami Reddy  <MR.Swami.Reddy@nsc.com>
> 
>     * cr16-dis.c (getcinvstring): Add const qualifier to char *
>     parameter.
>     (print_insn_cr16): Remove cast to char *.
> 
> 



More information about the Binutils mailing list