Re: modpost warning question

From: Sam Ravnborg
Date: Wed Jul 25 2007 - 03:51:06 EST


> >
> >For the popular architectures (i386,x86_64) we discard .exit.text at
> >runtime so here we do not see the error from ld (sadly).
>
> Fair point, wondering what we do with .exit on PPC, another thing for
> the list :)

from:
arch/ppc/kernel/vmlinux.lds.S:
/* .exit.text is discarded at runtime, not link time,
to deal with references from __bug_table */
.exit.text : { *(.exit.text) }

Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/