gas TC_PARSE_CONS_EXPRESSION communication with TC_CONS_FIX_NEW

Alan Modra amodra@gmail.com
Wed Apr 9 14:09:00 GMT 2014


On Wed, Apr 09, 2014 at 02:10:51PM +0100, Nicholas Clifton wrote:
> Hi Alan,
> 
> >A number of targets pass extra information from TC_PARSE_CONS_EXPRESSION
> >to TC_CONS_FIX_NEW via static variables.  That's OK, but not best
> >practice.  tc-ppc.c is worse, implementing its own replacement for
> >cons() because the generic one doesn't allow relocation modifiers
> >on constants.  This patch fixes both of these warts.
> 
> You missed a couple of targets. :-)
> 
> Fixed with this patch.

Thanks.  I see I need to update my list of targets for gas builds..

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list