Remove tcb_size and flag argument for _rtld_allocate_tls,
commit0dceb189fe0c3c0b1240a111f185f8301c6a465c
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 29 Mar 2005 23:04:36 +0000 (29 23:04 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 29 Mar 2005 23:04:36 +0000 (29 23:04 +0000)
treebd60eb4deb92a2d95a771298210a320e295249f7
parenta40d1b5343341456915c93f23d9d8d0a499dab8a
Remove tcb_size and flag argument for _rtld_allocate_tls,
remove tcb_size argument for _rtld_free_tls. The size is defined
by the architecture's struct tls_tcb layout and the behaviour
of RTLD_ALLOC_TLS_FREE_OLD is the only possible reaction for
old_tcb != NULL which doesn't leak memory.
lib/libc/gen/tls.c
lib/libthread_xu/arch/amd64/amd64/pthread_md.c
lib/libthread_xu/arch/i386/i386/pthread_md.c
libexec/rtld-elf/i386/reloc.c
libexec/rtld-elf/rtld.c
libexec/rtld-elf/rtld.h
sys/cpu/i386/include/tls.h
sys/i386/include/tls.h