Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Thu, Mar 10, 2011 at 02:16:36AM +0200, Adam Hamsik wrote:
>
> On Mar,Thursday 10 2011, at 1:10 AM, Joerg Sonnenberger wrote:
>
> > Module Name: src
> > Committed By: joerg
> > Date: Wed Mar 9 23:10:09 UTC 2011
> >
> > Modified Files:
> > src/distrib/sets/lists/comp: mi
> > src/distrib/sets/lists/tests: mi
> > src/etc/mtree: NetBSD.dist.tests
> > src/lib/libc: Makefile
> > src/lib/libc/misc: initfini.c
> > src/lib/libpthread: pthread.c pthread_int.h
> > src/libexec/ld.elf_so: Makefile TODO headers.c map_object.c rtld.c
> > rtld.h symbol.c
> > src/rescue: list.ldd
> > src/sys/sys: Makefile
> > src/tests/lib/libc: Makefile
> > src/usr.bin/ldd: Makefile.elf ldd.c
> > src/usr.bin/ldd/elf32: Makefile
> > src/usr.bin/ldd/elf64: Makefile
> > Added Files:
> > src/lib/libc/tls: Makefile.inc tls.c
> > src/libexec/ld.elf_so: README.TLS tls.c
> > src/sys/sys: tls.h
> > src/tests/lib/libc/tls: Makefile t_tls_dlopen.c t_tls_dynamic.c
> > t_tls_static.c t_tls_static_helper.c
> > src/tests/lib/libc/tls/dso: Makefile h_tls_dlopen.c
> > src/tests/lib/libc/tls_dso: Makefile h_tls_dynamic.c
> >
> > Log Message:
> > Add TLS support infrastructure. For dynamic binaries, ld.elf_so exports
> > _rtld_tls_allocate and _rtld_tls_free. libpthread uses this functions to
> > setup the thread private area of all new threads. ld.elf_so is
> > responsible for setting up the private area for the initial thread.
> > Similar functions are called from _libc_init for static binaries, using
> > dl_iterate_phdr to access the ELF Program Header.
> >
> > Add test cases to exercise the different TLS storage models. Test cases
> > are compiled and installed on all platforms, but are skipped on
> > platforms not marked for TLS support.
> >
> > This material is based upon work partially supported by
> > The NetBSD Foundation under a contract with Joerg Sonnenberger.
> >
> > It is inspired by the TLS support in FreeBSD by Doug Rabson and the
> > clean ups of the DragonFly port of the original FreeBSD modifications.
> >
>
> Have you done any performance tests to see if it doesn't affect it ?
No. Feel free to do any.
Joerg
Home |
Main Index |
Thread Index |
Old Index