Category "linker-scripts"

How can I access a symbol from the linker script in my Ada code?

I am building my Ada/SPARK project using GNAT and I am using a linker script. Here is an excerpt: SECTIONS { .code : { . = ALIGN(0x4); *

LD linker script, get current position of LOAD address

In linker scripts, I can get the LMA of a section like this .got : ALIGN(4) { __global_offset_table_flash_start__ = LOADADDR(.got) ; ... } >SRAM_DTC