Forum Discussion
Altera_Forum
Honored Contributor
20 years agoOk, I'll answer my own question. To access a linker symbol that's out of reach use the following code:
extern int __ram_rodata_end[]; printf("%x\n", __ram_rodata_end); That'll print out the same value you'll see in the .map file. The trick is to use an array declaration which forces GCC to use full-range addressing. Thanks to David Brooks on comp.arch.embedded for the answer. Andrew