Allow symbols in MEMORY region specification
[deliverable/binutils-gdb.git] / gas / config / tc-arm.c
index e0de0d2b132288081948eeb8fae4e02d5b14f1d1..b17ea6c42b7b50c9ee020405d87ce95c093c1f9d 100644 (file)
@@ -4961,6 +4961,16 @@ parse_ifimm_zero (char **in)
     return FALSE;
 
   ++*in;
+
+  /* Accept #0x0 as a synonym for #0.  */
+  if (strncmp (*in, "0x", 2) == 0)
+    {
+      int val;
+      if (parse_immediate (in, &val, 0, 0, TRUE) == FAIL)
+        return FALSE;
+      return TRUE;
+    }
+
   error_code = atof_generic (in, ".", EXP_CHARS,
                              &generic_floating_point_number);
 
This page took 0.028295 seconds and 4 git commands to generate.