SOURCE=-, append its symbol names to make variable unix-stub-syscalls.
* sysdeps/unix/Makefile [$(subdir) = misc] [unix-stub-syscalls]
(sysdep_routines): Add stub-syscalls.
($(objpfx)stub-syscalls.c): New target.
(generated): Add stub-syscalls.c.
* tls.make.c: Also define use-tls according to USE_TLS macro.
* inet/herrno.c (__libc_h_errno): Likewise.
* resolv/res_libc.c (__libc_res): Likewise.
[USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD].
(__res_state) [! USE___THREAD]: Don't define as weak.
* csu/Versions: Revert last change.
* resolv/Versions: Revert last change.
* Makerules ($(common-objpfx)%.make): New pattern rule.
* tls.make.c: New file.
* Makefile (distribute): Add it.