mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
26 lines
286 B
Perl
26 lines
286 B
Perl
|
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/ : { *(.*) }
|
||
|
}
|
||
|
|