[PATCH 1/7] bfd:pru: Fix LDI32 relocation to conform to TI ABI

Dimitar Dimitrov dimitar@dinux.eu
Tue May 1 19:47:00 GMT 2018


On вторник, 1 май 2018 г. 16:47:17 EEST Nick Clifton wrote:
> Hi Dimitar,
> 
> > This patch will break binary compatibility with previously released
> > binutils versions for PRU. Still, I think it is better to fix
> > binutils to conform to the chip vendor ABI.
> 
> This does worry me though.  Will the patched code be able to detect
> old binaries, compiled/assembled with the wrong ABI support, and issue
> an error message of some kind ?
> 
> Cheers
>   Nick
The current patch detects old object files using this line:
  +             BFD_ASSERT (GET_INSN_FIELD (RDSEL, insn) == RSEL_15_0);

I will add a human error message and will resend the patch set.

Thanks,Dimitar



More information about the Binutils mailing list