This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: RFC on removing R_PARISC_DIR21L in DSO for hppa?
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 28 Jun 2004 09:15:02 +0930
- Subject: Re: RFC on removing R_PARISC_DIR21L in DSO for hppa?
- References: <20040627153936.GF18912@baldric.uwo.ca>
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.
--
Alan Modra
IBM OzLabs - Linux Technology Centre