aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-tic54x.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-08-23 21:05:34 +0930
committerAlan Modra <amodra@gmail.com>2020-08-24 21:48:08 +0930
commit12c4b9aad5e45fa38e31801e13f50b730925c913 (patch)
tree8940621f7a4bc39bd2fd08edd80c12cd17ea4bb1 /gas/config/tc-tic54x.h
parent252dcdf432c67f6baafb766ed068c64db1eb2bad (diff)
downloadbinutils-12c4b9aad5e45fa38e31801e13f50b730925c913.zip
binutils-12c4b9aad5e45fa38e31801e13f50b730925c913.tar.gz
binutils-12c4b9aad5e45fa38e31801e13f50b730925c913.tar.bz2
tic54x fixes
A number of the tic54x tests were failing, and I thought it worth investigating since the target makes use of a lot of hash tables, and we've just changed gas hash tables. It turns out none of the gas failures were due to hashing. * config/tc-tic54x.c (stag_add_field_symbols): Don't free "name" in case where it isn't copied. * config/tc-tic54x.h (LOCAL_LABELS_FB): Undef. * testsuite/gas/tic54x/field.d: Dump section contents and symbols rather than disassembling. * testsuite/gas/tic54x/set.d: Adjust for newer disassembly.
Diffstat (limited to 'gas/config/tc-tic54x.h')
-rw-r--r--gas/config/tc-tic54x.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-tic54x.h b/gas/config/tc-tic54x.h
index 8d0d0f1..5ba4a6a 100644
--- a/gas/config/tc-tic54x.h
+++ b/gas/config/tc-tic54x.h
@@ -35,6 +35,8 @@
#define MAX_OPERANDS 4
#define PARALLEL_SEPARATOR '|'
#define LABELS_WITHOUT_COLONS 1
+#undef LOCAL_LABELS_FB
+
/* accept 0FFFFh, 1010b, etc. */
#define NUMBERS_WITH_SUFFIX 1
/* $ is section program counter */