]> git.hungrycats.org Git - linux/commitdiff
[ARM] Report more detail when unable to resolve module relocations.
authorRussell King <rmk@flint.arm.linux.org.uk>
Sun, 4 Jan 2004 20:51:41 +0000 (20:51 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 4 Jan 2004 20:51:41 +0000 (20:51 +0000)
arch/arm/kernel/module.c

index 6d1f4a8d142664698e22fefff13fe20d0119a37b..a16951f49457051c8ec5aa8985ab0d37ce6dc166 100644 (file)
@@ -123,9 +123,10 @@ apply_relocate(Elf32_Shdr *sechdrs, const char *strtab, unsigned int symindex,
                        if (offset & 3 ||
                            offset <= (s32)0xfc000000 ||
                            offset >= (s32)0x04000000) {
-                               printk(KERN_ERR "%s: unable to fixup "
-                                      "relocation: out of range\n",
-                                      module->name);
+                               printk(KERN_ERR
+                                      "%s: relocation out of range, section "
+                                      "%d reloc %d sym '%s'\n", module->name,
+                                      relindex, i, strtab + sym->st_name);
                                return -ENOEXEC;
                        }