6d59ad8298
* ld-elf/extract-symbol-1.ld (data): Explicitly set the start address to 0.
18 lines
217 B
Text
18 lines
217 B
Text
ENTRY(_entry)
|
|
PHDRS
|
|
{
|
|
data PT_LOAD AT (0);
|
|
}
|
|
SECTIONS
|
|
{
|
|
. = 0x10000;
|
|
.foo : { *(.foo) } :data
|
|
|
|
. = 0x20000;
|
|
.bar : { *(.bar) } :data
|
|
|
|
/DISCARD/ : { *(*) }
|
|
|
|
_entry = 0x30000;
|
|
linker_symbol = 0x40000;
|
|
}
|