This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: As can assemble of mips gp-relative code?


> 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>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]