lkml.org 
[lkml]   [2002]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: in-kernel linking issues
    On Fri, Nov 15, 2002 at 04:51:46AM -0800, Richard Henderson wrote:
    > to be used like so
    >
    > ld -T z.ld -shared -o z.so z.o

    I'm slightly worried about this. For things like shared libraries to be
    relocatable on ARM on current toolchains, you need to build with -fPIC.
    This introduces a measurable overhead to all code execution which our
    current model does not. (Namely all symbol references go via the GOT
    table.)

    --
    Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux
    http://www.arm.linux.org.uk/personal/aboutme.html
    -
    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:31    [W:0.021 / U:29.948 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site