]> 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:32:29 +0000 (11:32 +0000)
commitf1e1be692fded333465d71ace0347db736ecc441
tree34b0eb421d154347ea07c88f3fed754381c1fa60
parentb70d100fc1c5a130c3fe9387be83b7927e2025fb
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'.

(cherry picked from commit 1e5f45bb15d287ed763b7b638254424149040f7a)
ld/ChangeLog
ld/testsuite/ld-elf/pr20828.ld