X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.33%2F029-arm_module_unresolved_weak_sym.patch;fp=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.33%2F029-arm_module_unresolved_weak_sym.patch;h=0000000000000000000000000000000000000000;hb=da1bb88a2b900f0392b731ec47c5e1bff956fd8f;hp=8a3b2e23cb9a9a04aa32d40b356c565254da1510;hpb=6117c04c9416b295347fb45c37e430f01df1d0d9;p=openwrt%2Fstaging%2Fwigyori.git diff --git a/target/linux/generic-2.6/patches-2.6.33/029-arm_module_unresolved_weak_sym.patch b/target/linux/generic-2.6/patches-2.6.33/029-arm_module_unresolved_weak_sym.patch deleted file mode 100644 index 8a3b2e23cb..0000000000 --- a/target/linux/generic-2.6/patches-2.6.33/029-arm_module_unresolved_weak_sym.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/arch/arm/kernel/module.c -+++ b/arch/arm/kernel/module.c -@@ -121,6 +121,10 @@ apply_relocate(Elf32_Shdr *sechdrs, cons - return -ENOEXEC; - } - -+ if ((IS_ERR_VALUE(sym->st_value) || !sym->st_value) && -+ ELF_ST_BIND(sym->st_info) == STB_WEAK) -+ continue; -+ - loc = dstsec->sh_addr + rel->r_offset; - - switch (ELF32_R_TYPE(rel->r_info)) {