Re: [PATCH] Allow linker to eliminate unused functions in lib/*

From: Andrew Morton
Date: Fri Jan 15 2010 - 18:44:47 EST


On Sat, 9 Jan 2010 17:51:56 +0100
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> Allow linker to eliminate unused functions in lib/*

i386 allmodconfig:

lib/lib-syms.c:21: error: '__div64_32' undeclared here (not in a function)
lib/lib-syms.c:21: warning: type defaults to 'int' in declaration of '__div64_32'

I'll drop

lib-allow-linker-to-eliminate-unused-functions.patch
lib-allow-linker-to-eliminate-unused-functions-fix.patch
lib-allow-linker-to-eliminate-unused-functions-fix-2.patch

for now and will return the patch for warranty repairs, please.

lib-allow-linker-to-eliminate-unused-functions-fix.patch is a
linux-next thing, so if you base the next version on mainline, please
remind me to resurrect
lib-allow-linker-to-eliminate-unused-functions-fix.patch.

I have travel coming up and won't be very functional until late next
week.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/