lkml.org 
[lkml]   [2001]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] a more efficient BUG() macro
    Paul Gortmaker wrote:
    >
    > Anyway this small patch makes sure there is only one "kernel BUG..." string,
    > and dumps __FILE__ in favour of an address value since System.map data is
    > needed to make full use of the BUG() dump anyways. The memory stats of two
    > otherwise identical kernels:
    >

    Shouldn't the linker drop duplicate strings?

    info gcc mentions that gcc merges duplicate strings, but it seems that
    it doesn't work (gcc-2.96-69, binutils-2.10.0.18-1).

    --
    Manfred
    -
    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 13:15    [W:0.222 / U:0.500 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site