qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Darwin asm fix


From: Jocelyn Mayer
Subject: Re: [Qemu-devel] [PATCH] Darwin asm fix
Date: 20 Jan 2004 21:45:48 +0100

On Tue, 2004-01-20 at 21:11, Daniel Jacobowitz wrote:
> On Tue, Jan 20, 2004 at 08:49:37PM +0100, Jocelyn Mayer wrote:
> > On Tue, 2004-01-20 at 20:27, Pierre d'Herbemont wrote:
> > > Hi!
> > > 
> > > This other patch fix the compilation of op.c under darwin. The changed 
> > > line is in exec-all.h, and it is related to the different syntax used 
> > > in linux and darwin's ld. In this case Darwin's ld wants '.data' 
> > > whereas Linux's ld expects '.section ".data"'.
> > 
> > Darwin's ld is supposed to be GNU ld, the same that's user under Linux.
> > There may be some options to make it act the same. Don't this may be an
> > issue with as instead ?
> 
> Darwin's ld is based on binutils 1.x, and is not ELF, so it's
> completely different from what Linux uses.

All right. Sorry. In the mirrored Apple CVS from open-Darwin,
there's ld v2.10 in binutils. I did think this one was used.
I just checked, it's not anymore in recent Apple sources (10.3.2).

I don't see any reason why sections should have another syntax
in Mach-O file, but...

-- 
Jocelyn Mayer <address@hidden>
Never organized





reply via email to

[Prev in Thread] Current Thread [Next in Thread]