diff options
author | Fred Fish <fnf@specifix.com> | 1997-03-05 02:35:36 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1997-03-05 02:35:36 +0000 |
commit | e74539b87672f50f30e9c1414c572872576ec9fb (patch) | |
tree | 79abc4afc07ded8a007e07c7393d996f05a1683f /gas/config | |
parent | 81fb245da1df980a9256411d8312ecff92768200 (diff) | |
download | gdb-e74539b87672f50f30e9c1414c572872576ec9fb.zip gdb-e74539b87672f50f30e9c1414c572872576ec9fb.tar.gz gdb-e74539b87672f50f30e9c1414c572872576ec9fb.tar.bz2 |
* config/tc-tic80.c (md_begin): Declare external variable
coff_flags and insert an F_AR32WR bit into it.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-tic80.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gas/config/tc-tic80.c b/gas/config/tc-tic80.c index 87a4791..8dcf181 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++) { |