From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Aj2lG-0001fB-5o for qemu-devel@nongnu.org; Tue, 20 Jan 2004 15:46:10 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Aj2kg-0001Xz-3a for qemu-devel@nongnu.org; Tue, 20 Jan 2004 15:46:06 -0500 Received: from [62.210.158.46] (helo=teheran.magic.fr) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Aj2ke-0001X4-Ug for qemu-devel@nongnu.org; Tue, 20 Jan 2004 15:45:33 -0500 Received: from jma1.dev.netgem.com (gw.netgem.com [195.68.2.34]) by teheran.magic.fr (8.11.6/8.11.2) with ESMTP id i0KKjLG07306 for ; Tue, 20 Jan 2004 21:45:21 +0100 (CET) Subject: Re: [Qemu-devel] [PATCH] Darwin asm fix From: Jocelyn Mayer In-Reply-To: <20040120201146.GA18105@nevyn.them.org> References: <1074628176.3142.116.camel@jma1.dev.netgem.com> <20040120201146.GA18105@nevyn.them.org> Content-Type: text/plain Message-Id: <1074631547.5281.129.camel@jma1.dev.netgem.com> Mime-Version: 1.0 Date: 20 Jan 2004 21:45:48 +0100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu mailing list 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 Never organized