mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
15 lines
368 B
Perl
15 lines
368 B
Perl
|
/* Memory region at test, >AT should propagate by default */
|
||
|
|
||
|
MEMORY {
|
||
|
ram : ORIGIN = 0x10000, LENGTH = 0x100
|
||
|
rom : ORIGIN = 0x20000, LENGTH = 0x200
|
||
|
other : ORIGIN = 0x30000, LENGTH = 0x200
|
||
|
}
|
||
|
_start = 0x1000;
|
||
|
SECTIONS {
|
||
|
.text : { *(.text) } >ram AT>rom
|
||
|
.data : { *(.data) } >other /* No default AT>rom */
|
||
|
.bss : { *(.bss) } >other
|
||
|
/DISCARD/ : { *(*) }
|
||
|
}
|