module.c (2fc2991175bf77395e6b15fe6b2304d3bf72da40) | module.c (1b75b05b73cdefd1d10074e9dad60812f9731a5e) |
---|---|
1/* Kernel module help for Alpha. 2 Copyright (C) 2002 Richard Henderson. 3 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation; either version 2 of the License, or 7 (at your option) any later version. 8 --- 271 unchanged lines hidden (view full) --- 280 break; 281 default: 282 printk(KERN_ERR "module %s: Unknown relocation: %lu\n", 283 me->name, r_type); 284 return -ENOEXEC; 285 reloc_overflow: 286 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) 287 printk(KERN_ERR | 1/* Kernel module help for Alpha. 2 Copyright (C) 2002 Richard Henderson. 3 4 This program is free software; you can redistribute it and/or modify 5 it under the terms of the GNU General Public License as published by 6 the Free Software Foundation; either version 2 of the License, or 7 (at your option) any later version. 8 --- 271 unchanged lines hidden (view full) --- 280 break; 281 default: 282 printk(KERN_ERR "module %s: Unknown relocation: %lu\n", 283 me->name, r_type); 284 return -ENOEXEC; 285 reloc_overflow: 286 if (ELF64_ST_TYPE (sym->st_info) == STT_SECTION) 287 printk(KERN_ERR |
288 "module %s: Relocation overflow vs section %d\n", 289 me->name, sym->st_shndx); | 288 "module %s: Relocation (type %lu) overflow vs section %d\n", 289 me->name, r_type, sym->st_shndx); |
290 else 291 printk(KERN_ERR | 290 else 291 printk(KERN_ERR |
292 "module %s: Relocation overflow vs %s\n", 293 me->name, strtab + sym->st_name); | 292 "module %s: Relocation (type %lu) overflow vs %s\n", 293 me->name, r_type, strtab + sym->st_name); |
294 return -ENOEXEC; 295 } 296 } 297 298 return 0; 299} 300 301int 302module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, 303 struct module *me) 304{ 305 return 0; 306} 307 308void 309module_arch_cleanup(struct module *mod) 310{ 311} | 294 return -ENOEXEC; 295 } 296 } 297 298 return 0; 299} 300 301int 302module_finalize(const Elf_Ehdr *hdr, const Elf_Shdr *sechdrs, 303 struct module *me) 304{ 305 return 0; 306} 307 308void 309module_arch_cleanup(struct module *mod) 310{ 311} |