Re: [PATCH] blackfin / h8300 build error fix

From: Mike Frysinger
Date: Wed Jul 30 2008 - 12:11:49 EST


On Wed, Jul 30, 2008 at 11:58 AM, Yoshinori Sato wrote:
> init/main.c:781: undefined reference to `___early_initcall_end'
>
> Signed-off-by: Yoshinori Sato <ysato@xxxxxxxxxxxxxxxxxxxx>
>
> ---
> include/asm-generic/vmlinux.lds.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
> index 6d88a92..07b2784 100644
> --- a/include/asm-generic/vmlinux.lds.h
> +++ b/include/asm-generic/vmlinux.lds.h
> @@ -362,7 +362,7 @@
>
> #define INITCALLS \
> *(.initcallearly.init) \
> - __early_initcall_end = .; \
> + VMLINUX_SYMBOL(__early_initcall_end) = .; \
> *(.initcall0.init) \
> *(.initcall0s.init) \
> *(.initcall1.init) \
> --
> 1.5.6.3

nice catch, thanks ... looks like BUG_TABLE, TRACEDATA, and PERCPU are
also broken, but blackfin/etc... arent using those which is why we
havent noticed yet ...
-mike
--
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/