Relaxation and .debug_loc section
Sat Jul 14 16:57:00 GMT 2007
Michael Eager <firstname.lastname@example.org> writes:
> Andreas Schwab wrote:
>> Michael Eager <email@example.com> writes:
>>> When the relaxation pass shrinks the code, these offsets
>>> point to the wrong locations. I've looked through other
>>> targets to see if there is anything which looks like it
>>> fixes up the .debug_loc section after relaxation, but
>>> I haven't found anything.
>> I think if you want to do linker relaxing you have to tell the assembler
>> not to resolve such relocations.
> There's no way to do that.
Of course there is. There are already several targets doing this.
Andreas Schwab, SuSE Labs, firstname.lastname@example.org
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 NÃ¼rnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils