On Tue, Dec 03, 2019 at 03:51:12PM -0800, Russ Allbery wrote: > > Philippe Michel <[email protected]> writes: > > > Reasonably recent versions of gcc and clang have a feature (ifuncs) that > > should allow to to this in one single binary. I don't know how onerous > > it would be at package building stage, but I think a few parts of Linux, > > for instance glibc, use that feature, so at least it wouldn't be unknown > > territory. > > Oh, interesting. Is this something that I can just enable with a compiler > flag, or does it need code support in gnubg?
This would be mostly in gnubg's code. Maybe something would be needed at configure stage as well. The post below shows a minimal example of how this is used: https://gcc.gnu.org/ml/gcc-help/2012-03/msg00209.html
