History log of /openbsd-current/sys/arch/powerpc/include/tcb.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.6 02-Jul-2019 kettenis

Drop % from register name used for register variable since it makes clang
unhappy.

ok deraadt@, visa@


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.5 04-Sep-2016 guenther

Telling gcc the TCB pointer is in %r2 via the 'register asm' extension
tests out on powerpc and generates slightly better code


Revision tags: OPENBSD_6_0_BASE
# 1.4 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.3 29-Mar-2014 guenther

It's been a quarter century: we can assume volatile is present with that name.

ok dlg@ mpi@ deraadt@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.2 09-Nov-2011 kettenis

Add magic to use %r2 as the userland thread register.

ok guenther@


# 1.1 27-Oct-2011 guenther

Specify the TLS variant for each platform.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.5 04-Sep-2016 guenther

Telling gcc the TCB pointer is in %r2 via the 'register asm' extension
tests out on powerpc and generates slightly better code


Revision tags: OPENBSD_6_0_BASE
# 1.4 07-May-2016 guenther

Use a Thread Information Block in both single and multi-threaded programs.
This stores errno, the cancelation flags, and related bits for each thread
and is allocated by ld.so or libc.a. This is an ABI break from 5.9-stable!

Make libpthread dlopen'able by moving the cancelation wrappers into libc
and doing locking and fork/errno handling via callbacks that libpthread
registers when it first initializes. 'errno' *must* be declared via
<errno.h> now!

Clean up libpthread's symbol exports like libc.

On powerpc, offset the TIB/TCB/TLS data from the register per the ELF spec.

Testing by various, particularly sthen@ and patrick@
ok kettenis@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.3 29-Mar-2014 guenther

It's been a quarter century: we can assume volatile is present with that name.

ok dlg@ mpi@ deraadt@


Revision tags: OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE
# 1.2 09-Nov-2011 kettenis

Add magic to use %r2 as the userland thread register.

ok guenther@


# 1.1 27-Oct-2011 guenther

Specify the TLS variant for each platform.