Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 20:39:56 +0100 (BST)
From:      Doug Rabson <dfr@nlsystems.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        John Baldwin <jhb@FreeBSD.org>, Doug Rabson <dfr@FreeBSD.org>, <cvs-all@FreeBSD.org>, <cvs-committers@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/ia64/ia64 trap.c 
Message-ID:  <20020410203838.C16912-100000@salmon.nlsystems.com>
In-Reply-To: <63332.1018467377@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 10 Apr 2002, Poul-Henning Kamp wrote:

> In message <20020410202906.J16912-100000@salmon.nlsystems.com>, Doug Rabson wri
> tes:
> >On Wed, 10 Apr 2002, John Baldwin wrote:
> >
> >>
> >> On 10-Apr-2002 Doug Rabson wrote:
> >> > dfr         2002/04/10 12:24:59 PDT
> >> >
> >> >   Modified files:
> >> >     sys/ia64/ia64        trap.c
> >> >   Log:
> >> >   Add exception and syscall support for executing IA-32 binaries.
> >>
> >> You are evil. :)
> >
> >Oh yes. I just ran my first i386 binary on my ia64 box...
>
> Let me guess: cvsup ?  :-)

Hahahaha. I wish! It was this:

int main(int argc, char** argv)
{
	write(1, "Hello World!\n", 14);
	_exit(0);
}

Note that this is carefully crafted to not require any argument
translation for the two syscalls it makes...

-- 
Doug Rabson				Mail:  dfr@nlsystems.com
					Phone: +44 20 8348 6160



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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