Commit Graph

200093 Commits

Author SHA1 Message Date
matt
f126fa1c9a Add support for TLS relocations.
From Joerg Sonnenberger
2011-04-12 16:40:04 +00:00
matt
9b4a6fec19 Add RCSIDs 2011-04-12 16:19:44 +00:00
tsutsui
f84f67c9f4 Make x68k bootloader to use MI libsa, libkern, and libz Makefiles in
src/sys/lib dirs for maintainability.  Tested on X68030, ok from isaki@.
2011-04-12 14:07:35 +00:00
jruoho
90fb5b4eb9 Put asctime(3) explicitly to SEE ALSO. 2011-04-12 13:48:29 +00:00
jruoho
e615e396bd Split out FUNCTIONS to make this tolerable to read. Also improve readability
with lists. Describe the functions in the order of appearance in SYNOPSIS.
Use CAVEATS instead of NOTES. Remove "man page spam". Etc.
2011-04-12 13:46:38 +00:00
mrg
a057421714 include <sys/cpu.h> when using cpu specific info. fixes building
these as part of sparc64 crash(8).
2011-04-12 08:42:12 +00:00
jruoho
72e27957d4 Xref tm(3). 2011-04-12 08:40:34 +00:00
jruoho
47a900e8bc Move some of the discussion from the messy ctime(3) to tm(3). 2011-04-12 08:39:26 +00:00
jruoho
6b4c2634f4 Add a small summary parge for struct tm from <time.h>. Cf. timeval(3). 2011-04-12 08:22:48 +00:00
mrg
95134ba1e2 make sparc/frame.h idempotent. 2011-04-12 07:54:16 +00:00
jruoho
9305ee0c33 Split the nextafter(3) family of functions to their own page and properly
document these.
2011-04-12 07:29:50 +00:00
jruoho
8ee666bc1f .Dv NULL. 2011-04-12 05:41:22 +00:00
cegger
448664b81b previous fix does not work if there is exactly only one entry where continue
exits the loop.
Apply fix from Konrad Wilke on port-xen@
That makes NetBSD DomU boot on Linux Dom0 with xl.
2011-04-12 05:09:32 +00:00
jruoho
28629a5be1 Use RETURN VALUES rather than DIAGNOSTIC for... return values. 2011-04-12 04:55:05 +00:00
jruoho
4767f8f268 Small rewording. 2011-04-12 04:27:02 +00:00
mrg
e9f4b70f7d rm -f ${.TARGET} before trying to > write to it; some how mine ended up
being mode 444 and the build failed.
2011-04-12 03:35:47 +00:00
jruoho
a402cee48a PR lib/41931 should be fixed; remove expected failure. 2011-04-12 03:06:21 +00:00
jruoho
5bed061828 Better to still leave the old PR number as a comment. 2011-04-12 02:56:20 +00:00
jruoho
97410b9644 PR lib/33262 should be fixed; remove expected failure. 2011-04-12 02:52:20 +00:00
mrg
8ca46a05f4 replace a non-working make construct with a working one.
now crash only builds unsupported.c on non-x86 systems again.
2011-04-12 01:47:20 +00:00
matt
d1d3b528a7 Make sure we init MIPS COP0 OSSCRATCH for UP as well as for MP. 2011-04-12 00:21:10 +00:00
matt
b784b74964 Add code to fixup the text segment to replace loads
from L_CPU(MIPS_CURLWP) or curlwp->l_cpu with
loads from COP0 register OSSCRATCH.
2011-04-11 23:12:41 +00:00
joerg
5e3fd2e02b Adjust --sysroot related usage:
-Wl,-rpath does not expand =, so just drop it.

Drop -Wl,-rpath-link entries that duplicate the -Wl,-rpath entries, this
is done implicitly now that ld is built with sysroot support.

Use ${DESTDIR} explicitly for the remaining -Wl,-rpath-link entries.
2011-04-11 23:03:38 +00:00
joerg
f64d82cdeb Extend, not reassign CPPFLAGS. 2011-04-11 22:47:50 +00:00
joerg
433a129747 Don't fail on platforms with "char" == "unsigned char" 2011-04-11 22:37:10 +00:00
rmind
38cb9aee7c Highly rewrite POSIX semaphore. Use file descriptor subsystem, greatly
simplify reference counting, and fix various bugs which existed before,
e.g. some incorrect locking or mq_unlink() not checking for permissions.

