weak alias in gas on arm-elf

Daniel Jacobowitz drow@false.org
Mon Jul 2 13:23:00 GMT 2007

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.

	bl	handler1

	.weak handler1
	bl	startup

Daniel Jacobowitz

More information about the Binutils mailing list