diff options
Diffstat (limited to 'arch/powerpc/kernel/module_32.c')
| -rw-r--r-- | arch/powerpc/kernel/module_32.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/powerpc/kernel/module_32.c b/arch/powerpc/kernel/module_32.c index f832773fc28e..0b6d79617d7b 100644 --- a/arch/powerpc/kernel/module_32.c +++ b/arch/powerpc/kernel/module_32.c | |||
| @@ -174,17 +174,6 @@ int module_frob_arch_sections(Elf32_Ehdr *hdr, | |||
| 174 | return 0; | 174 | return 0; |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | int apply_relocate(Elf32_Shdr *sechdrs, | ||
| 178 | const char *strtab, | ||
| 179 | unsigned int symindex, | ||
| 180 | unsigned int relsec, | ||
| 181 | struct module *module) | ||
| 182 | { | ||
| 183 | printk(KERN_ERR "%s: Non-ADD RELOCATION unsupported\n", | ||
| 184 | module->name); | ||
| 185 | return -ENOEXEC; | ||
| 186 | } | ||
| 187 | |||
| 188 | static inline int entry_matches(struct ppc_plt_entry *entry, Elf32_Addr val) | 177 | static inline int entry_matches(struct ppc_plt_entry *entry, Elf32_Addr val) |
| 189 | { | 178 | { |
| 190 | if (entry->jump[0] == 0x3d600000 + ((val + 0x8000) >> 16) | 179 | if (entry->jump[0] == 0x3d600000 + ((val + 0x8000) >> 16) |
