diff options
author | Bob Wilson <bob.wilson@acm.org> | 2007-02-02 23:26:53 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2007-02-02 23:26:53 +0000 |
commit | 9c8747735cc9c82fcbf0eb109135ca603df2bfea (patch) | |
tree | fd8d4e362cf3cc609a50129f8180ea8a96ca5cb5 /gas | |
parent | a4eefcd8528d9ddbd94e8c250dc889a834c2f78e (diff) | |
download | gdb-9c8747735cc9c82fcbf0eb109135ca603df2bfea.zip gdb-9c8747735cc9c82fcbf0eb109135ca603df2bfea.tar.gz gdb-9c8747735cc9c82fcbf0eb109135ca603df2bfea.tar.bz2 |
* config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
(tinsn_get_tok): Delete prototype.
* config/tc-xtensa.c (tinsn_get_tok): Delete.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-xtensa.c | 11 | ||||
-rw-r--r-- | gas/config/xtensa-istack.h | 5 |
3 files changed, 7 insertions, 15 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 74f02dc..a14473f 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 2007-02-02 Bob Wilson <bob.wilson@acm.org> + * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field. + (tinsn_get_tok): Delete prototype. + * config/tc-xtensa.c (tinsn_get_tok): Delete. + +2007-02-02 Bob Wilson <bob.wilson@acm.org> + * config/xtensa-relax.h (struct build_instr): Delete id field. * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL and LABEL tokens. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index f83339a..3197c7e 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -10991,17 +10991,6 @@ tinsn_init (TInsn *dst) } -/* Get the ``num''th token of the TInsn. - It is illegal to call this if num > insn->ntoks. */ - -expressionS * -tinsn_get_tok (TInsn *insn, int num) -{ - assert (num < insn->ntok); - return &insn->tok[num]; -} - - /* Return TRUE if ANY of the operands in the insn are symbolic. */ static bfd_boolean diff --git a/gas/config/xtensa-istack.h b/gas/config/xtensa-istack.h index 7d2471a..a6ec40b 100644 --- a/gas/config/xtensa-istack.h +++ b/gas/config/xtensa-istack.h @@ -1,5 +1,5 @@ /* Declarations for stacks of tokenized Xtensa instructions. - Copyright (C) 2003, 2004 Free Software Foundation, Inc. + Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. @@ -48,8 +48,6 @@ typedef struct tinsn_struct expressionS tok[MAX_INSN_ARGS]; unsigned linenum; - struct fixP *fixup; - /* Filled out by relaxation_requirements: */ enum xtensa_relax_statesE subtype; int literal_space; @@ -79,7 +77,6 @@ void istack_pop (IStack *); /* TInsn utilities. */ void tinsn_init (TInsn *); -expressionS *tinsn_get_tok (TInsn *, int); /* vliw_insn: bundles of TInsns. */ |