Red Hat Bugzilla – Bug 1009601
add support for STT_GNU_IFUNC for armv7hl
Last modified: 2015-08-31 23:54:46 EDT
Created attachment 799487 [details]
add support for ifunc in prelink on arm
Add STT_GNU_IFUNC support on arm to prelink. Seems to pass test-suite.
Some ARM cpus don't support the BX instruction, so I used mov pc,lr instead.
Created attachment 805779 [details]
That doesn't look sufficient, I'd expect you need something like this, but have no way to test it right now (blocked on #1013801).
I noticed this on an arm f20 upgrade. prelink-0.5.0-1.fc20.armv7hl will complain:
/usr/sbin/prelink: /usr/lib/libc-2.18.so: Unknown arm relocation type 160
Where 160 is the value of R_ARM_IRELATIVE.
Created attachment 891210 [details]
Updated patch with fixed ifunc.h bits
My comments on the above patch appear to have been lost: it's an updated version of the patch from this issue. It requires a glibc patch in order for prelinked binaries to execute correctly:
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora 'version'
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 20 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.