* config/tc-arm.c (check_ldr_r15_aligned): New.
authorNick Clifton <nickc@redhat.com>
Thu, 13 Oct 2011 08:15:17 +0000 (08:15 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 13 Oct 2011 08:15:17 +0000 (08:15 +0000)
commit1be5fd2e2f15668fcd63974800012a7bb6b636e0
tree164187aae0c17f0a37be03a7678c875712472137
parentdfb4547188c61f6686d459919e38e63c1f7ef999
* 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