This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug libc/22165] New: [hppa] Text relocations in libc.so


https://sourceware.org/bugzilla/show_bug.cgi?id=22165

            Bug ID: 22165
           Summary: [hppa] Text relocations in libc.so
           Product: glibc
           Version: 2.26
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: carlos at redhat dot com, danglin at gcc dot gnu.org,
                    drepper.fsp at gmail dot com
  Target Milestone: ---
              Host: hppa*-*-linux*

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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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