- Modify isStaticLinkTimeConstant() so that lld is required to pass ifunc call relocations through the static link phase.
- Ensure that ifunc symbols are added to the dynamic symbol table, since we need to be able to refer to them from dynamic relocations.
- Add relocations against ifunc symbols to .rel(a).dyn.
I propose committing this and accompanying kernel linker changes
for 12.0. Once we are less pressed for time I plan to try upstreaming
this change. Since the patch is small I believe it won't be much of a
maintenance burden.