Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

microblaze: Change libgcc-style functions from lib-y to obj-y

Following precedence set by MIPs:
"[MIPS] Change libgcc-style functions from lib-y to obj-y"
(sha1: f7c2778151f32581ea9ec567d01d5d85209fcfe6),
switch the goal definition for kbuild to obj-y to ensure
object files linked in vmlinux if only modules were users
of these functions.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

authored by

David Holsgrove and committed by
Michal Simek
ef264cf0 08e6bbda

+3 -11
+3 -11
arch/microblaze/lib/Makefile
··· 18 18 19 19 lib-y += uaccess_old.o 20 20 21 - lib-y += ashldi3.o 22 - lib-y += ashrdi3.o 23 - lib-y += cmpdi2.o 24 - lib-y += divsi3.o 25 - lib-y += lshrdi3.o 26 - lib-y += modsi3.o 27 - lib-y += muldi3.o 28 - lib-y += mulsi3.o 29 - lib-y += ucmpdi2.o 30 - lib-y += udivsi3.o 31 - lib-y += umodsi3.o 21 + # libgcc-style stuff needed in the kernel 22 + obj-y += ashldi3.o ashrdi3.o cmpdi2.o divsi3.o lshrdi3.o modsi3.o 23 + obj-y += muldi3.o mulsi3.o ucmpdi2.o udivsi3.o umodsi3.o