From: Wolfgang Denk Date: Fri, 15 Feb 2008 09:43:57 +0100 Subject: [U-Boot-Users] [PATCH] Add call command on PPC In-Reply-To: Your message of "Fri, 15 Feb 2008 02:14:00 CST." <19411A28-BCCB-46D1-A80A-6C31657757D2@kernel.crashing.org> Message-ID: <20080215084357.EDBAD24D11@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <19411A28-BCCB-46D1-A80A-6C31657757D2@kernel.crashing.org> you wrote: > > > I guess the real question is whether it's acceptable to pass arguments > > on the stack to such subprograms. If the answer is yes, why not simply > > use varargs? > > for my purposes the answer is no. Then you cannot use C code. Or you rely on the ABI, and then you can use "go" as well. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Generally speaking, there are other ways to accomplish whatever it is that you think you need ... - Doug Gwyn