RISC-V: Fix accidental embedded -shared regressions.
authorJim Wilson <jimw@sifive.com>
Tue, 9 Jan 2018 01:55:29 +0000 (17:55 -0800)
committerJim Wilson <jimw@sifive.com>
Tue, 9 Jan 2018 01:55:29 +0000 (17:55 -0800)
commit7615ca1dc941bb9f225a1c50df7fdd8d31afc9e8
treebf511a824e970fc250df7de7c2ecf2593e6b362f
parent933ea656af9d40604e4823b07b83e74714f2516e
RISC-V: Fix accidental embedded -shared regressions.

ld/
* testsuite/ld-riscv-elf/c-lui.d: Don't use -shared.  Check for _start
instead of .text.
* testsuite/ld-riscv-elf/c-lui.s: Add _start label.
* testsuite/ld-riscv-elf/ld-riscv-elf.exp: Before __global_pointer$
tests, add call to check_shared_lib_support.
ld/ChangeLog
ld/testsuite/ld-riscv-elf/c-lui.d
ld/testsuite/ld-riscv-elf/c-lui.s
ld/testsuite/ld-riscv-elf/ld-riscv-elf.exp