aboutsummaryrefslogtreecommitdiff
path: root/gas/itbl-ops.c
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-01-21 05:54:38 +0000
committerBen Elliston <bje@au.ibm.com>2005-01-21 05:54:38 +0000
commit59c871b45790452b5643de68629dea986f7ffee0 (patch)
tree2fc7cff38ea2d40bee0b44fa255d421ed3f0f57c /gas/itbl-ops.c
parent84e43642e3e9729371f4a62b8b1cb5f15008017c (diff)
downloadgdb-59c871b45790452b5643de68629dea986f7ffee0.zip
gdb-59c871b45790452b5643de68629dea986f7ffee0.tar.gz
gdb-59c871b45790452b5643de68629dea986f7ffee0.tar.bz2
* as.h: Remove #if 0'd code.
* atof-generic.c (atof_generic): Likewise. * ecoff.c (ecoff_directive_frame): Likewise. * frags.h (FRAG_APPEND_1_CHAR): Likewise. * itbl-ops.c (itbl_add_reg): Likewise. * listing.c (calc_hex): Likewise. * read.c (MASK_CHAR): Likewise. * subsegs.c (subsegs_print_statistics): Likewise. * symbols.c (indent): Likewise. * write.c (write_relocs): Likewise. (write_object_file): Likewise. (relax_frag): Likewise.
Diffstat (limited to 'gas/itbl-ops.c')
-rw-r--r--gas/itbl-ops.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gas/itbl-ops.c b/gas/itbl-ops.c
index 089bff4..6498a0f 100644
--- a/gas/itbl-ops.c
+++ b/gas/itbl-ops.c
@@ -204,18 +204,6 @@ struct itbl_entry *
itbl_add_reg (int yyprocessor, int yytype, char *regname,
int regnum)
{
-#if 0
-#include "as.h"
-#include "symbols.h"
- /* Since register names don't have a prefix, we put them in the symbol table so
- they can't be used as symbols. This also simplifies argument parsing as
- we can let gas parse registers for us. The recorded register number is
- regnum. */
- /* Use symbol_create here instead of symbol_new so we don't try to
- output registers into the object file's symbol table. */
- symbol_table_insert (symbol_create (regname, reg_section,
- regnum, &zero_address_frag));
-#endif
return alloc_entry (get_processor (yyprocessor), get_type (yytype), regname,
(unsigned long) regnum);
}