* BUG?: .lcomm and #define is not working with xassembler-with-cpp
@ 2004-12-23 9:05 Klaus Rudolph
2004-12-24 3:56 ` Ben Elliston
0 siblings, 1 reply; 2+ messages in thread
From: Klaus Rudolph @ 2004-12-23 9:05 UTC (permalink / raw)
To: binutils
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)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BUG?: .lcomm and #define is not working with xassembler-with-cpp
2004-12-23 9:05 BUG?: .lcomm and #define is not working with xassembler-with-cpp Klaus Rudolph
@ 2004-12-24 3:56 ` Ben Elliston
0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2004-12-24 3:56 UTC (permalink / raw)
To: binutils
"Klaus Rudolph" <lts-rudolph@gmx.de> writes:
> 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.
I tried this using the following (postprocessed) test case:
.lcomm VAR1 100
.lcomm VAR2 2*100
.lcomm VAR3 (1+100)*2
and it worked:
bje@namadgi:~/build/binuitls/gas$ ./as-new ~/foo.S -o foo.o
bje@namadgi:~/build/binuitls/gas$ ./as-new --version
GNU assembler 2.15.94 20041223
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.
Are you sure this applies to i386?
Ben
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-24 3:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-23 9:05 BUG?: .lcomm and #define is not working with xassembler-with-cpp Klaus Rudolph
2004-12-24 3:56 ` Ben Elliston
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).