Changeset 12487


Ignore:
Timestamp:
07/14/09 00:38:29 (4 years ago)
Author:
BrainSlayer
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/ar531x/linux-2.6.23/arch/mips/kernel/module.c

    r12400 r12487  
    522522                sym = (Elf_Sym *)sechdrs[symindex].sh_addr 
    523523                        + ELF_MIPS_R_SYM(rel[i]); 
    524                 if (!sym->st_value) { 
     524                if (IS_ERR_VALUE(sym->st_value)) { 
    525525                        /* Ignore unresolved weak symbol */ 
    526526                        if (ELF_ST_BIND(sym->st_info) == STB_WEAK) 
     
    562562                sym = (Elf_Sym *)sechdrs[symindex].sh_addr 
    563563                        + ELF_MIPS_R_SYM(rel[i]); 
    564                 if (!sym->st_value) { 
     564                if (IS_ERR_VALUE(sym->st_value)) { 
    565565                        /* Ignore unresolved weak symbol */ 
    566566                        if (ELF_ST_BIND(sym->st_info) == STB_WEAK) 
Note: See TracChangeset for help on using the changeset viewer.