[PATCH] GAS validation improvement for 32b Thumb-1 insn

Daniel Gutson dgutson@codesourcery.com
Fri Jul 10 23:36:00 GMT 2009


With the attached patch, 32-bit Thumb instructions are now correctly rejected when assembling for cores that do not support these instructions.

I tested this with the GAS test suite, including the test cases I added.

If accepted, please commit it for me since I don't have write access.

Thanks,
	Daniel.

---

2009-07-10  Daniel Gutson  <dgutson@codesourcery.com>

	gas/
	* config/tc-arm.c (md_assemble): Added validation.

	gas/testsuite
	* gas/arm/thumb-w-bad.d: New test case.
	* gas/arm/thumb-w-bad.l: New file.
	* gas/arm/thumb-w-bad.s: New file.
	* gas/arm/thumb-w-good.d: New test case.
	* gas/arm/thumb-w-good.s: New file.

-- 
Daniel Gutson
CodeSourcery
www.codesourcery.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: thumb-wide.patch
Type: text/x-diff
Size: 3925 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090710/e4e1e42f/attachment.bin>


More information about the Binutils mailing list