aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2019-01-14 16:55:17 +0100
committerJohn Darrington <john@darrington.wattle.id.au>2019-01-16 19:35:05 +0100
commite7b47f2e68c6eaff916ea4d1202a77e15730f48f (patch)
treefd28ffb0f1b591cf32469b7959be0de03965d11f /gas/ChangeLog
parent77fdb0e00bd47c564c4e32726fc6020d9441d4a7 (diff)
downloadgdb-e7b47f2e68c6eaff916ea4d1202a77e15730f48f.zip
gdb-e7b47f2e68c6eaff916ea4d1202a77e15730f48f.tar.gz
gdb-e7b47f2e68c6eaff916ea4d1202a77e15730f48f.tar.bz2
S12Z: gas: Fix bug when a symbol name was the single letter 'c'.
The assembler incorrectly recognised "c" as a register name, and refused to allow it where it expected a symbol/label. gas/ * config/tc-s12z.c (lex_reg_name): Compare the length of the strings before the contents. * testsuite/gas/s12z/labels.d: New file. * testsuite/gas/s12z/labels.s: New file. * testsuite/gas/s12z/s12z.exp: Add them.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog9
1 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6b852c2..2fd79ba 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,8 +1,13 @@
2019-01-16 John Darrington <john@darrington.wattle.id.au>
- * config/tc-s12z.c (tfr): Change as_bad to as_warn.
+ * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
+ before the contents.
+ * testsuite/gas/s12z/labels.d: New file.
+ * testsuite/gas/s12z/labels.s: New file.
+ * testsuite/gas/s12z/s12z.exp: Add them.
+ * config/tc-s12z.c (tfr): Change as_bad to as_warn.
Also fix message typo and semantics.
- * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
+ * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
BFD_RELOC_24.
* testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
of R_S12Z_EXT24.