Any particular reason why mmap family functions aren't hidden in ld.so?

Roland McGrath roland@hack.frob.com
Thu Oct 15 19:28:00 GMT 2015


> All mmap family functions aren't hidden in ld.so and are called
> via PLT.  Is this an oversight?

It's necessary in the Hurd.  I don't know a reason for it elsewhere.  You
mean just that the compiler doesn't know they will be resolved without a
PLT, right?  The linker doesn't actually produce PLT entries for them
(except for Hurd).



More information about the Libc-alpha mailing list