This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: powerpc assembler: STW and .sdata variables


On Thu, Sep 14, 2006 at 12:23:23PM +1000, Jeff Lasslett wrote:
> The Diab assembler that I am replacing with GNU as supports the following:-
> 
>     stw     r3,Trace@sdarx(r13)
> 
> All it's doing is storing the contents of r3 into the variable 'Trace' which
> happens to be in the .sdata section.
> 
> Is there a GNU equivalent to the diab syntax above?

     stw     %r3,Trace@sdarel(%r13)

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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