* klibc: Need psABIs and #defines
@ 2002-08-09 22:43 H. Peter Anvin
0 siblings, 0 replies; only message in thread
From: H. Peter Anvin @ 2002-08-09 22:43 UTC (permalink / raw)
To: linux-kernel
Hi all,
I could use some help with portability for non-x86 platforms. In
particular, I need to figure out how to make crt0.[cS] to work on
various platforms, which unfortunately doesn't seem to be all that
obvious. Unfortunately the SysV ABI creators didn't do the obvious
thing, which would have been to call _start() with its parameters
using the standard C calling sequence; instead, each platform seems to
put things on the stack in various ways (the sparc, for example, needs
a register window save area.)
a) If you'd be willing to write crt0.c/crt0.S for any platform, let me
know.
b) If you know where to get psABIs other than x86, x86-64, mips32 and
sparc32, let me know.
c) If you know what #ifdefs one can use to test for any platform, let
me know...
-hpa
--
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
http://www.zytor.com/~hpa/puzzle.txt <amsp@zytor.com>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-08-09 22:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-09 22:43 klibc: Need psABIs and #defines H. Peter Anvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox