mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
502e8a8430
* symtab.cc (Symbol_table::sized_write_globals): Subtract section starting address for relocatable link. * testsuite/Makefile.am (script_test_11): New test. * testsuite/Makefile.in: Regenerate. * testsuite/script_test_11.c: New source file. * testsuite/script_test_11.t: New linker script.
9 lines
98 B
Perl
9 lines
98 B
Perl
SECTIONS
|
|
{
|
|
.foo : {
|
|
__foo_start = .;
|
|
KEEP(*(.foo))
|
|
__foo_end = .;
|
|
}
|
|
}
|