[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/27411] New: [ARM] Wrong error message when assembler cannot hon
From: |
kordalski.wojciech at gmail dot com |
Subject: |
[Bug gas/27411] New: [ARM] Wrong error message when assembler cannot honor width suffix ("lo register required") |
Date: |
Sat, 13 Feb 2021 09:11:22 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=27411
Bug ID: 27411
Summary: [ARM] Wrong error message when assembler cannot honor
width suffix ("lo register required")
Product: binutils
Version: 2.35.1
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: kordalski.wojciech at gmail dot com
Target Milestone: ---
Created attachment 13223
--> https://sourceware.org/bugzilla/attachment.cgi?id=13223&action=edit
Code that generates wrong assembler error message
For some instructions GAS returns wrong error message.
Code:
```
.syntax unified
.thumb
.align 2
.type f1, %function
.thumb_func
f1:
add.n r4, #8
```
gives error message:
test.s:8: Error: lo register required -- `add.n r4,#8'
Same for `sub.n` instruction.
The right error message would be the one returned for `lsl.n` instruction:
test.s:8: Error: cannot honor width suffix -- `lsl.n r4,#8'
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/27411] New: [ARM] Wrong error message when assembler cannot honor width suffix ("lo register required"),
kordalski.wojciech at gmail dot com <=