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

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


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


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