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: [PATCH 1/7] bfd:pru: Fix LDI32 relocation to conform to TI ABI


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


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