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: Thumb32 assembler (11/69)


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


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