tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gethostbyname_r



In article <e9e8b3bf-9ba4-65da-64ee-9299f865a5ae%gmx.com@localhost>,
Kamil Rytarowski  <n54%gmx.com@localhost> 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



Home | Main Index | Thread Index | Old Index