[PATCH] S12Z: New 32 bit Reloc.

John Darrington john@darrington.wattle.id.au
Mon Oct 15 14:24:00 GMT 2018

On Tue, Oct 16, 2018 at 12:05:26AM +1030, Alan Modra wrote:
     >      Is your goal to be compatible with these "third party tools"?
     > It is a secondary goal, yes.  But I don't want that to conflict with
     > binutils other tools and/or gcc (if and when gcc targets s12z).
     Introducing a new 32-bit absolute reloc of course makes gas generate
     objects incompatible with the third party linker and other tools.

I should have been more specific.  My secondary goal is to have ld be
able to link objects created by the third party compiler + assembler.
I don't currently care about the third party linker being able to link 
objects created by gas.

However, so far as I've been able to assertain so far, these 32 bit
relocs are used only in the debug sections.  So if they break it's only
going to affect the ability to run a debugger on the final elf file.


More information about the Binutils mailing list