From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23357 invoked by alias); 14 Aug 2007 23:35:22 -0000 Received: (qmail 22981 invoked by uid 22791); 14 Aug 2007 23:35:17 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 14 Aug 2007 23:35:11 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l7ENZ88f030736; Tue, 14 Aug 2007 19:35:08 -0400 Received: from post-office.corp.redhat.com (post-office.corp.redhat.com [10.11.254.111]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l7ENZ81w000363; Tue, 14 Aug 2007 19:35:08 -0400 Received: from greed.delorie.com (vpn-14-90.rdu.redhat.com [10.11.14.90]) by post-office.corp.redhat.com (8.13.8/8.13.8) with ESMTP id l7ENZ5h8010651; Tue, 14 Aug 2007 19:35:08 -0400 Received: from greed.delorie.com (greed.delorie.com [127.0.0.1]) by greed.delorie.com (8.13.8/8.13.8) with ESMTP id l7ENZ51f020730; Tue, 14 Aug 2007 19:35:05 -0400 Received: (from dj@localhost) by greed.delorie.com (8.13.8/8.13.8/Submit) id l7ENZ39u020713; Tue, 14 Aug 2007 19:35:03 -0400 To: Greg Schafer Cc: binutils@sourceware.org Subject: Re: GNU hash-style compatibility problem on x86_64 References: <20070814125638.GA11842@caradoc.them.org> <20070814224531.GA5638@eyo32.local> From: DJ Delorie Date: Tue, 14 Aug 2007 23:35:00 -0000 In-Reply-To: <20070814224531.GA5638@eyo32.local> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-08/txt/msg00211.txt.bz2 Greg Schafer writes: > I can understand HJ's response in that there isn't much incentive to fix > bugs in an old binutils release, but I was kind of hoping one of the experts > here might be able to pinpoint the problem and produce a minimal patch. Try this one: --- bfd/elf.c 3 Aug 2006 21:41:05 -0000 +++ bfd/elf.c 3 Aug 2007 01:13:57 -0000 @@ -1822,6 +1822,7 @@ bfd_section_from_shdr (bfd *abfd, unsign case SHT_FINI_ARRAY: /* .fini_array section. */ case SHT_PREINIT_ARRAY: /* .preinit_array section. */ case SHT_GNU_LIBLIST: /* .gnu.liblist section. */ + case SHT_GNU_HASH: /* .gnu.hash section. */ return _bfd_elf_make_section_from_shdr (abfd, hdr, name, shindex); case SHT_DYNAMIC: /* Dynamic linking information. */