+2005-05-25 Jan Beulich <jbeulich@novell.com>
+
+ * config/tc-ia64.c (dot_radix): Rewrite.
+
2005-05-25 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (struct unw_rec_list): Remove next_slot_number
dot_radix (dummy)
int dummy ATTRIBUTE_UNUSED;
{
- int radix;
+ char *radix;
+ int ch;
SKIP_WHITESPACE ();
- radix = *input_line_pointer++;
- if (radix != 'C' && !is_end_of_line[(unsigned char) radix])
- {
- as_bad ("Radix `%c' unsupported", *input_line_pointer);
- ignore_rest_of_line ();
- return;
- }
+ if (is_it_end_of_statement ())
+ return;
+ radix = input_line_pointer;
+ ch = get_symbol_end ();
+ ia64_canonicalize_symbol_name (radix);
+ if (strcasecmp (radix, "C"))
+ as_bad ("Radix `%s' unsupported or invalid", radix);
+ *input_line_pointer = ch;
+ demand_empty_rest_of_line ();
}
/* Helper function for .loc directives. If the assembler is not generating
+2005-05-25 Jan Beulich <jbeulich@novell.com>
+
+ * gas/ia64/radix.s: New.
+ * gas/ia64/radix.l: New.
+ * gas/ia64/ia64.exp: Run new test.
+
2005-05-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/intelok.d: Account for 32-bit displacements being shown
run_list_test "no-fit" ""
run_list_test "pound" "-al"
run_list_test "proc" "-munwind-check=error"
+ run_list_test "radix" ""
run_list_test "slot2" ""
run_list_test "unwind-err" "-munwind-check=error"
run_dump_test "operand-or"
--- /dev/null
+.*: Assembler messages:
+.*:1: Error: Radix .a. .*invalid
+.*:4: Error: Radix .cc. .*invalid
+.*:5: Error: Radix .Z. .*invalid
--- /dev/null
+ .radix a
+ .radix c
+ .radix C#
+ .radix cc
+ .radix Z