sh4 fails on check-textrel in glibc-2.3.2 even though there are no relocations?

Roland McGrath roland@redhat.com
Thu Jul 31 22:21:00 GMT 2003


> check-textrel still fails.  Oddly, when you use readelf -a to look
> at the .so's that supposedly have relocations, there aren't any,
> but there is a size-zero TEXTREL:

That sounds like an ld bug.  DT_TEXTREL set by ld -shared when it thinks
there were some dynamic relocs in read-only segments.  You should
double-check that all the dynamic relocations shown by readelf lie in
addresses in writable segments.



More information about the Libc-alpha mailing list