summaryrefslogtreecommitdiffstats
path: root/lib/librthread/arch/hppa64 (follow)
Commit message (Collapse)AuthorAgeFilesLines
* remove hppa64 port, which we never got going beyond broken single users.deraadt2016-05-111-41/+0
| | | | | | hppa reverse-stack gives us a valuable test case, but most developers don't have a 2nd one to proceed further with this. ok kettenis
* Use a Thread Information Block in both single and multi-threaded programs.guenther2016-05-071-33/+0
| | | | | | | | | | | | | | | | | 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@
* Despite tedu's efforts, fix ERRNOPTR_OFFSET which has changed due to recentmiod2013-06-031-2/+2
| | | | struct pthread layout change.
* cleanup and consolidate the spinlock_lock (what a name!) code.tedu2013-06-011-5/+5
| | | | | | | | | | it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread)
* Provide _atomic_lock() and __cerror() for hppa64. Makes hppa64 build again.jsing2012-04-132-0/+74