Add myself as TILEPro and TILE-Gx port maintainer.
[deliverable/binutils-gdb.git] / gas / read.c
index 2ab58ecbc308c2e8e4298431951326b2a283414e..445caa1489dbbf7a8a8ffeab1e53284b97219119 100644 (file)
@@ -3091,9 +3091,8 @@ assign_symbol (char *name, int mode)
 
   if (S_IS_DEFINED (symbolP) || symbol_equated_p (symbolP))
     {
-      /* Permit register names to be redefined.  */
       if ((mode != 0 || !S_IS_VOLATILE (symbolP))
-         && S_GET_SEGMENT (symbolP) != reg_section)
+         && !S_CAN_BE_REDEFINED (symbolP))
        {
          as_bad (_("symbol `%s' is already defined"), name);
          symbolP = symbol_clone (symbolP, 0);
This page took 0.024208 seconds and 4 git commands to generate.