diff options
author | Palmer Dabbelt <palmer@dabbelt.com> | 2017-04-03 10:08:29 -0700 |
---|---|---|
committer | Palmer Dabbelt <palmer@dabbelt.com> | 2017-04-04 08:29:16 -0700 |
commit | b52920324fabbcad93042f2e17de52696d0dab42 (patch) | |
tree | 35f0068b46fd2e207feba053509415467c86ac11 /binutils | |
parent | 65dd1e590e519eba10bc29fb6e952271e0604c9b (diff) | |
download | gdb-b52920324fabbcad93042f2e17de52696d0dab42.zip gdb-b52920324fabbcad93042f2e17de52696d0dab42.tar.gz gdb-b52920324fabbcad93042f2e17de52696d0dab42.tar.bz2 |
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.
Diffstat (limited to 'binutils')
0 files changed, 0 insertions, 0 deletions