You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
285 B

PROVIDE (mem_origin = 0x100);
PROVIDE (mem_length = 0x200);
MEMORY
{
FOO : ORIGIN = mem_origin, LENGTH = mem_length
}
SECTIONS
{
.data : {
*(.data .data.*)
} >FOO
.text : {
*(.text .text.*)
} >FOO
.bss : {
*(.bss .bss.*)
} >FOO
/DISCARD/ : { *(*) }
}