This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Thumb32 assembler (11/69)
- From: Paul Brook <paul at codesourcery dot com>
- To: binutils at sources dot redhat dot com
- Cc: Zack Weinberg <zack at codesourcery dot com>
- Date: Tue, 26 Apr 2005 18:09:36 +0100
- Subject: Re: Thumb32 assembler (11/69)
- Organization: CodeSourcery
- References: <87ll753lu7.fsf@codesourcery.com>
On Tuesday 26 April 2005 10:53, Zack Weinberg wrote:
> Almost all the calls to skip_whitespace in tc-arm.c are unnecessary,
> because the input scrubber removes almost all the whitespace before
> md_assemble gets called. When it is necessary, it doesn't need to
> loop. The skip_whitespace call that used to appear at the beginning
> of each and every ->parms function, which is necessary, is hoisted to
> md_assemble.
This (or something related) breaks libgcc builds. Reduced testcase below:
.macro popret regs
ldmia sp!, {\regs, pc}
.endm
.text
popret "r4, r5"
foo.s: Assembler messages:
foo.s:5: Error: ARM register expected -- `ldmia sp!,{r4, r5,pc}'
Paul