Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2021 19:57:51 +0300
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 8f63fa78e84a - main - rtld: Remove calculate_tls_end
Message-ID:  <YRqZD0U6Lf8W2Q5A@kib.kiev.ua>
In-Reply-To: <36c06d31-503b-121b-ca58-ad3f99bda22b@FreeBSD.org>
References:  <202108161056.17GAuFNC017048@gitrepo.freebsd.org> <36c06d31-503b-121b-ca58-ad3f99bda22b@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 16, 2021 at 09:53:35AM -0700, John Baldwin wrote:
> On 8/16/21 3:56 AM, Konstantin Belousov wrote:
> > The branch main has been updated by kib:
> > 
> > URL: https://cgit.FreeBSD.org/src/commit/?id=8f63fa78e84afd23fa68c82eabfe64763c92d4f5
> > 
> > commit 8f63fa78e84afd23fa68c82eabfe64763c92d4f5
> > Author:     Fangrui Song <i@maskray.me>
> > AuthorDate: 2021-08-14 17:02:09 +0000
> > Commit:     Konstantin Belousov <kib@FreeBSD.org>
> > CommitDate: 2021-08-16 10:55:35 +0000
> > 
> >      rtld: Remove calculate_tls_end
> >      Variant I architectures use off and Variant II ones use size + off.
> >      Define TLS_VARIANT_I/TLS_VARIANT_II symbols similarly to how libc
> >      handles it.
> >      Reviewed by:    kib
> >      MFC after:      1 week
> >      Differential revision:  https://reviews.freebsd.org/D31539
> >      Differential revision:  https://reviews.freebsd.org/D31541
> 
> Would it make sense to have <machine/tls.h> and move the TLS-related
> constants there?  Right now we duplicate them in at least two places
> (libthr internal headers and libc/rtld).

This is some slow progress.  Before this commit, we have that in three
places.  Eventually yes, it should be consolidated.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YRqZD0U6Lf8W2Q5A>