On Fri, Apr 09, 2021 at 09:57:55PM +0100, Jessica Clarke wrote:
> On 9 Apr 2021, at 21:47, Konstantin Belousov <[email protected]> wrote:
> > 
> > The branch main has been updated by kib:
> > 
> > URL: 
> > https://cgit.FreeBSD.org/src/commit/?id=06d8a116bd6b6f70b8aedc6a6a2c4085c53f63ac
> > 
> > commit 06d8a116bd6b6f70b8aedc6a6a2c4085c53f63ac
> > Author:     Konstantin Belousov <[email protected]>
> > AuthorDate: 2021-04-05 03:30:35 +0000
> > Commit:     Konstantin Belousov <[email protected]>
> > CommitDate: 2021-04-09 20:46:24 +0000
> > 
> >    libc: add _get_tp() private function
> > 
> >    which returns pointer to tcb
> 
> This feels like it should be static inline in a header. Also we already have
> _tcb_get in pthread_md.h that should be entirely equivalent, and
> _libc_get_static_tls_base that’s basically the same again but with an optional
> offset. Can we do something to unify all the inline asm into one place per
> architecture rather than growing yet more copies of the same thing?

Yes, this should happens, eventually.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-main
To unsubscribe, send any mail to "[email protected]"

Reply via email to