* config/tc-sparc.c (s_reserve): Don't permit redefinition, even
[deliverable/binutils-gdb.git] / gas / config / tc-sparc.c
index 5bfa901fc2be4decc18299048bbf0b208676353b..3d07a63109b85e0d3aba0cd98fadb88d15943c8e 100644 (file)
@@ -250,8 +250,7 @@ s_reserve (ignore)
   else
     align = 0;
 
-  if ((S_GET_SEGMENT (symbolP) == bss_section
-       || !S_IS_DEFINED (symbolP))
+  if (!S_IS_DEFINED (symbolP)
 #ifdef OBJ_AOUT
       && S_GET_OTHER (symbolP) == 0
       && S_GET_DESC (symbolP) == 0
@@ -285,7 +284,8 @@ s_reserve (ignore)
     }
   else
     {
-      as_warn("Ignoring attempt to re-define symbol %s.", name);
+      as_warn("Ignoring attempt to re-define symbol %s",
+             S_GET_NAME (symbolP));
     }                          /* if not redefining */
 
   demand_empty_rest_of_line ();
This page took 0.023348 seconds and 4 git commands to generate.