Date: Thu, 05 Dec 2002 22:01:59 -0800 From: Peter Wemm <peter@wemm.org> To: "kai ouyang" <oykai@msn.com> Cc: hackers@FreeBSD.org Subject: Re: One GNU ASM syntax problem Message-ID: <20021206060159.3003B2A7EA@canning.wemm.org> In-Reply-To: <F26DbH8J0sca0ZkfzDs00000160@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
"kai ouyang" wrote: > >I do not know the difference between "+" and "=". why? > Thank you, I got it from 'info gcc'. > It is the reason that "Extended asm supports input-output or read-write > operands. Use the constraint character `+' to indicate such an operand > and list it with the output operands.". Also be aware that different versions of gcc treat this differently. We use gcc-2.95 on FreeBSD 4.x and gcc-3.2.1 on FreeBSD 5.x. Those versions are much more sensitive and have stricter requirements than gcc-2.8 and earlier. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021206060159.3003B2A7EA>