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: Ian Lance Taylor <ian at zembu dot com>
- Date: 05 Mar 2001 09:07:00 -0800
- Cc: 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.
>
> --- gas/write.c_ Fri Mar 2 15:33:45 2001
> +++ gas/write.c Fri Mar 2 17:04:35 2001
Changes to write.c need to be handled with great care. They affect
all gas targets, and need to be tested on all gas targets.
That patch is clearly going to change the behaviour on other targets.
That doesn't mean that it is wrong. It does mean that it needs to be
tested.
Ian