diff options
| author | Felix Fietkau <nbd@nbd.name> | 2017-01-10 18:15:39 +0100 |
|---|---|---|
| committer | Felix Fietkau <nbd@nbd.name> | 2017-01-11 13:09:33 +0100 |
| commit | b7bee2858b582164d55c32be44df3fcb42cafc78 (patch) | |
| tree | d908808a56549ec42e1b269421fd1be2dbd57f45 /target/linux/generic/patches-4.1/310-arm_module_unresolved_weak_sym.patch | |
| parent | b1dbe6028eed57a89ae94c5e61e0b1e65f3aeb80 (diff) | |
| download | mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.zip mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.gz mtk-20170518-b7bee2858b582164d55c32be44df3fcb42cafc78.tar.bz2 | |
kernel: remove linux 4.1 support
The only target still referencing it is omap24xx, and it is marked as
broken.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'target/linux/generic/patches-4.1/310-arm_module_unresolved_weak_sym.patch')
| -rw-r--r-- | target/linux/generic/patches-4.1/310-arm_module_unresolved_weak_sym.patch | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/target/linux/generic/patches-4.1/310-arm_module_unresolved_weak_sym.patch b/target/linux/generic/patches-4.1/310-arm_module_unresolved_weak_sym.patch deleted file mode 100644 index 9210c1d..0000000 --- a/target/linux/generic/patches-4.1/310-arm_module_unresolved_weak_sym.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/arch/arm/kernel/module.c -+++ b/arch/arm/kernel/module.c -@@ -83,6 +83,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)) { |
