[PATCH 03/14] ARM: v6k: remove CPU_32v6K dependencies in asm/spinlock.h
nicolas.pitre at linaro.org
Wed Jan 26 16:06:40 EST 2011
On Wed, 26 Jan 2011, Dave Martin wrote:
> On Wed, Jan 26, 2011 at 3:52 PM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
> > So I don't think weak symbols work like we want them to.
> That was the conclusion I came to also ... the linker seems to resolve
> references in each object before discarding sections, so the weak
> reference has already become concrete and section discard breaks it.
Well, I must add to the chorus.
And it seems to be impossible to obtain the name of the currently active
section from gas either, which would have made the conditional omission
of the fixup possible, or similar.
More information about the linux-arm-kernel