ar71xx: fix random wireless mac address on the TEW-632BRP/DIR-615 boards
[openwrt.git] / target / linux / generic-2.6 / patches-2.6.28 / 230-add-r_arm_v4bx-relocation-for-arm-module-loader.patch
index 3fac7ab..3e8d1fb 100644 (file)
@@ -1,8 +1,6 @@
-diff --git a/arch/arm/include/asm/elf.h b/arch/arm/include/asm/elf.h
-index a58378c..ce3b36e 100644
 --- a/arch/arm/include/asm/elf.h
 +++ b/arch/arm/include/asm/elf.h
-@@ -50,6 +50,7 @@  typedef struct user_fp elf_fpregset_t;
+@@ -50,6 +50,7 @@ typedef struct user_fp elf_fpregset_t;
  #define R_ARM_ABS32   2
  #define R_ARM_CALL    28
  #define R_ARM_JUMP24  29
@@ -10,11 +8,9 @@ index a58378c..ce3b36e 100644
  
  /*
   * These are used to set parameters in the core dumps.
-diff --git a/arch/arm/kernel/module.c b/arch/arm/kernel/module.c
-index dab48f2..9f509fd 100644
 --- a/arch/arm/kernel/module.c
 +++ b/arch/arm/kernel/module.c
-@@ -132,6 +132,15 @@  apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
+@@ -136,6 +136,15 @@ apply_relocate(Elf32_Shdr *sechdrs, cons
                        *(u32 *)loc |= offset & 0x00ffffff;
                        break;
  
@@ -30,4 +26,3 @@ index dab48f2..9f509fd 100644
                default:
                        printk(KERN_ERR "%s: unknown relocation: %u\n",
                               module->name, ELF32_R_TYPE(rel->r_info));
-
This page took 0.025057 seconds and 4 git commands to generate.