mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +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.
10 lines
167 B
Perl
10 lines
167 B
Perl
SECTIONS {
|
|
.foo : {
|
|
PROVIDE (__start_scnfoo = .);
|
|
PROVIDE (___start_scnfoo = .);
|
|
*(scnfoo)
|
|
PROVIDE (__stop_scnfoo = .);
|
|
PROVIDE (___stop_scnfoo = .);
|
|
}
|
|
}
|