This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Thumb entry points


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]