gas/
[deliverable/binutils-gdb.git] / gas / config / tc-hppa.c
index 7bac1eac3ced24cf8cd9d2f1426c1b875bba3b2d..57cc427ccb56db8eac1426b0004f44e25473530b 100644 (file)
@@ -5951,6 +5951,12 @@ pa_block (z)
 
   temp_size = get_absolute_expression ();
 
+  if (temp_size > 0x3FFFFFFF)
+    {
+      as_bad (_("Argument to .BLOCK/.BLOCKZ must be between 0 and 0x3fffffff"));
+      temp_size = 0;
+    }
+
   /* Always fill with zeros, that's what the HP assembler does.  */
   temp_fill = 0;
 
This page took 0.024377 seconds and 4 git commands to generate.