ld location counter going backward?
Luke T. Shumaker
lukeshu@lukeshu.com
Tue Mar 24 21:38:08 GMT 2026
On Tue, 24 Mar 2026 03:13:23 -0600,
Andreas Schwab wrote:
>
> On Mär 24 2026, Luke T. Shumaker wrote:
>
> > ...
> > } > RAM
> > __binary_info_end = .;
> >
> > . = ALIGN((1<<LOG2CEIL(.-__logical_binary_start))/8);
> > .data : {
> > __data_start__ = .;
> > ...
>
> Do you have a region assignment for the .data section?
Yes, .data is `> RAM` as well.
The full linker script that I am starting from is
https://github.com/raspberrypi/pico-sdk/blob/2.1.1/src/rp2_common/pico_crt0/rp2040/memmap_no_flash.ld
--
Happy hacking,
~ Luke T. Shumaker
More information about the Binutils
mailing list