From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18084 invoked by alias); 28 Jun 2004 17:54:39 -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 18075 invoked from network); 28 Jun 2004 17:54:38 -0000 Received: from unknown (HELO baldric.uwo.ca) (129.100.10.225) by sourceware.org with SMTP; 28 Jun 2004 17:54:38 -0000 Received: from carlos by baldric.uwo.ca with local (Exim 3.35 #1 (Debian)) id 1Bf0Kv-0004fL-00; Mon, 28 Jun 2004 13:54:33 -0400 Date: Mon, 28 Jun 2004 17:54:00 -0000 From: Carlos O'Donell To: Alan Modra Cc: binutils@sources.redhat.com Subject: Re: RFC on removing R_PARISC_DIR21L in DSO for hppa? Message-ID: <20040628175433.GB17815@baldric.uwo.ca> References: <20040627153936.GF18912@baldric.uwo.ca> <20040627234502.GP3469@bubble.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040627234502.GP3469@bubble.modra.org> User-Agent: Mutt/1.3.28i X-Useless-Header: listen, love, accept, mindfullness, patience, and humility. X-SW-Source: 2004-06/txt/msg00533.txt.bz2 On Mon, Jun 28, 2004 at 09:15:02AM +0930, Alan Modra wrote: > On Sun, Jun 27, 2004 at 11:39:36AM -0400, Carlos O'Donell wrote: > > Would it be valid to warn again when DIR21L relocations are about > > to make it into the final link? > > Yes. Since glibc's ld.so doesn't handle them, you could merge the > DIR17F thru DIR21L cases with the DPREL ones immediately above. ie. > turn the warning into a hard error. > > I think when I wrote that code, I was distinguishing relocs that could > be handled by ld.so from those that can't (DPREL are only valid in the > main app). It's a rather pedantic distinction when ld.so doesn't > provide support though! > > I'm not sure why the warning was turned off for DIR17F .. DIR21L. It > was probably an over-enthusiastic change when disabling other warnings. That's what I thought, I'll stew my patch a bit more to make sure I've got the hard error in the right place, then I'll submit a patch. Thanks Alan, Cheers, Carlos.