[patch] Thumb entry points
Richard Earnshaw
rearnsha@arm.com
Mon Feb 6 17:54:00 GMT 2006
On Sat, 2006-02-04 at 03:05, Paul Brook wrote:
> The attached patch makes the Arm linker set the low bit of the entry point
> address when the symbol is a Thumb function.
>
> Tested with cross to arm-none-eabi
> Ok?
>
> Paul
>
> 2006-02-04 Paul Brook <paul@codesourcery.com>
>
> ld/
> * emultempl/armelf.em: Include elf/arm.h.
> (arm_elf_finish): Set low address bit if enty point is a Thumb
> function.
> ld/testsuite/
> * ld-arm/arm-elf.exp: Add thumb-entry test.
> * ld-arm/thumb-entry.d: New test.
> * ld-arm/thumb-entry.s: New test.
OK.
R.
More information about the Binutils
mailing list