This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [new patch] Re: Reloc BUG in as
- To: Mikulas Patocka <mikulas at artax dot karlin dot mff dot cuni dot cz>
- Subject: Re: [new patch] Re: Reloc BUG in as
- From: Andreas Schwab <schwab at suse dot de>
- Date: 05 Mar 2001 17:29:19 +0100
- Cc: Ian Lance Taylor <ian at zembu dot com>,Alan Modra <alan at linuxcare dot com dot au>,Geoff Keating <geoffk at redhat dot com>, binutils at sources dot redhat dot com
- References: <Pine.LNX.3.96.1010305160902.27571A-100000@artax.karlin.mff.cuni.cz>
Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz> writes:
|> I created this patch - it handles that situation correctly. I don't see a
|> reason why pcrel should be discarded when you process difference of 2
|> symbols in the same segment. Maybe it breaks something else - the person
|> who wrote this part of code should check the patch.
Not clearing pcrel will cause the section offset to be subtracted from the
addend later. Does the assembler still handle this correctly if the
instruction does not occur at address zero? AFAIR there were some bugs on
m68k before this was added.
Andreas.
--
Andreas Schwab "And now for something
SuSE Labs completely different."
Andreas.Schwab@suse.de
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5