This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Is DT_TEXTREL supposed to be supported on s390 31-bit or not?
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas dot Krebbel at de dot ibm dot com, schwidefsky at de dot ibm dot com
- Cc: libc-alpha at sources dot redhat dot com
- Date: Wed, 16 Dec 2009 16:56:35 +0100
- Subject: Is DT_TEXTREL supposed to be supported on s390 31-bit or not?
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
Hi!
While DT_TEXTREL libraries are clearly unsupported on many architectures and
on some even ld fails to link them, s390 31-bit (unlike 64-bit) DT_TEXTREL
libraries used to work. But apparently only when targetting old CPUs, with
say -march=z900 or newer relocations like R_390_PC32DBL are created and
ld.so (nor prelink) handles them.
So my question is, do we just want to say that DT_TEXTREL on s390 31-bit is
not supported at all, or do we want to handle the relocations that can
appear in -fno-pic 31-bit libraries?
Jakub