package/binutils: fix crash caused by buggy xtensa overlay
authorMax Filippov <jcmvbkbc@gmail.com>
Wed, 2 Aug 2017 18:40:20 +0000 (11:40 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 2 Aug 2017 19:42:17 +0000 (21:42 +0200)
commit83f7fb0d5bdbae3c50bac0eb1d4efe1c71692af8
tree88e5a8076d0ebdb5e94e3e910707c2d2d332330e
parent0a1e508baf9883182a42c062d04fb2362ec34579
package/binutils: fix crash caused by buggy xtensa overlay

In some xtensa configurations there may be system/user registers in
xtensa-modules with negative index. ISA initialization for such config
may clobber heap and result in program termination.
Don't update lookup table entries for register with negative indices.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/binutils/2.27/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch [new file with mode: 0644]
package/binutils/2.28.1/0131-xtensa-fix-memory-corruption-by-broken-sysregs.patch [new file with mode: 0644]
package/binutils/2.29/0008-xtensa-fix-memory-corruption-by-broken-sysregs.patch [new file with mode: 0644]