[Bug gas/1568] COFF code section should be read only

2005-11-07 Thread nickc at redhat dot com

--- Additional Comments From nickc at redhat dot com  2005-11-07 17:57 
---
Revised patch applied.  (Sorry about the silly thinko in the first version).

-- 
   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=1568

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


Incorrect check on assembly language register name

2005-11-07 Thread Metayer Jean-Jacques








    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






___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils