This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Make MIPS assembler support generic .set
- From: Thiemo Seufer <ths at networkno dot de>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 18 May 2007 18:19:34 +0100
- Subject: Re: Make MIPS assembler support generic .set
- References: <Pine.LNX.4.64.0705181253170.30059@digraph.polyomino.org.uk>
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