]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/arm/ChangeLog
Prevent writes to R15 via LDR or LDM from changing the ARM/Thumb state in pre-v5...
authorDavid McQuillan <dmcq@tao-group.com>
Fri, 14 Mar 2014 14:03:29 +0000 (14:03 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 14 Mar 2014 14:03:29 +0000 (14:03 +0000)
commitb9366cf3955d81e26537ea1932b183dbdf237361
tree1f4e10e5525d8bd983a29f4f920b85620218bf30
parente5b98723a5f36c5bc32d465deefd20c334627f5a
Prevent writes to R15 via LDR or LDM from changing the ARM/Thumb state in pre-v5 architectures.

PR sim/8388
* armemu.c (WriteR15Load): New function.  Determines if the state
can be changed upon a write to R15.
(LoadMult): Use WriteR15Load.
* armemu.h (WRITEDESTB): Use WriteR15Load.
sim/arm/ChangeLog
sim/arm/armemu.c
sim/arm/armemu.h