diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-02-02 23:09:50 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-02-02 23:09:50 +0000 |
commit | 61376837da3f7dab95ae8c63391af67f281c9144 (patch) | |
tree | b16a89e591c1627f04f0c60877a2739cdb48d5b9 /gas/config/xtensa-relax.h | |
parent | 95a98c01179050562eea90303c44e9904e022184 (diff) | |
download | gdb-61376837da3f7dab95ae8c63391af67f281c9144.zip gdb-61376837da3f7dab95ae8c63391af67f281c9144.tar.gz gdb-61376837da3f7dab95ae8c63391af67f281c9144.tar.bz2 |
* config/xtensa-relax.h (struct build_instr): Delete id field.
* config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
and LABEL tokens.
(append_literal_op, append_label_op): Remove litnum/labnum arguments;
set op_data fields to zero.
(parse_id_constant): Delete.
(build_transition): Remove code to handle numbered literals and labels.
Diffstat (limited to 'gas/config/xtensa-relax.h')
-rw-r--r-- | gas/config/xtensa-relax.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/gas/config/xtensa-relax.h b/gas/config/xtensa-relax.h index 6ae11e3..fa1abb0 100644 --- a/gas/config/xtensa-relax.h +++ b/gas/config/xtensa-relax.h @@ -1,5 +1,5 @@ /* Table of relaxations for Xtensa assembly. - Copyright 2003, 2004 Free Software Foundation, Inc. + Copyright 2003, 2004, 2007 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -135,10 +135,7 @@ struct build_op OPERAND: op_data is the field in the source instruction to take the value from and encode in the op_num field here. - LITERAL or LABEL: op_data is the ordinal - that identifies the appropriate one, i.e., - there can be more than one literal or - label in an expansion. */ + LITERAL or LABEL: unused. */ BuildOp *next; }; @@ -155,8 +152,6 @@ enum instr_type struct build_instr { InstrType typ; - unsigned id; /* LITERAL_DEF or LABEL_DEF: an ordinal to - identify which one. */ xtensa_opcode opcode; /* Unused for LITERAL_DEF or LABEL_DEF. */ BuildOp *ops; BuildInstr *next; |