Messages in this thread | | | Date | Wed, 30 Jul 2008 12:11:37 -0400 | From | "Mike Frysinger" <> | Subject | Re: [PATCH] blackfin / h8300 build error fix |
| |
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@users.sourceforge.jp> > > --- > 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
| |