summaryrefslogtreecommitdiffstats
path: root/lib/libc/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Remove last vestiges of thr_sleep and thr_wakeup from libc.jake2000-12-021-1/+1
|
* Remove duplicate FreeBSD id tags.jhb2000-08-213-3/+0
|
* Take a shot at implementing a functional rfork_thread() for alpha. Thispeter2000-07-292-0/+66
| | | | | | was not fun and I am not entirely certain of the correctness, but it seems to work. (in fact, side by side testing of this code vs the x86 version turned up hidden bugs in the x86 code).
* Finish moving all IEEE fp types to be the same on all arch's.jhb2000-05-102-3/+3
|
* Add FreeBSD Id tags.obrien2000-05-1012-1/+13
|
* fp_except => fp_except_t for consistancy with the i386 and the traditionobrien2000-05-104-8/+12
| | | | C methoid of nameing types.
* Take care to avoid having "strong" and "weak" symbols of the same name injasone2000-03-161-4/+0
| | | | libc_r.
* Undo the ill-conceived breakage of the previous commit and really fix:jasone2000-01-291-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | For libc_r renamed syscalls, correct symbol naming from _thread_sys_foo() <-- _foo() to _thread_sys_foo() <-- _foo() <-- foo(). This is necessary for system calls which libc_r doesn't define foo(). Some weak symbols such as poll() are defined twice. From what I understand, depending on one weak symbol or the other to be used is a bad idea. All such weak symbols defined in the libc_r-specific code should therefore be made strong (non-weak?). Simplify PSEUDO() to not define any weak symbols, since they aren't ever needed. alpha/SYS.h: Correct reversed usage of WEAK_ALIAS(), which has reversed arguments from __weak_reference(). Also, fix reversal of symbols, so that syscall foo() is a weak alias for _foo(). Add WEAK_ALIAS() call to PRSYSCALL(), which unlike the i386 version of PRSYSCALL(), is not defined in terms of PSYSCALL(). Make PSEUDO() equivalent to the i386 version.
* For syscalls that are renamed to _thread_sys_foo, create a weak aliasjasone2000-01-281-2/+2
| | | | called _foo, not _thread_sys_foo.
* Simplify sytem call renaming. Instead of _foo() <-- _libc_foo <-- foo(),jasone2000-01-271-2/+4
| | | | | | | | | | | | | | | | | just use _foo() <-- foo(). In the case of a libpthread that doesn't do call conversion (such as linuxthreads and our upcoming libpthread), this is adequate. In the case of libc_r, we still need three names, which are now _thread_sys_foo() <-- _foo() <-- foo(). Convert all internal libc usage of: aio_suspend(), close(), fsync(), msync(), nanosleep(), open(), fcntl(), read(), and write() to _foo() instead of foo(). Remove all internal libc usage of: creat(), pause(), sleep(), system(), tcdrain(), wait(), and waitpid(). Make thread cancellation fully POSIX-compliant. Suggested by: deischen
* Remove unnecessary alternate entry points for *setjmp(). Make the mainjasone2000-01-203-18/+33
| | | | | | | entry point the standard name when not compiling libc_r (for example, longjmp is the main entry point instead of __longjmp). Suggested by: bde
* Make minor entry point changes to support libc_r.jasone2000-01-193-6/+6
|
* Fixed corrupted tabs in previous commit.bde2000-01-141-2/+2
|
* Fix unresolved _libc_*() references in libc by creating weak aliasesjasone2000-01-131-0/+2
| | | | to the respective system call entry points.
* Add three-tier symbol naming in support of POSIX thread cancellationjasone2000-01-123-12/+28
| | | | | | points. For library functions, the pattern is __sleep() <-- _libc_sleep() <-- sleep(). The arrows represent weak aliases. For system calls, the pattern is _read() <-- _libc_read() <-- read().
* In longjmp, call sigreturn instead of osigreturn. The latter isn'tjdp1999-10-141-1/+1
| | | | | | visible from userland any more. Reviewed by: luoqi
* Not needed now the syscall matches the prototype.marcel1999-10-123-117/+0
|
* Remove old sig* wrappers.dfr1999-10-091-2/+1
|
* Fix misspelling of the "addq" opcode.jdp1999-09-291-1/+1
|
* sigset_t change (part 5 of 5)marcel1999-09-291-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ----------------------------- Most of the userland changes are in libc. For both the alpha and the i386 setjmp has been changed to accomodate for the new sigset_t. Internally, libc is mostly rewritten to use the new syscalls. The exception is in compat-43/sigcompat.c The POSIX thread library has also been rewritten to use the new sigset_t. Except, that it currently only handles NSIG signals instead of the maximum _SIG_MAXSIG. This should not be a problem because current applications don't use any signals higher than NSIG. There are version bumps for the following libraries: libdialog libreadline libc libc_r libedit libftpio libss These libraries either a) have one of the modified structures visible in the interface, or b) use sigset_t internally and may cause breakage if new binaries are used against libraries that don't have the sigset_t change. This not an immediate issue, but will be as soon as applications start using the new range to its fullest. NOTE: libncurses already had an version bump and has not been given one now. NOTE: doscmd is a real casualty and has been disconnected for the moment. Reconnection will eventually happen after doscmd has been fixed. I'm aware that being the last one to touch it, I'm automaticly promoted to being maintainer. According to good taste this means that I will receive a badge which either will be glued or mechanically stapled, drilled or otherwise violently forced onto me :-) NOTE: pcvt/vttest cannot be compiled with -traditional. The change cause sys/types to be included along the way which contains the const and volatile modifiers. I don't consider this a solution, but more a workaround.
* $Id$ -> $FreeBSD$peter1999-08-289-9/+9
|
* Just return `curbrk' for sbrk(0) to avoid syscall overhead.simokawa1999-06-261-0/+2
|
* Declare the return address for __divX, __remX so that gdb can step overdfr1999-05-021-1/+1
| | | | calls properly.
* Add wrappers for pread and pwrite syscalls.dt1999-04-041-3/+3
|
* Rename when building libc_r.dfr1999-03-251-2/+2
|
* [This is a null commit to supply the correct log entry]dfr1998-12-232-2/+2
| | | | | | Rename 'cerror' to '.cerror' so that programs which have a function or global variable named 'cerror' don't completely break the syscall error reporting mechanism.
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-239-32/+59
| | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
* CALL -> PCALL for sigaltstack for libc_r.jb1998-12-101-1/+1
|
* In libc_r, rename vfork syscall to _thread_sys_vfork and make vfork an aliasdt1998-09-121-2/+2
| | | | | | | to fork. It is difficult to do real vfork in libc_r, since almost every operation with file descriptsor changes _thread_fd_table and friends. popen(3) works much better with this change.
* Remove support for NetBSD syscalls.jb1998-08-174-35/+2
|
* Remove the comment about how to get NetBSD syscalls since there arejb1998-08-171-8/+1
| | | | now programs built on alpha that _must_ use FreeBSD syscalls to work.
* If using FreeBSD syscalls, handle the syscalls that don't requirejb1998-08-081-1/+11
| | | | default asm code the same way as on i386.
* Include FreeBSD's syscall.h if not using NetBSD syscalls.jb1998-08-081-2/+5
|
* Allow for the fact that NetBSD syscalls are no longer the default. Calljb1998-08-081-0/+4
| | | | sigaltstack by default if using FreeBSD syscalls.
* Make NetBSD compatibility conditional on NETBSD_SYSCALLS being defined.jb1998-08-081-1/+3
| | | | This is no longer the default.
* References to NetBSD syscalls changed to just a comment about what tojb1998-08-081-6/+7
| | | | | | add to /etc/make.conf to use FreeBSD's libc with a NetBSD/Alpha kernel. From now on, FreeBSD/Alpha is just FreeBSD.
* Remove __NETBSD_SYSCALLS from CFLAGS now that it is set in sys.mk.jb1998-06-091-2/+3
|
* Rename calls when building libc_r.jb1998-06-091-3/+3
|
* Make this thread-safe in both libc as well as libc_r.jb1998-06-091-13/+2
|
* Rename when building libc_r.jb1998-06-095-9/+9
|
* Add rename support for libc_r.jb1998-06-091-1/+50
|
* Remove a big hack after adding a small one to libc/gen/getcwd.c tojb1998-05-152-232/+2
| | | | handle the lack of __getcwd syscall in NetBSD.
* Oops, we don't need NetBSD's malloc 'cause we can turn off utracejb1998-03-092-438/+2
| | | | in phk's malloc.
* Import sources from NetBSD, tweaked for building in FreeBSD.jb1998-03-0952-0/+3391
OpenPOWER on IntegriCloud