weak alias in gas on arm-elf

Brian Sidebotham micros@valvers.com
Mon Jul 2 14:18:00 GMT 2007


Thankyou for your response Daniel, that sorted me out.

Brian Sidebotham.

Daniel Jacobowitz wrote:
> On Mon, Jul 02, 2007 at 01:36:34PM +0100, Brian Sidebotham wrote:
>> .weak works as I expect, and the symbols it creates are branches to the reset 
>> vector (pc=0).
> 
> That's your mistake.  .weak does not create symbols; like .globl, it
> changes the visibility of a label.
> 
> __handler1:
> 	bl	handler1
> 
> 	.weak handler1
> handler1:
> 	bl	startup
> 



More information about the Binutils mailing list