Problem with .req directive in arm-elf-as (2.15 branch)

Nick Clifton nickc@redhat.com
Fri Apr 30 11:02:00 GMT 2004


Hi Peter,

>The current binutils-2_15-branch has a problem with the ARM ".req"
>pseudo-op.  The following code, which used to assemble correctly in 2.13,
>now fails:
>
>MMUPurgeTLBReg      .req c6
>MMUCP               .req p15
>MCR     MMUCP, 0, a1, MMUPurgeTLBReg, c0, 0
>
>Apparently this results because the alias names are already downcased by the
>time md_assemble() (and therefore create_register_alias()) in tc-arm.c get
>to see them.
>  

Thanks for catching this.  It was due to a small typo in the sources
which is fixed by the attached patch.  I will be applying this patch to
the sources shortly.

Cheers
   Nick


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tc-arm.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040430/a7e7693d/attachment.ksh>


More information about the Binutils mailing list