lkml.org 
[lkml]   [2004]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] fixing sendfile on 64bit architectures
From
Date
Andrew Morton <akpm@osdl.org> writes:
>
> An alternative might be to remove all the ifdefs, build with
> -ffunction-sections and let the linker drop any unreferenced code...

I am not sure if it will handle EXPORT_SYMBOL correctly. Sometimes
we have the situation that a function is only referenced from EXPORT_SYMBOL,
but we do not want the linker to drop it because modules may use it.
(this regularly causes problems in lib-y files)

If it did it would be great to use though. I am sure there are other
dead functions around too. Or maybe someday we could even use the
IPA functionality in gcc 3.4 ...

-Andi

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.019 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site