lkml.org 
[lkml]   [2022]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH v1 2/4] objtool: Add R_REL32 macro
    Hi!

    On Wed, May 25, 2022 at 05:58:15PM +0200, Christophe Leroy wrote:
    > In order to allow other architectures than x86 to use 32 bits
    > relative relocations, define a R_REL32 macro that each architecture
    > will define, in the same way as already done for R_NONE.

    What are the expected semantics of this relocation? It is PC-relative,
    sure, but what is the destination? S+A-P always? That works for both
    x86-64 and for PowerPC, but it should be written doen somewhere :-)


    Segher

    \
     
     \ /
      Last update: 2022-05-25 18:51    [W:3.249 / U:0.208 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site