This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: As can assemble of mips gp-relative code?
- To: dfoulds at cosinecom dot com
- Subject: Re: As can assemble of mips gp-relative code?
- From: Geoff Keating <geoffk at envy dot geoffk dot wattle dot id dot au>
- Date: Wed, 20 Oct 1999 17:00:46 -0400
- CC: binutils at sourceware dot cygnus dot com
- References: <380E2C4B.5B010B29@cosinecom.com>
- Reply-to: geoffk at cygnus dot com
> Date: Wed, 20 Oct 1999 13:55:39 -0700
> From: David Foulds <dfoulds@cosinecom.com>
> I'm trying to port to gas some mips assembly code
> which looks like this
>
> sw a0, %sdaoff(cpu_type)($gp)
>
> I decided the equivalent in gas syntax
> was
>
> sw a0, cpu_type(gp)
...
You want
sw a0,cpu_type
instead.
--
- Geoffrey Keating <geoffk@cygnus.com>