Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Jul 2009 09:41:47 -0400
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   FreeBSD/ppc ABI
Message-ID:  <fd9cd3450907070641l45223e72p5f7147b97fc5755f@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
What's the current FreeBSD/ppc ABI register usage?  I'm writing a
proxy function that messes with some arguments before making the
target function call, and need to know which registers are free for me
to use without having to save argument registers.  From reading the
gcc source it looks like it's a strict SysV R4 ABI, leaving r0, r11,
and r12 available for me to use.  Is this the case, and are there any
others available?

Thanks,

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fd9cd3450907070641l45223e72p5f7147b97fc5755f>