PPC ELF Runtime Relocation

Jon Masters (jonathan@jonmasters.org)
Tue, 22 Apr 2003 02:45:52 +0100 (BST)


Hi,

I need some advice on some specifics of arch/ppc/kernel/setup.c

There is some code I am working on which works correctly with OpenFirmware
and makes client interface calls to do setup as expected however in the
final arrangement it (like Linux) is not loaded at the original link
address. I need therefore to do something similar to the kludge used in
PPC Linux during early_init.

I cannot simply relocate the code to the link address as that will nuke
the OF interface before I am done using package instances therein.

Would a resident guru please get in touch off list if able to help.

Cheers,

Jon.

P.S. I apologise if I should have asked this question in a more PPC
specific forum - please let me know privately if so, where I should post.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/