[lkml]   [2009]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH v2 0/4] Add support for compiling with -ffunction-sections -fdata-sections
    Anders Kaseorg wrote:
    > On Tue, 21 Apr 2009, Américo Wang wrote:
    >> Nice work! But, don't -ffunction-sections and -fdata-sections have
    >> collisions with '-g' and 'gprof'? Just like what gcc(1) describes.
    > That description seems to be long obsolete. gcc used to warn that
    > -ffunction-sections may affect debugging, but that warning was disabled
    > for ELF targets in 1999, presumably because ELF has always supported
    > arbitrary section names even though some other object formats have issues.
    > <>
    > I know that debugging under -ffunction-sections -g works fine on at least
    > x86, which is the only platform on which we currently propose to provide
    > this option, and based on that message it looks like other platforms are
    > fine too.

    Would you know actual version of gcc from which supports the combination of
    -ffunction-sections and -g?

    Thank you,

    Masami Hiramatsu

    Software Engineer
    Hitachi Computer Products (America) Inc.
    Software Solutions Division


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2009-04-22 13:41    [W:0.023 / U:90.344 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site