From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20410 invoked by alias); 3 Jul 2002 19:45:37 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 20354 invoked from network); 3 Jul 2002 19:45:34 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 3 Jul 2002 19:45:34 -0000 Received: from porcupine.slc.redhat.com (vpn3-9.sfbay.redhat.com [172.16.25.9]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id MAA01917; Wed, 3 Jul 2002 12:45:22 -0700 (PDT) Received: from porcupine (law@localhost) by porcupine.slc.redhat.com (8.11.6/8.11.6) with ESMTP id g63Jmh507275; Wed, 3 Jul 2002 13:48:44 -0600 Message-Id: <200207031948.g63Jmh507275@porcupine.slc.redhat.com> To: "John David Anglin" cc: binutils@sources.redhat.com, ross.alexander@uk.neceur.com, law@redhat.com Reply-To: law@redhat.com Subject: Re: hppa64-hp-hpux11.00: HP ELF64 brokeness (incorrect .dynamic section) In-Reply-To: Your message of "Wed, 03 Jul 2002 15:20:36 EDT." <200207031920.g63JKan2026562@hiauly1.hia.nrc.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 03 Jul 2002 13:10:00 -0000 From: Jeff Law X-SW-Source: 2002-07/txt/msg00078.txt.bz2 In message <200207031920.g63JKan2026562@hiauly1.hia.nrc.ca>, "John David Anglin " writes: >The brokeness of the HP linker seems to have been previously discovered. >See code around line 1452 in elflink.h. The test there tries to determine >if the SHLINK field refers to a section that is not a string table. >I guess the question is whether bogus values other than 0 can occur. That code looks vaguely familiar. Yup, I wrote it back in 1999 when doing the original support for PA64 ELF. Unfortunately, I don't recall the range of potential bogus values that might appear in the SHLINK field of the .dynamic section. If possible, we should use the same work-around in both hunks of code. jeff