This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: powerpc assembler: STW and .sdata variables
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jeff Lasslett <jeff dot lasslett at datataker dot com dot au>
- Cc: binutils at sourceware dot org
- Date: Thu, 14 Sep 2006 12:11:33 +0930
- Subject: Re: powerpc assembler: STW and .sdata variables
- References: <4508BD1B.3000403@datataker.com.au>
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