From: "Mark E." To: djgpp AT delorie DOT com Subject: Re: ANNOUNCE: Binutils 2.9.5 beta 1 released Date: Sun, 05 Mar 2000 23:55:56 -0500 Organization: Snowball's Web Message-ID: References: <200003060344 DOT LAA08260 AT southgate DOT cyberway DOT com DOT sg> In-Reply-To: <200003060344.LAA08260@southgate.cyberway.com.sg> X-Mailer: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id XAA31238 Reply-To: djgpp AT delorie DOT com On Mon, 6 Mar 2000 11:43:40 +0800, you wrote: > >Now that would be brilliant! Unfortunately, there is no '-mbnu210' switch in my gcc >2.95.2, and I can't find any reference to it on the web. I checked my objects, but there's no >linkonce section and no weak symbols. > The following works for me: weak.c: __attribute__ ((weak)) int x; gcc -mbnu210 -S weak.c contents of weak.S: .file "weak.c" gcc2_compiled.: ___gnu_compiled_c: .comm _x,4 .weak _x -- Mark E.: snowball3 AT bigfoot DOT com http://snowball.frogspace.net/