* config/tc-arm.c (check_ldr_r15_aligned): New.
commitc976381b95a58d412f7c88187f86d93ffb25bf79
authorNick Clifton <nickc@redhat.com>
Thu, 13 Oct 2011 08:15:13 +0000 (13 08:15 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 13 Oct 2011 08:15:13 +0000 (13 08:15 +0000)
tree0dcff2b1ad5609ace53215d96aa42c7881309b0a
parentd3c10e6cd6f18ec93016ba722be5205d75b13e57
* config/tc-arm.c (check_ldr_r15_aligned): New.
(do_ldst): Warn in upredictable cases.
(do_t_ldst): Likewise.
(insns): Update accordingly.

* gas/arm/ldr-bad.s: New testcase.
* gas/arm/ldr-bad.l: Likewise.
* gas/arm/ldr-bad.d: Likewise.
* gas/arm/ldr.s: Likewise.
* gas/arm/ldr.d: Likewise.
* gas/arm/ldr-t-bad.s: Likewise.
* gas/arm/ldr-t-bad.l: Likewise.
* gas/arm/ldr-t-bad.d: Likewise.
* gas/arm/ldr-t.s: Likewise.
* gas/arm/ldr-t.d: Likewise.
* gas/arm/sp-pc-usage-t.s: Correct.
* gas/arm/sp-pc-usage-t.d: Update accordingly.
15 files changed:
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/ldr-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-t-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-t-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-t-bad.s [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-t.d [new file with mode: 0644]
gas/testsuite/gas/arm/ldr-t.s [new file with mode: 0644]
gas/testsuite/gas/arm/ldr.d [new file with mode: 0644]
gas/testsuite/gas/arm/ldr.s [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-usage-t.d
gas/testsuite/gas/arm/sp-pc-usage-t.s