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/10096] New: Adjust STT_GNU_IFUNC to support targets with OPDs (hppa, ia64)


Targets that use OPDs can't directly call through the function descriptor
returned by DL_FIXUP_MAKE_VALUE. The following patch adds STT_GNU_IFUNC support
for targets with OPDs. The patch creates a new macro DL_FIXUP_CALL_VALUE in
dl-lookupcfg.h. The new macro is used to call the value returned by
DL_FIXUP_MAKE_VALUE, and on targets with OPDs the macro can be used to adjust
the way in which the returned function descriptor is called.

No regressions on hppa-linux-gnu. ia64 will need a similar patch.

If a core maintainer thinks this is a good solution, please apply the libc patch.

Thank you.

-- 
           Summary: Adjust STT_GNU_IFUNC to support targets with OPDs (hppa,
                    ia64)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: carlos at codesourcery dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: hppa-linux-gnu
  GCC host triplet: hppa-linux-gnu
GCC target triplet: hppa-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=10096

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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