Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2017 19:03:57 -0500
From:      Justin Hibbits <chmeeedalf@gmail.com>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org>
Subject:   Re: Question for powerpc64 lib32 (powerpc) support: what ABI is the powerpc code supposed to be using?
Message-ID:  <CAHSQbTD8RGw6FBA0Uz2vrgOndJcvuLQZjTe_rsOSmqf9UMca=g@mail.gmail.com>
In-Reply-To: <618F5419-0BB7-496E-B1B8-DA8BE6D54A58@dsl-only.net>
References:  <618F5419-0BB7-496E-B1B8-DA8BE6D54A58@dsl-only.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Mark

On Oct 28, 2017 17:08, "Mark Millard" <markmi@dsl-only.net> wrote:

powerpc64 and powerpc have very different stack handling
rules for FreeBSD. As an example, powerpc does not require
red-zones for signal handling in the kernel but powerpc64
does.

For lib32 support, what ABI is the powerpc code supposed
to follow in the powerpc64 environment? What style of
stack handling (and related register usage) is supposed
to be in use? If it is distinct from powerpc native's
ABI, what documentation should be looked at for the ABI?

===
Mark Millard
markmi at dsl-only.net


PowerPC via lib32 should be using the 32-bit svr4 ABI. If you see any
discrepancy in that, it's a bug that needs fixed.

- Justin



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