mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
c6f90868f6
* ld-scripts/empty-orphan.d: Update.
23 lines
453 B
Raku
23 lines
453 B
Raku
MEMORY
|
|
{
|
|
default_mem : ORIGIN = 0x0, LENGTH = 0x100000
|
|
text_mem : ORIGIN = 0x60000000, LENGTH = 0x100
|
|
data_mem : ORIGIN = 0x70000000, LENGTH = 0x100
|
|
}
|
|
|
|
PHDRS
|
|
{
|
|
default_phdr PT_LOAD;
|
|
text_phdr PT_LOAD;
|
|
data_phdr PT_LOAD;
|
|
}
|
|
|
|
SECTIONS
|
|
{
|
|
.text : { *(.text) } > text_mem : text_phdr
|
|
.data : { *(.data) } > data_mem : data_phdr
|
|
.bss : { *(.bss) } > data_mem : data_phdr
|
|
/DISCARD/ : { *(.reginfo) }
|
|
/* .orphan_data is an orphan */
|
|
}
|