[avr-gcc-list] tool chain bug (fwd)

Alan Modra amodra@bigpond.net.au
Thu Sep 26 17:04:00 GMT 2002


On Thu, Sep 26, 2002 at 09:18:15AM -0700, Theodore A. Roth wrote:
> I think gas is actually doing the right thing (with respect to your
> comment above) and treating "brne _PC_-4" as "brne -2" and thinking -2 is
> an absolute addr instead of a pc relative one.

That's exactly right.  Your assignment "_PC_ = 2" just makes an
absolute symbol with the value 2.  There is nothing special about
that particular name.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list