Make MIPS assembler support generic .set
Thiemo Seufer
ths@networkno.de
Fri May 18 17:23:00 GMT 2007
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.
Thiemo
More information about the Binutils
mailing list