RISC-V: Resurrect GP-relative disassembly hints
authorPalmer Dabbelt <palmer@dabbelt.com>
Mon, 3 Apr 2017 17:08:29 +0000 (10:08 -0700)
committerPalmer Dabbelt <palmer@dabbelt.com>
Tue, 4 Apr 2017 15:29:16 +0000 (08:29 -0700)
commitb52920324fabbcad93042f2e17de52696d0dab42
tree35f0068b46fd2e207feba053509415467c86ac11
parent65dd1e590e519eba10bc29fb6e952271e0604c9b
RISC-V: Resurrect GP-relative disassembly hints

We missed a "_gp" when changing the GP symbol.  To make sure that
doesn't happen again, we now use the same definition everywhere (thanks,
Nick).

include/ChangeLog:

2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>

        * elf/riscv.h (RISCV_GP_SYMBOL): New define.

bfd/ChangeLog:

2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>

        * elfnn-riscv.c (GP_NAME): Delete.
        (riscv_global_pointer_value): Change GP_NAME to RISCV_GP_SYMBOL.
        (_bfd_riscv_relax_lui): Likewise.

opcodes/ChangeLog:

2017-04-03  Palmer Dabbelt  <palmer@dabbelt.com>

        * riscv-dis.c (riscv_disassemble_insn): Change "_gp" to
        RISCV_GP_SYMBOL.
bfd/ChangeLog
bfd/elfnn-riscv.c
include/ChangeLog
include/elf/riscv.h
opcodes/ChangeLog
opcodes/riscv-dis.c