Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sparc64 verions of the crt initialization and finalization files required | obrien | 2001-10-28 | 2 | -0/+100 |
| | | | | by the ELF ABI. | ||||
* | Only provide function information in compile environments that support | mike | 2001-10-27 | 2 | -9/+17 |
| | | | | | | | the C99 variable __func__ and never for C++. Provide a more meaningful example in the assert(3) manual. Reviewed by: asmodai, bde | ||||
* | Restore K&R prototype. Fix other style bugs. | mike | 2001-10-27 | 1 | -2/+3 |
| | | | | Reviewed by: asmodai, bde | ||||
* | Add missing crti.S and crtn.S files. I have tested these with -static | peter | 2001-10-27 | 2 | -0/+92 |
| | | | | linking only. They may require some gp relative tweaks for dynamic use. | ||||
* | Sync with other platforms. | obrien | 2001-10-27 | 1 | -2/+3 |
| | |||||
* | minor style updating | obrien | 2001-10-27 | 3 | -13/+9 |
| | |||||
* | Update for reality and syncing with other FreeBSD platforms. | obrien | 2001-10-27 | 1 | -6/+5 |
| | |||||
* | Feh, it helps to include a file other than yourself... wonder how | obrien | 2001-10-27 | 1 | -1/+1 |
| | | | | | | GCC cpp liked that. Properly include the branding info. | ||||
* | Explicitly use int32_t for on-disk records for pw_change and pw_expire, | peter | 2001-10-27 | 1 | -2/+5 |
| | | | | | | since that is what we use now and this insulates us from any time_t tweaks here. We can define a record format that uses 64 bit times if/when we need to. | ||||
* | Remove the -I../libc/${MACHINE_ARCH} that was there solely for | peter | 2001-10-26 | 1 | -3/+0 |
| | | | | the #include "DEFS.h" that was only used on i386 (which has been fixed). | ||||
* | Make libc_r check the kern.usrstack sysctl instead of using internal | peter | 2001-10-26 | 9 | -18/+60 |
| | | | | | | | kernel #defines to figure out where the stack is located. This stops libc_r from exploding when the kernel is compiled with a different KVM size. IMHO this is all kinda bogus, it would be better to just check %esp and work from that. | ||||
* | Style: sort __sys_foo() prototypes, tabs -> spaces, etc. | ru | 2001-10-26 | 3 | -234/+234 |
| | |||||
* | Removed: | ru | 2001-10-26 | 10 | -250/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | - uthread_signal.c; libc_r does not wrap signal() since 1998/04/29. - uthread_attr_setprio.c; it was never connected to the build, and pthread_attr_setprio() does not exist in POSIX. - uthread_sigblock.c and uthread_sigsetmask.c; these were no-ops bloating libc_r's space. pthread_private.h: - Removed prototypes of non-syscalls: send(). - Removed prototypes of unused syscalls: sigpending(), sigsuspend(), and select(). - Fixed prototype of fork(). - MFS: Fixed prototypes of <sys/socket.h> syscalls. Reviewed by: deischen Approved by: deischen, jasone | ||||
* | Remove the internal implementation details of wrapping syscalls, | ru | 2001-10-26 | 19 | -505/+0 |
| | | | | | | which do not match the reality anyway. Approved by: deischen, bde | ||||
* | Compensate for the way that _setjmp aligns the start of jmp_buf. | dfr | 2001-10-26 | 2 | -5/+23 |
| | |||||
* | Fix nit in copyright. | obrien | 2001-10-26 | 1 | -2/+2 |
| | |||||
* | Use the new machine-independent versions of crtbegin and crtend | obrien | 2001-10-26 | 2 | -108/+0 |
| | | | | from the "common" directory. | ||||
* | Minimal libc for sparc64. | jake | 2001-10-26 | 19 | -0/+874 |
| | | | | Reviewed by: obrien | ||||
* | In > LONG_MAX test use sseek return value and not _offset which can be not | ache | 2001-10-25 | 1 | -3/+4 |
| | | | | active. | ||||
* | Don't put an extra space after password prompts, because it violates POLA, | sobomax | 2001-10-25 | 2 | -7/+7 |
| | | | | | | makes FreeBSD inconsistent with previous releases and "other unices" as well as with some internal password-asking services (e.g. ftp) within the same release. | ||||
* | Implement va->pa translation for kernel virtual addresses. This is | dfr | 2001-10-25 | 1 | -30/+59 |
| | | | | untested - it only seems to be used for crashdumps. | ||||
* | Fix bugs in NgSendMsg() and NgSendAsciiMsg() where the wrong token | archie | 2001-10-25 | 1 | -2/+2 |
| | | | | | | | value could be returned when the debug level was non-zero. Submitted by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 5 days | ||||
* | Change #include "DEFS.h" to <machine/asm.h>. | peter | 2001-10-25 | 4 | -4/+4 |
| | |||||
* | De-orbit DEFS.h - the other arches do not use it, and it got replaced | peter | 2001-10-24 | 42 | -82/+35 |
| | | | | | | with <machine/asm.h>. Reviewed by: bde | ||||
* | Add __FBSDID. | asmodai | 2001-10-24 | 1 | -3/+5 |
| | | | | | Change __assert() function to print failing function name. This makes us C99 conforming. | ||||
* | Add __FBSDID. | asmodai | 2001-10-24 | 1 | -5/+10 |
| | | | | | | Change __assert() function to print failing function name. #if 0 the sccsid block. This makes us C99 conforming. | ||||
* | Help to recover from bad seek (i.e. negative or too big) happens beyond | ache | 2001-10-24 | 2 | -5/+12 |
| | | | | | our pre-check control. Do the same way as refill.c does when it set __SERR, i.e. clear read and ungetc buffers. Clear EOF flag too. | ||||
* | Back out read buffer invalidating via __SMOD. | ache | 2001-10-23 | 2 | -7/+2 |
| | | | | | It was correct, but not needed because internal buffer cleared on each seek outside of it. | ||||
* | Change comment explaining another usage of __SMOD | ache | 2001-10-23 | 1 | -2/+2 |
| | |||||
* | Disallow fseek() optimization in internal read buffer, if pointer is moved by | ache | 2001-10-23 | 1 | -0/+5 |
| | | | | | seek. It means that beginning of read buffer becomes not the same as current file position. | ||||
* | Partially port kvm to ia64 - virtual to physical translation is incomplete. | dfr | 2001-10-23 | 1 | -0/+167 |
| | |||||
* | Allow users to specify a command to use as remote command instead of | imp | 2001-10-23 | 4 | -6/+257 |
| | | | | | | | | | | using rcmd directly. This has been in my tree for a long time, but we may need to sync with OpenBSD before MFC. Obtained from: openbsd PR: 15830 MFC after: 2 months | ||||
* | Refer to chflags(2) instead of chflags(1) (since we're a section 2 | dd | 2001-10-23 | 1 | -3/+2 |
| | | | | | | | manual page), fix capitalization, and remove chflags reference from SEE ALSO since the only time it's referenced is with an .Xr, anyway. Submitted by: bde | ||||
* | Fix WAW dependency. p6 is written in the syscall epilogue. | peter | 2001-10-22 | 1 | -0/+1 |
| | |||||
* | Fix a few more dependancy violations. | dfr | 2001-10-22 | 1 | -3/+3 |
| | |||||
* | In the words of the submitter: | deischen | 2001-10-21 | 1 | -2/+10 |
| | | | | | | | | | | | | | In libc_r, if _FDLOCKS_ENABLED is not defined, there is no guarantee in many of the sycall wrappers that _thread_fd_table[fd] is initialized. This causes problems for programs that pass in file descriptors and execve() another program; when the exec'ed program tries to do an fcntl() or other syscall on the passed-in fd, it fails. Add calls to initialize the FD table entry for _thread_fd_lock and _thread_fd_lock_debug. Submitted by: Peter S. Housel <housel@acm.org> | ||||
* | Implement setjmp, longjmp, sigsetjmp and siglongjmp. | dfr | 2001-10-20 | 3 | -104/+53 |
| | |||||
* | Add __divdf3(), __divsf3() and __infinity[]. | dfr | 2001-10-20 | 4 | -1/+296 |
| | | | | Obtained from: Intel (for the divide code) | ||||
* | mdoc(7) police: join OS version with the corresponding macro. | ru | 2001-10-19 | 1 | -2/+2 |
| | |||||
* | Just use RSYSCALL. | ru | 2001-10-19 | 2 | -4/+2 |
| | |||||
* | signanosleep(2) hasn't existed since 1998. | ru | 2001-10-19 | 2 | -2/+0 |
| | |||||
* | Add NO_WERROR so the build won't die because of discarded qualifiers | des | 2001-10-19 | 1 | -0/+2 |
| | |||||
* | Back out part of previous commit which was gcc-centric | des | 2001-10-19 | 1 | -2/+2 |
| | |||||
* | s/kernal/kernel | alfred | 2001-10-19 | 2 | -2/+2 |
| | |||||
* | Add library exposed by KDE's use if this module. | markm | 2001-10-18 | 1 | -0/+2 |
| | |||||
* | Tons of type, style and warning fixes that have been rotting in my tree for | des | 2001-10-18 | 5 | -70/+101 |
| | | | | | ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were willing to do something (-fno-builtin) about it. | ||||
* | Use the new SIOCGIFINDEX ioctl to efficiently map a name to an index. | jlemon | 2001-10-17 | 1 | -2/+22 |
| | | | | | If the syscall fails, fall back on the old method as a compatability measure. | ||||
* | Fix reference to aio_read, should be aio_write | alfred | 2001-10-16 | 1 | -1/+1 |
| | |||||
* | Make this Makefile suitable for sparc64. | robert | 2001-10-15 | 1 | -2/+5 |
| | |||||
* | Define the types iaddr_t and saddr_t for sparc64. | robert | 2001-10-15 | 1 | -0/+4 |
| |