linux/arch/ia64/hp/sim
Al Viro 7f2084fa55 [kbuild] handle exports in lib-y objects reliably
Collect the symbols exported by anything that goes into lib.a and
add an empty object (lib-exports.o) with explicit undefs for each
of those to obj-y.

That allows to relax the rules regarding the use of exports in
lib-* objects - right now an object with export can be in lib-*
only if we are guaranteed that there always will be users in
built-in parts of the tree, otherwise it needs to be in obj-*.
As the result, we have an unholy mix of lib- and obj- in lib/Makefile
and (especially) in arch/*/lib/Makefile.  Moreover, a change in
generic part of the kernel can lead to mysteriously missing exports
on some configs.  With this change we don't have to worry about
that anymore.

One side effect is that built-in.o now pulls everything with exports
from the corresponding lib.a (if such exists).  That's exactly what
we want for linking vmlinux and fortunately it's almost the only thing
built-in.o is used in.  arch/ia64/hp/sim/boot/bootloader is the only
exception and it's easy to get rid of now - just turn everything in
arch/ia64/lib into lib-* and don't bother with arch/ia64/lib/built-in.o
anymore.

[AV: stylistic fix from Michal folded in]

Acked-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2016-08-07 23:46:30 -04:00
..
boot [kbuild] handle exports in lib-y objects reliably 2016-08-07 23:46:30 -04:00
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim.S Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_console.c [IA64] Cleanup HPSIM code (was: Re: Enable early console for Ski simulator) 2007-09-01 02:52:25 -07:00
hpsim_irq.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_machvec.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
hpsim_setup.c hpsim, initialize chip for assigned irqs 2012-03-08 12:26:30 -08:00
hpsim_ssc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simeth.c net: pass info struct via netdevice notifier 2013-05-28 13:11:01 -07:00
simscsi.c ia64: don't use module_init in non-modular sim/simscsi.c code 2015-06-16 14:12:30 -04:00
simserial.c tty: Replace TTY_IO_ERROR bit tests with tty_io_error() 2016-04-30 09:26:55 -07:00