[arm] incorrect error on badly formed vst1 (r15 not allowed here)

Bug #669869 reported by Dr. David Alan Gilbert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Binutils
Confirmed
Wishlist
Unassigned
binutils (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: binutils

Binutils Version: 2.20.51.20100908-0ubuntu2

I missed the [ brackets off a vst1 instruction and got the error:

break.s:14: Error: r15 not allowed here -- `vst1.8 {d0,d1},r3'

I guess that's because r15 gets used as part of the encoding, but it doesn't look like the right error for the problem.

Dave

~# as break.s
break.s: Assembler messages:
break.s:14: Error: r15 not allowed here -- `vst1.8 {d0,d1},r3'

---------------------------------
# cat break.s
 .syntax unified
 .arch armv7-a
        .fpu neon

 .text
 .thumb

 .thumb_func
 .align 2
 .p2align 4,,15
 .global broken
 .type broken,%function
broken:
  vst1.8 {d0,d1}, r3

  bx lr @ goodbye
-------------------------------------

Tags: armel
Revision history for this message
Matthias Klose (doko) wrote :

still seen with 2.23 branch

Changed in binutils (Ubuntu):
status: New → Confirmed
affects: linaro-toolchain-misc → binutils-linaro
Changed in binutils-linaro:
status: New → Confirmed
importance: Undecided → Wishlist
Matthias Klose (doko)
Changed in binutils (Ubuntu):
importance: Undecided → Wishlist
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.