[RFC PATCH 1/2] dlfcn: add long double redirect wrappers for dl*sym

Joseph Myers joseph@codesourcery.com
Fri Jun 5 14:33:26 GMT 2020


These are certainly not the only functions for which there are 
header-based redirections depending on the options with which code is 
compiled, and nor is dlsym the only place with a use for such information 
about naming (the issue also applies to function calls from non-C 
languages, where GCC may need to know the name to handle built-in function 
calls correctly).  I wonder if there is some better way to automate 
extraction of information from the headers of what the redirections are, 
that both avoids duplicating a long list of function names and avoids 
needing to special-case one subset of redirections for dlsym.

-- 
Joseph S. Myers
joseph@codesourcery.com


More information about the Libc-alpha mailing list