This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
[ECOS] Macro problems in arm-elf-as
- To: Ecos Discuss <ecos-discuss@sourceware.cygnus.com>
- Subject: [ECOS] Macro problems in arm-elf-as
- From: Dan Hovang <dh@ctechnologies.se>
- Date: Tue, 15 Jun 1999 13:25:38 +0200
- Organization: CTechnologies
Hi,
It seems like the arm-elf-as macro routines are broken. Following
code works in cygwin32 as aswell as in binutils-2.9.1 compiled under
RedHat Linux 6.0, but not in arm-elf-as as in ecosSWtools-arm-990321.
.macro test, t1, t2
.int \t1
label\@:
.int \t2
.endm
test 1, 2
test 3, 4
test 5, 6
bash-2.02$ arm-elf-as test.S -o test
test.S: Assembler messages:
test.S:8: Error: bad instruction `label\'
test.S:9: Error: bad instruction `label\'
test.S:10: Error: bad instruction `label\'
I've browsed some sources in the ecosSWtools and compared them against
binutils (read.c and macro.c) but I've not been able to locate the
problem. Any ideas, anyone?
--
Dan Hovang (dh@ctech.ideon.se)
CTechnologies, Ideon Research Park
Scheelev 15, 223 70 Lund, Sweden