GNU linker script: Assigning VMA to object files
Asked by
Prakash K Balasubramanian
I am on 4.6.
.text :
{
sText = .;
*(.text .text.*);
} > FLASH
LoadAddress = Some address in flash;
Code_In_RAM : AT (LoadAddress)
{
*Algo.o (.text .text.*);
} > RAM
The linker assigns VMA and LMA of the flash. I have been successful with .bss and COMMON sections before. But I simply cannot get the linker to assign VMA (RAM) and LMA (flash).
What is the correct syntax?
Question information
- Language:
- English Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Joey Ye
- Solved:
- Last query:
- Last reply:
To post a message you must log in.