Remove tcb_size and flag argument for _rtld_allocate_tls,
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 29 Mar 2005 23:04:36 +0000 (23:04 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Tue, 29 Mar 2005 23:04:36 +0000 (23:04 +0000)
commitf20fd4317b32465c4d26c9f295aff6e3e3480d04
tree5b73948fc76fa35818a4e28af0c5796ed51f7e53
parenta2fda6929319fe051ca6d6d900af405f18a50063
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