]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR ld/20828: Work around RISC-V failures
authorMaciej W. Rozycki <macro@imgtec.com>
Mon, 23 Jan 2017 11:21:19 +0000 (11:21 +0000)
committerMaciej W. Rozycki <macro@imgtec.com>
Mon, 23 Jan 2017 11:27:06 +0000 (11:27 +0000)
commit1e5f45bb15d287ed763b7b638254424149040f7a
tree4afcd2adb08c576a2f72f537c2238c7add6041a1
parentfda46c417ff8324960ca305141df5fc6c2f580af
PR ld/20828: Work around RISC-V failures

Complement commit 81ff47b3a546 ("PR ld/20828: Fix linker script symbols
wrongly forced local with section GC") and add `.plt' to the list of
output sections created, fixing:

FAIL: PR ld/20828 dynamic symbols with section GC (auxiliary shared library)
FAIL: PR ld/20828 dynamic symbols with section GC (plain)
FAIL: PR ld/20828 dynamic symbols with section GC (version script)

failures with `riscv32-elf', `riscv32-linux', `riscv64-elf' and
`riscv64-linux' targets caused by LD crashing in the absence of such a
section.

ld/
PR ld/20828
* testsuite/ld-elf/pr20828.ld: Add `.plt'.
ld/ChangeLog
ld/testsuite/ld-elf/pr20828.ld