From: trout@sci.fi (Antti Harju)
Subject: Re: Some problems in making DLL's for C++ programs with GCC
  (fwd)
16 Feb 1997 07:42:31 -0800
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <3.0.32.19970216165442.006a1168.cygnus.gnu-win32@sci.fi>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Sender: trout@sci.fi
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Original-To: Fergus Henderson <fjh@cs.mu.OZ.AU>
Original-Cc: gnu-win32@cygnus.com
Original-Sender: owner-gnu-win32@cygnus.com

At 01:25 16.2.1997 +1100, you wrote:
>I wrote:
>
>> where fixup.s contains the following assembler code:
>> 
>> 	.section .idata $3
>> 	.long 0,0,0,0, 0,0,0,0
>
>Oops, that won't work.  Try fixup.c with
>
>      asm(".section .idata $3\n" ".long 0,0,0,0, 0,0,0,0");
                           ^
                  can't be a space here

So the correct syntax is

   asm(".section .idata$3\n" ".long 0,0,0,0, 0,0,0,0");

	-antti

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
