mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 03:03:31 +08:00
17 lines
280 B
Raku
17 lines
280 B
Raku
|
|
MEMORY
|
|
{
|
|
rom (rx) : ORIGIN = 0x100, LENGTH = 0x100
|
|
ram (rwx) : ORIGIN = 0x200, LENGTH = 0x100
|
|
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : {*(.text .text.*)} >rom
|
|
.data : {data_load = LOADADDR (.data);
|
|
data_start = ADDR (.data);
|
|
*(.data .data.*)} >ram AT>rom
|
|
/DISCARD/ : { *(.*) }
|
|
}
|