Update PR ld/21562 tests for underscore targets
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 24 Nov 2017 16:58:43 +0000 (08:58 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 24 Nov 2017 16:58:56 +0000 (08:58 -0800)
commit8b77421a20c22c9a66048e7d1484b149da060b67
tree3d1122445adcb770064a13589d6d5e058c867219
parent30649c145114fe3aac089bf06e9457238d46341b
Update PR ld/21562 tests for underscore targets

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.
ld/ChangeLog
ld/testsuite/ld-elf/pr21562c.t
ld/testsuite/ld-elf/pr21562d.t