lkml.org 
[lkml]   [2004]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 14:03    [W:0.020 / U:0.576 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site