mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
6d59ad8298
* ld-elf/extract-symbol-1.ld (data): Explicitly set the start address to 0.
19 lines
217 B
Plaintext
19 lines
217 B
Plaintext
ENTRY(_entry)
|
|
PHDRS
|
|
{
|
|
data PT_LOAD AT (0);
|
|
}
|
|
SECTIONS
|
|
{
|
|
. = 0x10000;
|
|
.foo : { *(.foo) } :data
|
|
|
|
. = 0x20000;
|
|
.bar : { *(.bar) } :data
|
|
|
|
/DISCARD/ : { *(*) }
|
|
|
|
_entry = 0x30000;
|
|
linker_symbol = 0x40000;
|
|
}
|