RISC-V/GAS: Correct branch relaxation for weak symbols.
authorAndrew Waterman <andrew@sifive.com>
Mon, 9 Jan 2017 09:22:33 +0000 (09:22 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 9 Jan 2017 09:22:33 +0000 (09:22 +0000)
commit011561117eeaff00862eb5f465c3470f29e8a9a9
tree4990224deb802c8e86ffe356cab713aa4bde8087
parent3254d32c4b47f17a7d609f25394fbfb2313f09ff
RISC-V/GAS: Correct branch relaxation for weak symbols.

* config/tc-riscv.c (relaxed_branch_length): Use the long
sequence when the target is a weak symbol.
gas/ChangeLog
gas/config/tc-riscv.c