[MIPS] Change libgcc-style functions from lib-y to obj-y
authorRalf Baechle <ralf@linux-mips.org>
Tue, 26 Jun 2007 18:19:00 +0000 (20:19 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Fri, 6 Jul 2007 15:17:11 +0000 (16:17 +0100)
Reported by Eugene Surovegin <ebs@ebshome.net>.

If only modules were users of these functions they did not get linked into
the kernel proper, so later module loads would fail as well.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/lib/Makefile

index 5dad13efba7edb861607d33a81289f816dbcfa02..1c1aa9f92f6c0ebbbd7781009e03002304c5a364 100644 (file)
@@ -9,4 +9,4 @@ obj-y                   += iomap.o
 obj-$(CONFIG_PCI)      += iomap-pci.o
 
 # libgcc-style stuff needed in the kernel
-lib-y += ashldi3.o ashrdi3.o lshrdi3.o ucmpdi2.o
+obj-y += ashldi3.o ashrdi3.o lshrdi3.o ucmpdi2.o