[Patch, AArch64, 1/5] backport recent fixes to 2.23 - add missing alignment check

Yufeng Zhang Yufeng.Zhang@arm.com
Mon Feb 11 22:54:00 GMT 2013


This patch adds missing alignment check to load/store uimm12 immediate 
offset.  It was committed to the trunk at:

http://sourceware.org/ml/binutils-cvs/2012-10/msg00058.html

OK for 2_23-branch?

Thanks,
Yufeng

opcodes/

	* aarch64-opc.c (operand_general_constraint_met_p): Change to
	check the alignment of addr.offset.imm instead of that of
	shifter.amount for operand type AARCH64_OPND_ADDR_UIMM12.
		
gas/testsuite/
	
	* gas/aarch64/illegal-2.s: Add test case.
	* gas/aarch64/illegal-2.l: Likewise.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-fix-alignment-check.patch
Type: text/x-patch
Size: 1096 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20130211/b92c10b6/attachment.bin>


More information about the Binutils mailing list