|
From: | Metayer Jean-Jacques |
Subject: | Incorrect check on assembly language register name |
Date: | Mon, 7 Nov 2005 14:09:19 +0100 |
Hello, Following assembly language source targeting SPARC processor
is accepted although %g9 register name (neither %ia or %oa) is not a legal one. Tool used sparc-elf-as Version 2.16.91-20050827 Source : .text
mov %g9,%ia
mov %g9,%ia or
%g3,%g9,%g2
or %g3,%o1,%g2
or %g3,%oa,%g2 ret nop Source code to modify : I think there is a mistake in the isoctal definition in the “gas/config/tc-sparc.c”
file : #define isoctal(c) ((unsigned) ((c) - '0') < '8') There are simple quotes around the 8 while I think they should
not be there Regards Jean-Jacques |
[Prev in Thread] | Current Thread | [Next in Thread] |