On Mon, Feb 15, 2010 at 12:19:24PM +0100, Alexander Graf wrote:
> So what you really want is something like
> 
> #ifdef CONFIG_LINUX_USER
> /* exec return value is always 0 */
> env->gpr[3] = 0;
> #endif
> 
> just after the #endif in your patch. If you had inlined your patch I could've 
> commented it there.

I've clearly misunderstood something, but isn't CONFIG_LINUX_USER always
going to be defined when building linux-user/elfload.c, and doesn't 
CONFIG_BSD relate to the host that you're building for, not the target?

I can't remember whether Jocelyn was interested in running BSD binaries
under Linux or under BSD.  The former seems reasonable, although even if
that did work for PPC at one point, I doubt that's still the case...

Cheers,
-- 
Stuart Brady


Reply via email to