lkml.org 
[lkml]   [2005]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 19/20] inflate: (arch) use proper linking
    On Mon, Oct 31, 2005 at 02:54:52PM -0600, Matt Mackall wrote:
    > inflate: remove include of lib/inflate.c and use proper linking
    >
    > - make free_mem_ptr vars nonstatic
    > - make gunzip nonstatic
    > - add gunzip prototype to new inflate.h
    > - add per-arch Makefile bits
    > - change inflate.c includes to inflate.h includes
    > - change NO_INFLATE_MALLOC to CORE
    > - compile core kernel version of inflate with -DCORE

    We need to build inflate.c with -Dstatic= to disable static data,
    and text so that we get the correct binary layout for ARM PIC
    decompressors. This patch breaks that.

    (Unfortunately there's no other way to get GCC to produce what we
    require.)

    --
    Russell King
    Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
    maintainer of: 2.6 Serial core
    -
    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-10-31 23:47    [W:0.019 / U:59.548 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site