summaryrefslogtreecommitdiff
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
commit6134bb22426880acc2bde6c6bb2201d8c48edb73 (patch)
tree00cb01ed1b0c42a3498bbd12a877893fd56a5507 /gas/itbl-ops.c
parent702468c90802808dd5b8618f3d2a63daf2ab22e8 (diff)
downloadbinutils-redhat-6134bb22426880acc2bde6c6bb2201d8c48edb73.tar.gz
* 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 089bff4aac..6498a0f475 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);
}