Commit 45b38a50 authored by Russell King's avatar Russell King

[ARM] Report more detail when unable to resolve module relocations.

parent 054143a0
...@@ -123,9 +123,10 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex, ...@@ -123,9 +123,10 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
if (offset & 3 || if (offset & 3 ||
offset <= (s32)0xfc000000 || offset <= (s32)0xfc000000 ||
offset >= (s32)0x04000000) { offset >= (s32)0x04000000) {
printk(KERN_ERR "%s: unable to fixup " printk(KERN_ERR
"relocation: out of range\n", "%s: relocation out of range, section "
module->name); "%d reloc %d sym '%s'\n", module->name,
relindex, i, strtab + sym->st_name);
return -ENOEXEC; return -ENOEXEC;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment