Messages in this thread | | | Date | Thu, 20 May 2004 15:25:10 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] fixing sendfile on 64bit architectures |
| |
Jesse Barnes <jbarnes@engr.sgi.com> wrote: > > On Thursday, May 20, 2004 5:56 pm, Andrew Morton wrote: > > An alternative might be to remove all the ifdefs, build with > > -ffunction-sections and let the linker drop any unreferenced code... > > That would probably be even more confusing than the #ifdefs. At least with > those you know that you need to check whether the current code will be > called... >
Me no understand Jesse.
Removing the ifdefs and letting the linker do the job has the advantage that the compiler gets to check more code for you. - 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/
| |