Also, fixes PR/43452.
2011-04-11 22:31:43 +00:00
rmind
8cf6ae2c0c Highly rewrite POSIX semaphore. Use file descriptor subsystem, greatly
simplify reference counting, and fix various bugs which existed before,
e.g. some incorrect locking or sem_unlink() not checking for permissions.
2011-04-11 22:31:42 +00:00
martin
27bf1163c3 Collect all of var/chroot/tcpdump in one set - so we have a chance to
win the checkflist game.
2011-04-11 22:09:56 +00:00
martin
f327756f24 Ooops, fix source path for the "protocols" file 2011-04-11 21:49:13 +00:00
roy
ed684e08ea Clean up some compile warnings 2011-04-11 21:37:19 +00:00
roy
9a92225ded POSIX says that term.h should define tgetstr and friends
Fixes PR lib/43941
2011-04-11 21:13:09 +00:00
joerg
c033559e42 GCC 4.1 doesn't have the support code for -I =... yet, so don't use it
for now.
2011-04-11 21:04:11 +00:00
martin
c98db97906 Add a new check to populate /var/chroot/tcpdump/etc 2011-04-11 20:29:50 +00:00
martin
72c24adedc Should no longer fail - if it still does, be sure to have a proper
/var/chroot/tcpdump/etc/protocols file installed (i.e. by running
postinstall)
2011-04-11 20:08:10 +00:00
martin
75b76dfeb7 When run as root, tcpdump will chroot to /var/run/tcpdump - but it can
not look up /etc/protcols in there. So install a copy of /etc/protocols
into the chroot area.
Fixes PR bin/44721.
2011-04-11 20:03:45 +00:00
rmind
2ca6f25dde softint_execute: add assert which could catch locking bugs in softint handlers. 2011-04-11 19:13:54 +00:00
rmind
7742d02d14 G/C unused MUTEX_COUNT_BIAS (it was for VAX) 2011-04-11 19:11:08 +00:00
jakllsch
6cdca07066 Partially revert part of -r1.167; it was wrong. From dholland. 2011-04-11 18:24:49 +00:00
phx
fbb77c10f3 Enable strtc(4). Should theoretically work.
It works indeed for my DSM-G600 after I removed the battery. But there
must be something which confuses the chip later on...
2011-04-11 18:02:11 +00:00
tron
7831dec066 Fix build with stack smash protection enabled. 2011-04-11 17:16:43 +00:00
tsutsui
7c1e72a72b Use bsd.klinks.mk to create machine and ${MACHINE_ARCH} symlinks. 2011-04-11 15:20:30 +00:00
drochner
997b81175f let log(<0) return NaN rather than -inf in POSIX/XOPEN modes, as
requested in PR lib/41931 by Havard Eidnes (the PR refers to POSIX,
the OSF/1 manpage suggests that XOPEN should behave that way too)
being here, do the same to log10 and log2
2011-04-11 15:17:33 +00:00
sjg
2ac5d52245 Add a test case for sysV modifier subst 2011-04-11 15:10:15 +00:00
cegger
ae26631de3 Continue scanning for other frontends when initialization
of one frontend failed. Bug reported by Konrad Wilk on port-xen@.
Fix this for all error pathes within the loop.
2011-04-11 15:00:49 +00:00
sjg
521f3749c8 If a "long" modifier name does not match, goto default case
so SysV modifier can be tried.
2011-04-11 14:49:09 +00:00
tsutsui
aedf074cc2 Some KNF. No binary change. 2011-04-11 14:00:02 +00:00
tsutsui
972813450e Bump version to denote serial console fix. 2011-04-11 13:49:41 +00:00
tsutsui
b9b2defb4b Add missing breaks. No need to output to SERIAL on ITE console. 2011-04-11 13:48:32 +00:00
tsutsui
bbc0dfc7e6 Fix pasto. Now serial console output on bootloader works properly
after ~decade.  ok from minoura@
2011-04-11 13:47:16 +00:00
martin
53058fd218 Add libm/t_infinity 2011-04-11 10:55:26 +00:00