This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: x86_64 binutils bug workaround removed




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

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]