This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
BUG?: .lcomm and #define is not working with xassembler-with-cpp
- From: "Klaus Rudolph" <lts-rudolph at gmx dot de>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Thu, 23 Dec 2004 10:04:54 +0100 (MET)
- Subject: BUG?: .lcomm and #define is not working with xassembler-with-cpp
Hi all,
if I have the folowing code lines:
#define CONST1 100
.lcomm VAR1 CONST1
.lcomm VAR2 2*CONST1
.lcomm VAR3 (1+CONST1)*2
the last line will run into an error:
check.s: Assembler messages:
check.s:5: Error: missing size expression
I tested with target avr and i386, some result.
in binutils-2.14 the code works, it is broken since 2.15, also in snapshot
041223.
The gcc is in good and fail case gcc-3.4.3. Seems only dependend on
binutils.
Is a workaround available?
Bye
Klaus
--
Psssst! Mit GMX Handyrechnung senken: http://www.gmx.net/de/go/mail
100 FreeSMS/Monat (GMX TopMail), 50 (GMX ProMail), 10 (GMX FreeMail)