ld location counter going backward?

Hans-Peter Nilsson hp@bitrange.com
Wed Mar 25 00:15:15 GMT 2026


On Tue, 24 Mar 2026, Luke T. Shumaker wrote:
> Hi,
> 
> I'm a newb with linker scripts, and needed to edit an existing script;
> I've already got it to do what I need it to, but I'd like to
> understand why my first approaches didn't work.

> The pre-existing linker script says:
> [omitted]

This reminds me of bug 32867, wherein a MAX expression on the 
right-hand-side of a dot-assigning expression got the wrong 
value.

It wouldn't be wrong to enter a bugzilla ticket, IMHO.

brgds, H-P


More information about the Binutils mailing list