5 ms·
> A possible solution would be to store with each symbol where it's expected to come from. Solaris extended their ELF format with "Direct Binding" in 2005. It
by Findecanor 5y ago
> A possible solution would be to store with each symbol where it's expected to come from.
Solaris extended their ELF format with "Direct Binding" in 2005.
It messes with intentional interposition though. (<https://blogs.oracle.com/solaris/post/direct-binding-now-the-default-for-osnet-components https://blogs.oracle.com/solaris/post/direct-binding-now-the...>)
Michael Meeks did an implementation of Direct Binding for GNU binutils and glibc but it got rejected to be in the mainline with "prelink is more efficient". (<https://lwn.net/Articles/192082/ https://lwn.net/Articles/192082/>)
I haven't found anything about the Direct Binding in GNU that is more recent than 2006. Maybe time to revisit?