x86_64 binutils bug workaround removed

Jan Hubicka jh@suse.cz
Thu Mar 28 10:36:00 GMT 2002


> 
> 
> --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?
> 
> 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.)

I believe it is not needed on x86_64, as the platform is not widely used.  I
hope we are able to keep thinks in the sync with few developers involved in the
project.  There has not been official release of binutils nor gcc supporting
the platform yet.  I consider it mistake that the workaround leaked to the FSF
tree.  I didn't noticed that while preparing the patch.

Honza
> 
> --
> Mark Mitchell                   mark@codesourcery.com
> CodeSourcery, LLC               http://www.codesourcery.com



More information about the Gcc-patches mailing list