mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 14:53:32 +08:00
8b77421a20
We also need to provide __start_scnfoo and __stop_scnfoo with the extra leading underscore for underscore targets. This patch fixed: FAIL: ld-elf/pr21562k FAIL: ld-elf/pr21562l FAIL: ld-elf/pr21562m FAIL: ld-elf/pr21562n for metag-linux, * testsuite/ld-elf/pr21562c.t: Also provide ___start_scnfoo and ___stop_scnfoo. * testsuite/ld-elf/pr21562d.t: Likewise.
8 lines
159 B
Perl
8 lines
159 B
Perl
SECTIONS {
|
|
PROVIDE (__start_scnfoo = .);
|
|
PROVIDE (___start_scnfoo = .);
|
|
.foo : { *(scnfoo) }
|
|
PROVIDE (__stop_scnfoo = .);
|
|
PROVIDE (___stop_scnfoo = .);
|
|
}
|