diff options
author | Nick Clifton <nickc@redhat.com> | 2017-06-14 13:35:06 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2017-06-14 13:35:06 +0100 |
commit | db5fa770268baf8cc82cf9b141d69799fd485fe2 (patch) | |
tree | 08d1bad1f17b8a406603aa879a7ea119896eb5cd /ld | |
parent | 5524b5250e319f41933605420e9526fb74cfb9ae (diff) | |
download | gdb-db5fa770268baf8cc82cf9b141d69799fd485fe2.zip gdb-db5fa770268baf8cc82cf9b141d69799fd485fe2.tar.gz gdb-db5fa770268baf8cc82cf9b141d69799fd485fe2.tar.bz2 |
Fix address violation problems when disassembling a corrupt RX binary.
PR binutils/21587
* rx-decode.opc: Include libiberty.h
(GET_SCALE): New macro - validates access to SCALE array.
(GET_PSCALE): New macro - validates access to PSCALE array.
(DIs, SIs, S2Is, rx_disp): Use new macros.
* rx-decode.c: Regenerate.
Diffstat (limited to 'ld')
0 files changed, 0 insertions, 0 deletions