All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: linuxppc-dev@lists.linuxppc.org
Subject: Re: (Manually) relocate PPC code?
Date: Sat, 1 Jul 2000 15:25:12 -0700	[thread overview]
Message-ID: <20000701152511.A32182@drow.them.org> (raw)
In-Reply-To: <200007011839.UAA29375@denx.local.net>; from wd@denx.de on Sat, Jul 01, 2000 at 08:39:14PM +0200


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/

  reply	other threads:[~2000-07-01 22:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-01 18:39 (Manually) relocate PPC code? Wolfgang Denk
2000-07-01 22:25 ` Daniel Jacobowitz [this message]
2000-07-03  9:45 ` Gabriel Paubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000701152511.A32182@drow.them.org \
    --to=drow@false.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.