dwarf2 and linker relaxation problem

Hans-Peter Nilsson hp@bitrange.com
Fri Sep 2 18:42:00 GMT 2005


On Fri, 2 Sep 2005, Dmitry Diky wrote:
> I do not delete any relocations until linker.

I don't know how to put it clearer than with Ian's example.  If
the assembler doesn't emit a relocation for those expressions,
linker relaxation will not work, unless the linker actually
parses the format of the data in that section.

> The linker itself does not reloc much in debug sections.

Seems like a clue that the assembler didn't emit relocations
where it must, for linker relaxation.

brgds, H-P



More information about the Binutils mailing list