linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mackerras <paulus@samba.org>
To: "Tjernlund" <tjernlund@tjernlund.se>
Cc: Linuxppc-Dev <linuxppc-dev@ozlabs.org>,
	'Linh Dang' <linhd@nortel.com>,
	uclibc@uclibc.org
Subject: Re: Linux process ABI broken in 2.6?
Date: Fri, 9 Dec 2005 14:16:03 +1100	[thread overview]
Message-ID: <17304.63219.580281.900406@cargo.ozlabs.ibm.com> (raw)
In-Reply-To: <000e01c5fc4c$25b17cb0$020120ac@Jocke>

Tjernlund writes:

> Secion 8.4.1 in
> http://refspecs.freestandards.org/LSB_3.1.0/LSB-Core-PPC32/LSB-Core-PPC32.html#PROCESSINITIALIZATION
> 
> says:
> "Contrary to what is stated in the Registers part of chapter 3 of the System V Application Binary Interface PowerPC Processor
> Supplement there are no values set in registers r3, r4, r5, r6 and r7. Instead the values specified to appear in all of those
> registers except r7 are placed on the stack. The value to be placed into register r7, the termination function pointer is not passed
> to the process."
> 
> How do one not pass a termination function in r7 other than setting
> r7 to zero?

"Not passed" means that there is no value provided in any register or
word of memory that should be taken to be the address of a termination
function.

Paul.

  parent reply	other threads:[~2005-12-09  3:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-08 23:07 Linux process ABI broken in 2.6? Tjernlund
2005-12-09  2:05 ` Benjamin Herrenschmidt
2005-12-09  3:16 ` Paul Mackerras [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-12-09 11:05 Joakim Tjernlund
2005-12-12  2:28 ` Paul Mackerras
2005-12-11 15:11 Joakim Tjernlund
2005-12-12  8:09 Joakim Tjernlund

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=17304.63219.580281.900406@cargo.ozlabs.ibm.com \
    --to=paulus@samba.org \
    --cc=linhd@nortel.com \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=tjernlund@tjernlund.se \
    --cc=uclibc@uclibc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).