summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/_thread_init.c
Commit message (Collapse)AuthorAgeFilesLines
* Turn off default generation of userland dot symbols on powerpc64 now thatnwhitehorn2011-02-181-1/+1
| | | | | we have a binutils that supports it. Kernel dot symbols remain on to assist DDB.
* The 64-bit PowerPC ABI implemented in binutils 2.15 requires some specialnwhitehorn2010-07-101-1/+2
| | | | | | | | | | | quirks for weak-symbol handling. Text symbols require also marking weak the special dot-symbol associated with the function, and data symbols require that you not do that. To fix this, provide a hacked __weak_reference for powerpc64, and define a new __weak_reference_data for the single weak data symbol in base. Revert after: binutils 2.17 import Obtained from: projects/ppc64
* Add prototype for libc internal interfaces.delphij2010-03-311-0/+2
|
* Fix SCM ID's.obrien2002-02-011-2/+3
|
* To be consistent, use the __weak_reference macro from <sys/cdefs.h>deischen2001-04-101-2/+4
| | | | | | | | instead of #pragma weak to create weak definitions. This macro is improperly named, though, since a weak definition is not the same thing as a weak reference. Suggested by: bde
* Remove _THREAD_SAFE and make libc thread-safe by default bydeischen2001-01-241-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adding (weak definitions to) stubs for some of the pthread functions. If the threads library is linked in, the real pthread functions will pulled in. Use the following convention for system calls wrapped by the threads library: __sys_foo - actual system call _foo - weak definition to __sys_foo foo - weak definition to __sys_foo Change all libc uses of system calls wrapped by the threads library from foo to _foo. In order to define the prototypes for _foo(), we introduce namespace.h and un-namespace.h (suggested by bde). All files that need to reference these system calls, should include namespace.h before any standard includes, then include un-namespace.h after the standard includes and before any local includes. <db.h> is an exception and shouldn't be included in between namespace.h and un-namespace.h namespace.h will define foo to _foo, and un-namespace.h will undefine foo. Try to eliminate some of the recursive calls to MT-safe functions in libc/stdio in preparation for adding a mutex to FILE. We have recursive mutexes, but would like to avoid using them if possible. Remove uneeded includes of <errno.h> from a few files. Add $FreeBSD$ to a few files in order to pass commitprep. Approved by: -arch
* This stub has not been required by libc for a long time. Nuke it.jb1997-05-031-37/+0
|
* Obtained from: uthreads packagejulian1996-01-221-0/+37
OpenPOWER on IntegriCloud