Thread (1 message) 1 message, 1 author, 2000-07-01

Re: (Manually) relocate PPC code?

From: Daniel Jacobowitz <hidden>
Date: 2000-07-01 22:25:12

On Sat, Jul 01, 2000 at 08:39:14PM +0200, Wolfgang Denk wrote:
Hi,

I need to write some C code on PPC which must stay relocatable, resp.
I must relocate it myself (all of code and data etc.). I'm using GNU
tools.

This is for a standalone application, _NOT_ running under Linux.

Where can I find documentation about things like the format of the
GOT etc., or ideally existing _simple_ (read: small) example code?

All hints, pointers, ideas appreciated - TIA!
It's not terribly small, but - you REALLY should read ld.so.1's source.
There may be more information in the ABI document floating around, too.

Dan

/--------------------------------\  /--------------------------------\
|       Daniel Jacobowitz        |__|        SCS Class of 2002       |
|   Debian GNU/Linux Developer    __    Carnegie Mellon University   |
|         dan@debian.org         |  |       dmj+@andrew.cmu.edu      |
\--------------------------------/  \--------------------------------/

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help