From e74539b87672f50f30e9c1414c572872576ec9fb Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Wed, 5 Mar 1997 02:35:36 +0000 Subject: [PATCH] * config/tc-tic80.c (md_begin): Declare external variable coff_flags and insert an F_AR32WR bit into it. --- gas/ChangeLog | 12 ++++++++++++ gas/config/tc-tic80.c | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 90cde168a9c..c4d0c02c861 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,15 @@ +start-sanitize-tic80 +Tue Mar 4 19:34:21 1997 Fred Fish + + * config/tc-tic80.c (md_begin): Declare external variable + coff_flags and insert an F_AR32WR bit into it. + +end-sanitize-tic80 +Tue Mar 4 10:01:04 1997 Ian Lance Taylor + + * read.c (equals): Add reassign parameter. Change all callers. + * read.h (equals): Update declaration. + Sat Mar 1 01:04:04 1997 Ian Lance Taylor * config/tc-mips.c (mips16_extended_frag): Don't assume that we diff --git a/gas/config/tc-tic80.c b/gas/config/tc-tic80.c index 87a4791b43d..8dcf181bbdf 100644 --- a/gas/config/tc-tic80.c +++ b/gas/config/tc-tic80.c @@ -800,14 +800,19 @@ md_begin () register const struct tic80_opcode *op; register const struct tic80_opcode *op_end; const struct predefined_symbol *pdsp; + extern int coff_flags; /* Defined in obj-coff.c */ - tic80_hash = hash_new (); + /* Set F_AR32WR in coff_flags, which will end up in the file header + f_flags field. */ + + coff_flags |= F_AR32WR; /* TIc80 is 32 bit little endian */ /* Insert unique names into hash table. The TIc80 instruction set has many identical opcode names that have different opcodes based on the operands. This hash table then provides a quick index to the first opcode with a particular name in the opcode table. */ + tic80_hash = hash_new (); op_end = tic80_opcodes + tic80_num_opcodes; for (op = tic80_opcodes; op < op_end; op++) { -- 2.30.2