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]

Re: BUG?: .lcomm and #define is not working with xassembler-with-cpp


"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


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