microblaze: Get module loading working
authorJohn Williams <john.williams@petalogix.com>
Thu, 23 Jul 2009 04:56:49 +0000 (14:56 +1000)
committerMichal Simek <monstr@monstr.eu>
Mon, 27 Jul 2009 07:03:17 +0000 (09:03 +0200)
commitfadf2e60a6dc7267658fa0c9e3bef13c699c7e1f
tree1a3252df006b96a2d3b8f3e0782bd642585e9d38
parentbfc0ca0d33e24fca5b89acb378a8a9712ffe22b6
microblaze: Get module loading working

New reloc type R_MICROBLAZE_32_PCREL_LO requires a null handler (no work to do).

Remove legacy hack for broken linker pre gcc-4.1.1, that required us to extract
an offset from the code, add it to the addend, then rewrite the instruction.

Fixup the invalid reloc type error output.

Boot tested with the xilinx_emaclite ethernet driver.

Signed-off-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
arch/microblaze/kernel/module.c