[lkml]   [2007]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Immediate Values x86 Optimization Declare Discarded Instruction
    Mathieu Desnoyers wrote:
    > nitpicking :
    >> .section __discard,"a",@progbits
    > could we simply declare a
    > .section __discard,"",@progbits instead ?
    > I think this should remove the need to tweak the linker script, since
    > the section would not be allocated.

    The allocation flag is a loader property, not a linker property. It
    would still be manifest in the vmlinux file; I think this is
    undesirable. Perhaps not a big deal, but neither is adding a /DISCARD/
    statement to the linker script:

    /DISCARD/ : { *(__discard) }

    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: 2007-11-14 20:07    [W:0.020 / U:31.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site