Benjamin Herrenschmidt 3d98ffbffb powerpc: Fix lwsync feature fixup vs. modules on 64-bit
Anton's commit enabling the use of the lwsync fixup mechanism on 64-bit
breaks modules. The lwsync fixup section uses .long instead of the
FTR_ENTRY_OFFSET macro used by other fixups sections, and thus will
generate 32-bit relocations that our module loader cannot resolve.

This changes it to use the same type as other feature sections.

Note however that we might want to consider using 32-bit for all the
feature fixup offsets and add support for R_PPC_REL32 to module_64.c
instead as that would reduce the size of the kernel image. I'll leave
that as an exercise for the reader for now...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-02-26 18:29:17 +11:00
..
2010-02-01 14:00:30 +11:00
2009-09-08 17:53:04 -07:00
2009-12-10 20:08:15 -06:00
2008-08-18 21:40:03 +02:00
2008-08-04 13:18:17 +10:00
2009-03-24 11:02:58 +02:00
2009-11-05 16:51:05 +11:00
2009-11-05 16:49:53 +11:00
2009-12-09 17:09:33 +11:00
2009-10-30 17:21:28 +11:00
2009-11-05 16:50:26 +11:00
2009-04-07 15:18:58 +10:00
2009-12-09 17:10:37 +11:00
2010-02-17 14:03:17 +11:00
2008-10-15 11:31:54 +11:00
2008-09-06 19:30:15 +01:00
2009-04-01 08:59:16 -07:00
2009-08-28 14:24:10 +10:00