Make MIPS assembler support generic .set

Eric Christopher echristo@apple.com
Fri May 18 16:46:00 GMT 2007


On May 18, 2007, at 5:56 AM, Joseph S. Myers wrote:

> Testing for mips-linux gives ERRORs for the assembly of ld-libs/ 
> lib-1.s
> and ld-libs/lib-2.s, because the assembler gives an unexpected  
> "Warning:
> Tried to set unrecognized symbol: foo,0x2000".
>
> The problem is that the MIPS assembler doesn't accept the ".set
> symbol,value" accepted by the generic assembler on most targets; it  
> only
> understands a MIPS-specific .set.  This patch makes the MIPS assembler
> support the generic .set (so improving GNU assembler consistency  
> between
> targets).  OK to commit?
>
> 2007-05-18  Joseph Myers  <joseph@codesourcery.com>
>
> 	* config/tc-mips.c (s_mipsset): Use generic s_set for directives
> 	containing a comma.

OK.

-eric



More information about the Binutils mailing list