This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Thumb entry points
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Paul Brook <paul at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 06 Feb 2006 17:15:53 +0000
- Subject: Re: [patch] Thumb entry points
- References: <200602040305.13196.paul@codesourcery.com>
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.