This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]