[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/23335] MSP430 gas mishandle symbols starting with a register na
From: |
suckfish at ihug dot co.nz |
Subject: |
[Bug gas/23335] MSP430 gas mishandle symbols starting with a register name. |
Date: |
Sat, 23 Jun 2018 21:40:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23335
--- Comment #1 from Ralph Loader <suckfish at ihug dot co.nz> ---
Looking at tc-msp430.c, the function check_reg() looks pretty bogus.
Any identifier with a prefix which is a register name is accepted as a
register.
Also numbers in the range 0..15 are accepted as registers, without the 'r'
prefix, I am not sure if that is intentional.
r01, r011 and r11 are treated inconsistently, the first two the register number
is 0, the last one the register number is 11.
--
You are receiving this mail because:
You are on the CC list for the bug.