x86_64 binutils bug workaround removed
Andreas Jaeger
aj@suse.de
Thu Mar 28 11:08:00 GMT 2002
Mark Mitchell <mark@codesourcery.com> writes:
> --On Wednesday, March 27, 2002 10:40:59 PM +0100 Jan Hubicka
> <jh@suse.cz> wrote:
>
>> Hi,
>> the binutils used to make off-by-4 mistake on PC relative data. This has
>> been recently fixed by Andreas Schwab (thanks!), but you need the
>> corresponding fix to gcc as well. I am checking the attached patch in
>> mainline/release branch. Please make sure to keep your trees in sync
>> otherwise PIC switch jumptable generation will break.
>>
>> Wed Mar 27 22:27:20 CET 2002 Jan Hubicka <jh@suse.cz>
>>
>> * i386.c (ix86_output_addr_diff_elt): Remove binutils bug workaround.
>
> This means that you have to use the right binutils with the right
> compiler, correct? In other words, using the old (broken) binutils
> with the new (fixed) compiler won't work, and vice versa?
Yes, you have to use new binutils (we committed the patches for both
GCC and binutils the same day - and in both cases to both release
branch and mainline).
> If so, do we need to use autoconf to determine what version of
> binutils we have? (Even that won't work if someone updates binutils
> manually, I guess.)
Not easily possible. But since there're so few users of x86-64 at the
moment, I see no problem with this. The situation will change
definitly in a year - and we tried to get this fixed as soon as
possible to avoid real problems,
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Gcc-patches
mailing list