In article <e9e8b3bf-9ba4-65da-64ee-9299f865a...@gmx.com>, Kamil Rytarowski <n...@gmx.com> wrote: > >This way we remove new users on link-time, and keep compat for run-time >ones. No symbol versioning is needed. > >This approach can be used to prepare for major bump and removal of >legacy interfaces like bcmp(3), strtoq(3) etc. >
Here's how to do it using symbol versioning: (allow runtime linking of existing binaries, hide the symbols from the library during linking) http://www.netbsd.org/~christos/libc-deprecate.diff We can automate creating libc.map too. christos