Re: PPC ELF Runtime Relocation

From: Jon Masters (jonathan@jonmasters.org)
Date: Mon Apr 21 2003 - 21:43:27 EST


On Tue, 22 Apr 2003, Jon Masters wrote:

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

Having said that and typically of situations in which one asks for advice,
I realised the solution of using -mrelocatable-lib and something similar
to reloc_got2. Either I am missing some documentation somewhere or I could
perhaps write this down at some point to help the next guy decipher it.

I knew what the got2 section was and why it needed to be relocated but not
how to generate it! :-) Anyway it works with gcc3 and so I am happy.

Cheers,

Jon.

-
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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:31 EST