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.
+2017-11-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * testsuite/ld-elf/pr21562c.t: Also provide ___start_scnfoo and
+ ___stop_scnfoo.
+ * testsuite/ld-elf/pr21562d.t: Likewise.
+
2017-11-23 Martin Storsjo <martin@martin.st>
* pe-dll.c (autofilter_liblist): Add libmsvcrt, libmsvcrt-os and
SECTIONS {
.foo : {
PROVIDE (__start_scnfoo = .);
+ PROVIDE (___start_scnfoo = .);
*(scnfoo)
PROVIDE (__stop_scnfoo = .);
+ PROVIDE (___stop_scnfoo = .);
}
}
SECTIONS {
PROVIDE (__start_scnfoo = .);
+ PROVIDE (___start_scnfoo = .);
.foo : { *(scnfoo) }
PROVIDE (__stop_scnfoo = .);
+ PROVIDE (___stop_scnfoo = .);
}