Petr Salinger, le Thu 05 Jan 2006 10:34:08 +0100, a écrit :
> But not in the basic one:
>
> $ dpkg -s libc6
> Package: libc6
> Architecture: i386
> Source: glibc
> Version: 2.3.5-11
>
> $ objdump -T /lib/libc-2.3.5.so | grep -e "\(tbss\|tdata\)" | wc
> 0 0 0
/lib/libc-2.3.5.s
> > Anyway, look at configure flags for basic libc in debian/sysdeps/i386.mk:
> >
> > libc_extra_config_options = $(extra_config_options) --with-tls
> > --without-__thread
> >
> > It doesn't use TLS internally, there is no .tbss ot .tdata segment in
> > libc.so.
>
> There is:
>
> $ objdump -T
Petr Salinger, le Thu 05 Jan 2006 09:22:29 +0100, a écrit :
> > > > will add a very little extra cost to single thread-specific variable
> > > > accesses, but it shouldn't be noticeable at all.
> > >
> > > Well, to be correct, switch -mno-tls-direct-seg-refs
> > > add extra cost to ALL thread-spec
Petr Salinger, le Thu 05 Jan 2006 09:22:29 +0100, a écrit :
> > > > will add a very little extra cost to single thread-specific variable
> > > > accesses, but it shouldn't be noticeable at all.
> > >
> > > Well, to be correct, switch -mno-tls-direct-seg-refs
> > > add extra cost to ALL thread-spec
> > > will add a very little extra cost to single thread-specific variable
> > > accesses, but it shouldn't be noticeable at all.
> >
> > Well, to be correct, switch -mno-tls-direct-seg-refs
> > add extra cost to ALL thread-specific variables accesses.
>
> No, only to isolated ones. The compiler
Petr Salinger, le Wed 04 Jan 2006 21:40:06 +0100, a écrit :
>
> > will add a very little extra cost to single thread-specific variable
> > accesses, but it shouldn't be noticeable at all.
>
> Well, to be correct, switch -mno-tls-direct-seg-refs
> add extra cost to ALL thread-specific variables ac
> will add a very little extra cost to single thread-specific variable
> accesses, but it shouldn't be noticeable at all.
Well, to be correct, switch -mno-tls-direct-seg-refs
add extra cost to ALL thread-specific variables accesses.
For each thread-specific variable access,
compiler have to rese
7 matches
Mail list logo