[PATCH 2/2] z80-elf: support complex relocation symbols

Maciej W. Rozycki macro@orcam.me.uk
Sun Oct 26 22:06:44 GMT 2025


On Sun, 26 Oct 2025, H. Peter Anvin wrote:

> >  Possibly, though as usually with BFD I suspect there's a catch; also I 
> > guess a lot of complication in the MIPS backend comes from the use of said 
> > odd n64 encoding (triple relocs in a single Elf64_Rela entry).
> 
> I have done it as a prototype, it is trivial, at least for i386. No problems
> at all.
> 
> It is literally a matter of moving the zeroing of a variable out of a loop.

 Does it work as expected, i.e. identical output section contents, when 
you link to a srec output (such as with `ld --oformat=srec ...')?

  Maciej


More information about the Binutils mailing list