mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +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 = .;
|
|
}
|
|
}
|