aboutsummaryrefslogtreecommitdiff
path: root/gas/itbl-ops.c
diff options
context:
space:
mode:
authorDawn Perchik <dawn@cygnus>1997-02-23 23:46:12 +0000
committerDawn Perchik <dawn@cygnus>1997-02-23 23:46:12 +0000
commit8d8a790b81db145ec9b9bb534a7fad8f514fc3ee (patch)
treeb96c916a2a2d0e6b7ecbc6e6ddfa646dee93a974 /gas/itbl-ops.c
parent7b9f3d46c6a31dc1833c1ce988e0b9cd43e712c6 (diff)
downloadgdb-8d8a790b81db145ec9b9bb534a7fad8f514fc3ee.zip
gdb-8d8a790b81db145ec9b9bb534a7fad8f514fc3ee.tar.gz
gdb-8d8a790b81db145ec9b9bb534a7fad8f514fc3ee.tar.bz2
* itbl-ops.c: Add test for itbl_have_entries.
* config/tc-mips.c: Remove test for itbl_have_entries. * config/tc-mips.h: Define tc_init_after_args to mips_init_after_args.
Diffstat (limited to 'gas/itbl-ops.c')
-rw-r--r--gas/itbl-ops.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/itbl-ops.c b/gas/itbl-ops.c
index a100dbc..4eaf08b 100644
--- a/gas/itbl-ops.c
+++ b/gas/itbl-ops.c
@@ -286,6 +286,9 @@ itbl_init (void)
e_processor procn;
e_type type;
+ if (!itbl_have_entries)
+ return;
+
/* Since register names don't have a prefix, put them in the symbol table so
they can't be used as symbols. This simplifies argument parsing as
we can let gas parse registers for us. */
@@ -329,6 +332,9 @@ append_insns_as_macros (void)
struct itbl_entry *e, **es;
int n, id, size, new_size, new_num_opcodes;
+ if (!itbl_have_entries)
+ return;
+
if (!itbl_num_opcodes) /* no new instructions to add! */
{
return;