linker script

T

Tom

Guest
Hi,

when using linker scripts, how can you check if the various sections
actually fit into the specified memory regions ?

Thanks,

Tom
 
Tom <t_t_1232000@yahoo.com> wrote in message news:<jdm6rv8i170gr0kg12shcu5ljoimrg2hpp@4ax.com>...
Hi,

when using linker scripts, how can you check if the various sections
actually fit into the specified memory regions ?

Thanks,

Tom
Define the memories:

MEMORY
{
rom (rx) : ORIGIN = 0x0000, LENGTH = 0x8000
ram : ORIGIN = 0x8000, LENGTH = 0x6000
}

Assign each section to a memory:

..rodata1 : { *(.rodata1) } > rom

Jon
 

Welcome to EDABoard.com

Sponsor

Back
Top