[new patch] Re: Reloc BUG in as

Andreas Schwab schwab@suse.de
Mon Mar 5 08:29:00 GMT 2001


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



More information about the Binutils mailing list