testsuite/
* gas/bfin/misc.s: New test.
* gas/bfin/misc.d: New test.
* gas/bfin/bfin.exp: Add misc test.
+2008-08-22 Jie Zhang <jie.zhang@analog.com>
+
+ * config/bfin-lex.l (NUMBER): Protect special `.'.
+
2008-08-22 Alan Modra <amodra@bigpond.net.au>
* symbols.c (symbol_clone): Ensure clones are not external.
<KEYWORD>[iI][fF][lL][uU][sS][hH] return IFLUSH;
<KEYWORD>[fF][lL][uU][sS][hH][iI][nN][vV] return FLUSHINV;
<KEYWORD>[fF][lL][uU][sS][hH] return FLUSH;
-([0-9]+)|(0[xX][0-9a-fA-F]+)|([bhfodBHOFD]#[0-9a-fA-F]+)|(0.[0-9]+) {
+([0-9]+)|(0[xX][0-9a-fA-F]+)|([bhfodBHOFD]#[0-9a-fA-F]+)|(0"."[0-9]+) {
yylval.value = parse_int (&yytext);
return NUMBER;
}
+2008-08-22 Jie Zhang <jie.zhang@analog.com>
+
+ * gas/bfin/misc.s: New test.
+ * gas/bfin/misc.d: New test.
+ * gas/bfin/bfin.exp: Add misc test.
+
2008-08-21 Richard Henderson <rth@redhat.com>
* gas/cfi/cfi-common-1.d: Allow for differing offsets, and
run_dump_test "load"
run_dump_test "logical"
run_dump_test "logical2"
+ run_dump_test "misc"
run_dump_test "move"
run_dump_test "move2"
run_dump_test "parallel"
--- /dev/null
+#objdump: -d
+#name: misc
+.*: +file format .*
+
+Disassembly of section .text:
+
+00000000 <_misc>:
+ 0: 00 e1 00 00 R0.L = 0x0;.*
+
--- /dev/null
+ .text
+ .global _misc
+_misc:
+ /* Check "0 & 0xffff" is parsed correctly. */
+ r0.l = 0 & 0xffff;
+