source: trunk/target/linux/generic/patches-2.6.31/029-arm_module_unresolved_weak_sym.patch @ 21952

Last change on this file since 21952 was 21952, checked in by nbd, 6 years ago

rename target/linux/generic-2.6 to generic

File size: 356 bytes
  • arch/arm/kernel/module.c

    a b apply_relocate(Elf32_Shdr *sechdrs, cons 
    120120                        return -ENOEXEC; 
    121121                } 
    122122 
     123                if ((IS_ERR_VALUE(sym->st_value) || !sym->st_value) && 
     124                    ELF_ST_BIND(sym->st_info) == STB_WEAK) 
     125                        continue; 
     126 
    123127                loc = dstsec->sh_addr + rel->r_offset; 
    124128 
    125129                switch (ELF32_R_TYPE(rel->r_info)) { 
Note: See TracBrowser for help on using the repository browser.