This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC on removing R_PARISC_DIR21L in DSO for hppa?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]