diff options
author | Andrew Waterman <andrew@sifive.com> | 2016-12-20 14:25:33 -0800 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-12-22 00:19:47 +1030 |
commit | 58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba (patch) | |
tree | a3770cd80918701a536178b68fa33e91563e9d86 /gdb/source.c | |
parent | 9ef7906f20e81faa4498761002e6376f4d35c865 (diff) | |
download | gdb-58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba.zip gdb-58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba.tar.gz gdb-58a6d3c9d8d4d4be8f1dfc1a49fed264dceddaba.tar.bz2 |
Avoid creating symbol table entries for registers
Instructions like "jal t0, foo" were erroneously creating symbol table
entries for t0 as well as foo, which causes linking problems. Fix by
reordering instruction alternatives so that t0 is first attempted to
be parsed as a register, rather than as a symbol.
* riscv-opc.c (riscv_opcodes): Reorder jal and call entries.
Diffstat (limited to 'gdb/source.c')
0 files changed, 0 insertions, 0 deletions