HomeFreeBSD

[PowerPC] powerpc32 rtld IFUNC handling code

Description

[PowerPC] powerpc32 rtld IFUNC handling code

As PowerPC is moving to clang, we can finally start taking advantage of
IFUNC.

Implement the MD parts of IFUNC handling for rtld.

Currently, it is necessary to look for R_PPC_IRELATIVE in the PLT in
addition to RELA. This is an ABI violation, but LLD9 has some .iplt bugs
that require this as a workaround.

Reviewed by: jhibbits
Differential Revision: https://reviews.freebsd.org/D22855

Details

Provenance
bdragonAuthored on
Reviewer
jhibbits
Differential Revision
D22855: [PowerPC] powerpc32 rtld IFUNC handling code
Parents
rS356055: [PowerPC] powerpc64 rtld IFUNC handling code
Branches
Unknown
Tags
Unknown