[patch] MIPS gas problems with gcc's explicit relocs

Richard Sandiford rsandifo@redhat.com
Thu Jun 3 16:31:00 GMT 2004


Sorry for the delay...

"Maciej W. Rozycki" <macro@ds2.pg.gda.pl> writes:
>  Thus I suppose the SGI assembler supports such constructs, as:
>
> dla	$2,%lo(foo)($3)
>
> As you seem to have an access to an Irix host, could you please verify it?

The SGI assembler doesn't seem to like it:

as: Error: /foo.s, line 1: cannot use % relocation in macro instruction

Not that that's necessarily a reason for gas to reject it.  (Like I say,
I don't really have any opinion on that.  I just wanted to respond to
the SGI question.)

Richard



More information about the Binutils mailing list