lkml.org 
[lkml]   [2003]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [MODULES] fix weak symbol handling
    On Tue, Jan 14, 2003 at 02:11:30PM +1100, Rusty Russell wrote:
    > PPC64 (not in tree yet):
    >
    > + /* REL24 references to (external) .function won't
    > + resolve; deal with that below */
    > + if (!sym->st_value
    > + && ELF64_R_TYPE(rela[i].r_info) != R_PPC_REL24) {
    > + printk("%s: Unknown symbol %s (index %u)\n",
    > + me->name, strtab + sym->st_name,
    > + sym->st_shndx);
    > + return -ENOENT;
    > + }
    >
    > That's *why* find_symbol_internal() is not static, and why we don't
    > fail in simplify_symbol() 8(
    >
    > Hope that clarifies,

    Not really. Send me the whole file?


    r~
    -
    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:32    [W:0.021 / U:0.556 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site