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: weak alias in gas on arm-elf


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



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