mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* vmlinux.lds.h initcall update breaks ABI prefixed arches
@ 2008-09-10  6:49 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2008-09-10  6:49 UTC (permalink / raw)
  To: arjan; +Cc: lkml

commits ac9103dd8e4dc65c110d6cba9a3380c6c617ffa7 and
660625fb93f2fc0e633da9cb71d13d895b385f64 break any arch that has an
ABI prefix (like Blackfin).  when declaring symbols in vmlinux.lds.h,
you must wrap them in VMLINUX_SYMBOL(), else you break a couple of
arches.

in this case, the async/device initcall start/end results in:
init/built-in.o: In function `do_async_initcalls':
init/main.c:(.init.text+0x158): undefined reference to `__async_initcall_end'
init/main.c:(.init.text+0x15c): undefined reference to `__async_initcall_start'
init/main.c:(.init.text+0x160): undefined reference to `__async_initcall_end'
init/main.c:(.init.text+0x164): undefined reference to `__async_initcall_start'
init/built-in.o: In function `do_initcalls':
init/main.c:(.init.text+0x2cc): undefined reference to `__async_initcall_start'
init/main.c:(.init.text+0x2d0): undefined reference to `__async_initcall_start'
init/main.c:(.init.text+0x2f4): undefined reference to `__device_initcall_end'
init/main.c:(.init.text+0x2f8): undefined reference to `__device_initcall_end'
init/main.c:(.init.text+0x30a): undefined reference to `__async_initcall_end'
init/main.c:(.init.text+0x30e): undefined reference to `__async_initcall_end'
make: *** [.tmp_vmlinux1] Error 1
-mike

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-10  6:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-10  6:49 vmlinux.lds.h initcall update breaks ABI prefixed arches Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®