[patch] ldr reg,=N for Thumb-2

Paul Brook paul@codesourcery.com
Mon Mar 13 22:37:00 GMT 2006


The attached below implements the "ldr reg, =N" pseudo-op Thumb unified 
assembly.

Tested with cross to arm-none-eabi.
Ok?

Paul

2006-03-13  Paul Brook  <paul@codesourcery.com>

gas/
	* config/tc-arm.c (THUMB2_LOAD_BIT): Define.
	(move_or_literal_pool): Handle 32-bit Thumb instructions.
	(do_t_ldst): Call move_or_literal_pool for =N addressing modes.
gas/testsuite/
	* gas/arm/thumb2_pool.d: New test.
	* gas/arm/thumb2_pool.s: New test.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.gas_thumb_pool
Type: text/x-diff
Size: 3725 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20060313/a797846c/attachment.bin>


More information about the Binutils mailing list