This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22165] [hppa] Text relocations in libc.so
- From: "dave.anglin at bell dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 23 Sep 2017 12:48:02 +0000
- Subject: [Bug libc/22165] [hppa] Text relocations in libc.so
- Auto-submitted: auto-generated
- References: <bug-22165-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22165
--- Comment #1 from dave.anglin at bell dot net ---
On 2017-09-21, at 8:19 AM, jsm28 at gcc dot gnu.org wrote:
> On hppa-linux-gnu, elf/check-textrel fails because of text relocations in
> libc.so (this is one of the few obstructions to getting clean compilation test
> results everywhere with build-many-glibcs.py).
>
> The problem code appears to be in sysdeps/unix/sysv/linux/hppa/getcontext.S:
>
> ldil L%__getcontext_ret, %r1
> ldo R%__getcontext_ret(%r1), %r1
>
> which produces R_PARISC_DIR21L and R_PARISC_DIR14R text relocations. I'm not
> familiar with the architecture so don't know how this should be fixed.
I'm testing the attached change. The above code is not PIC.
Dave
--
John David Anglin dave.anglin@bell.net
--
You are receiving this mail because:
You are on the CC list for the bug.