summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/sys
Commit message (Collapse)AuthorAgeFilesLines
* Revert $FreeBSD$ to $Id$peter1997-02-2221-40/+40
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-1421-40/+40
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Submitted by: John Birrell <cimaxp1!jb@werple.net.au>julian1996-08-205-35/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here are the diffs for libc_r to get it one step closer to P1003.1c These make most of the thread/mutex/condvar structures opaque to the user. There are three functions which have been renamed with _np suffixes because they are extensions to P1003.1c (I did them for JAVA, which needs to suspend/resume threads and also start threads suspended). I've created a new header (pthread_np.h) for the non-POSIX stuff. The egrep tags stuff in /usr/src/lib/libc_r/Makefile that I uncommented doesn't work. I think its best to delete it. I don't think libc_r needs tags anyway, 'cause most of the source is in libc which does have tags. also: Here's the first batch of man pages for the thread functions. The diff to /usr/src/lib/libc_r/Makefile removes some stuff that was inherited from /usr/src/lib/libc/Makefile that should only be done with libc. also: I should have sent this diff with the pthread(3) man page. It allows people to type make -DWANT_LIBC_R world to get libc_r built with the rest of the world. I put this in the pthread(3) man page. The default is still not to build libc_r. also: The diff attached adds a pthread(3) man page to /usr/src/share/man/man3. The idea is that without libc_r installed, this man page will give people enough info to know that they have to build libc_r.
* Fixed comparisons so that preposterously large (>= 0x80000000) brk valuesbde1996-06-251-5/+5
| | | | | | | | | | aren't silently converted to minbrk. This stops malloc(INT_MAX) from dumping core. Small values are still silently converted. They should be an error. sbrk() doesn't do any range checking or conversions or overflow checking. Moved PIC_EPILOGUE invocation to a more natural place where it obviously doesn't interfere with the comparison.
* Fix a bogon in the pic + threadsafe version of cerror, it was missingpeter1996-05-101-3/+5
| | | | | | a PIC_EPILOGUE (leaving an extra long on the stack). Submitted by: John Polstra <jdp@polstra.com>
* Add support to enable libc to be compiled in ELF format. (#ifdef __ELF__)peter1996-05-0515-115/+134
| | | | | | | | | | | In a nutshell, this macroizes the local/global symbol scoping rules that are different in a.out and ELF. It also makes the i386 assembler stubs conform to i386 PIC calling conventions - the a.out ld.so didn't object, but the ELF one needs it as it implements PIC jumps via PLT's as well as calls. The a.out rtld only worked because it was accidently snooping the grandparent calling function's return address off the stack.. This also affects the libc_r code a little, because of cpp macro nesting.
* rfork/minherit glue in libcpeter1996-02-231-0/+51
| | | | man pages adapted from OpenBSD's versions.
* Reviewed by: julian and (hsu?)julian1996-01-228-21/+75
| | | | | | Submitted by: John Birrel(L?) changes for threadsafe operations
* This commit was generated by cvs2svn to compensate for changes in r13122,peter1995-12-3016-852/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Calling sbrk(2) with zero argument doesn't need to generate a syscall.phk1995-10-041-4/+10
| | | | Reviewed by: bde
* Remove trailing whitespace.rgrimes1995-05-302-12/+12
|
* First round of changes to clean up the RCSID mess in libc:dg1995-01-2318-63/+91
| | | | | | | | 1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright.
* Fixed problem with returning -1 on error when the return value is adg1994-08-131-1/+2
| | | | | | | | long long. Done by plugging both eax and edx with -1. This will clobber edx unnecessarily when the return value is only 32bit...though probably always an okay thing to do, it could stand a better fix. This was the cause of gawk being broken (boy was THAT ever a subtle bug!!!).
* First crack at making libc work with the new make macros. It compiles onwollman1994-08-0516-0/+961
| | | | | my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
* This commit was generated by cvs2svn to compensate for changes in r1573,rgrimes1994-05-2716-0/+852
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * BSD 4.4 Lite Lib Sourcesrgrimes1994-05-2716-0/+852
|
* Add $Id$ to all, clean up multiple spacesrgrimes1994-02-211-2/+3
|
* WINE/user LDT support from John Brezak, ported to FreeBSD by Jeffrey Hsudg1994-01-314-0/+207
<hsu@soda.berkeley.edu>.
OpenPOWER on IntegriCloud