module.c (a02001086bbfb4da35d1228bebc2f1b442db455f) module.c (4ed89f2228061422ce5f62545fd0b6f6648bd2cc)
1/*
2 * linux/arch/arm/kernel/module.c
3 *
4 * Copyright (C) 2002 Russell King.
5 * Modified for nommu by Hyok S. Choi
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 237 unchanged lines hidden (view full) ---

246 ((offset & 0x0700) << 4) |
247 (offset & 0x00ff));
248 *(u16 *)loc = __opcode_to_mem_thumb16(upper);
249 *(u16 *)(loc + 2) = __opcode_to_mem_thumb16(lower);
250 break;
251#endif
252
253 default:
1/*
2 * linux/arch/arm/kernel/module.c
3 *
4 * Copyright (C) 2002 Russell King.
5 * Modified for nommu by Hyok S. Choi
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 237 unchanged lines hidden (view full) ---

246 ((offset & 0x0700) << 4) |
247 (offset & 0x00ff));
248 *(u16 *)loc = __opcode_to_mem_thumb16(upper);
249 *(u16 *)(loc + 2) = __opcode_to_mem_thumb16(lower);
250 break;
251#endif
252
253 default:
254 printk(KERN_ERR "%s: unknown relocation: %u\n",
254 pr_err("%s: unknown relocation: %u\n",
255 module->name, ELF32_R_TYPE(rel->r_info));
256 return -ENOEXEC;
257 }
258 }
259 return 0;
260}
261
262struct mod_unwind_map {

--- 94 unchanged lines hidden ---
255 module->name, ELF32_R_TYPE(rel->r_info));
256 return -ENOEXEC;
257 }
258 }
259 return 0;
260}
261
262struct mod_unwind_map {

--- 94 unchanged lines hidden ---