Fix potential illegal memory access in Xtensa port.
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 2 Aug 2017 09:38:09 +0000 (10:38 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 2 Aug 2017 09:38:09 +0000 (10:38 +0100)
commitd84ed528d4817b0ff854006b65a9f6ec75f0407a
tree96d049d8b0b4e453a5fbf82c190751d3e3d8769e
parent75800d2cd6a6cea6071dcf8f0c2ea871abeeaf99
Fix potential illegal memory access in Xtensa port.

* xtensa-isa.c (xtensa_isa_init): Don't update lookup table
entries for sysregs with negative indices.
bfd/ChangeLog
bfd/xtensa-isa.c