* config/tc-arm.c (encode_arm_addr_mode_2): Fix
authorJie Zhang <jie.zhang@analog.com>
Wed, 25 Aug 2010 05:25:09 +0000 (05:25 +0000)
committerJie Zhang <jie.zhang@analog.com>
Wed, 25 Aug 2010 05:25:09 +0000 (05:25 +0000)
commit23a10334b22d9edadb33826da1d193121f2eda93
treefd373763dbdf319aaf73adb4ca6ee9702bf694aa
parent673bfd454bcb059022eb237ccae068c6a4446e49
* config/tc-arm.c (encode_arm_addr_mode_2): Fix
BAD_PC_ADDRESSING condition.

testsuite/
* gas/arm/ldst-pc.d: New test.
* gas/arm/ldst-pc.s: New test.
* gas/arm/sp-pc-validations-bad.s: `str r0,[pc,#4]' is valid.
* gas/arm/sp-pc-validations-bad.l: Adjust accordingly.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/ldst-pc.d [new file with mode: 0644]
gas/testsuite/gas/arm/ldst-pc.s [new file with mode: 0644]
gas/testsuite/gas/arm/sp-pc-validations-bad.l
gas/testsuite/gas/arm/sp-pc-validations-bad.s