[lkml]   [2002]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] x86 Boot enhancements, pic 16 4/9
    On Fri, 5 Apr 2002, Martin Mares wrote:

    > For such purposes, it would be wonderful if somebody could teach gas
    > how to assemble absolute code and make real location of code and base
    > for calculation of symbols independent. It probably could be done with
    > sections and a cleverly written ldscript (modulo ld bugs), but it's
    > nowhere near elegant.

    The location of code is already independent from symbol addresses. The
    default location is identity-mapped to addresses but that can be changed.
    You normally do that by setting a different LMA in a linker script with
    the "AT" keyword.

    + Maciej W. Rozycki, Technical University of Gdansk, Poland +
    + e-mail:, PGP key available +

    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: 2005-03-22 13:25    [W:0.020 / U:1.372 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site