RFC on removing R_PARISC_DIR21L in DSO for hppa?

Alan Modra amodra@bigpond.net.au
Sun Jun 27 23:45:00 GMT 2004


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



More information about the Binutils mailing list