aboutsummaryrefslogtreecommitdiff
path: root/gas/itbl-ops.c
diff options
context:
space:
mode:
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);
}