• Dave Jones's avatar
    kbuild: reference_discarded addition · 442ce844
    Dave Jones authored
    Error: ./fs/quota_v2.o .opd refers to 0000000000000020 R_PPC64_ADDR64    .exit.text
    
    Been carrying this for some time in Red Hat trees.
    
    Keith Ownes <kaos@sgi.com> commented:
    For our future {in}sanity, add a comment that this is the ppc .opd
    section, not the ia64 .opd section.  ia64 .opd should not point to
    discarded sections.
    
    Any idea why ppc .opd points to discarded sections when ia64 does not?
    AFAICT no ia64 object has a useful .opd section, they are all empty or
    (sometimes) a dummy entry which is 1 byte long.  ia64 .opd data is
    built at link time, not compile time.
    Signed-off-by: default avatarDave Jones <davej@redhat.com>
    Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
    442ce844
reference_discarded.pl 3.25 KB