Commit Graph

222191 Commits

Author SHA1 Message Date
christos
cb2bd1517d pick up omp.h from the libgomp directory not from /usr/include/gcc-4.5. Makes
the code compilable with gcc-4.8.1
2013-11-01 18:11:49 +00:00
christos
8ae3ff1668 make config errors look more like other programs: <file>,<line>:
instead of <file>:<line>:
2013-11-01 17:09:59 +00:00
christos
467dcff180 fix type in comparison 2013-11-01 17:09:00 +00:00
christos
ad3b972d11 ignore all -std=gnu patterns not just 99 2013-11-01 17:07:37 +00:00
christos
5c83aa644a PR/48312: Dieter Roelands: According to TOG, unset should not return an error
for functions are variables that were not previously set:
http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html
2013-11-01 16:49:02 +00:00
rmind
20a51a9773 tmpfs: fix the zero-length symlink target case as NetBSD supports them. 2013-11-01 15:38:45 +00:00
skrll
c76543cbe5 Style. 2013-11-01 15:33:48 +00:00
skrll
735b653763 Don't always define DWC2_DEBUG 2013-11-01 15:03:39 +00:00
skrll
41d476cc49 DOTG is dead. Long live DWC2. 2013-11-01 14:32:54 +00:00
skrll
7091ca2edf Clean up (mostly remove unneeded) #includes 2013-11-01 14:24:03 +00:00
skrll
503545bedb PR/48342. Add aurateconv as a dependency for vcaudio. 2013-11-01 12:23:12 +00:00
apb
44f40b000e HOST_SH is defined in bsd.sys.mk, so we need to include that
as well as bsd.own.mk.  Revert previous use of ${HOST_SH:Ush}.
2013-11-01 11:09:05 +00:00
martin
5df913ae6f If HOST_SH is not defined, use sh to parse osrelease.sh 2013-11-01 10:00:51 +00:00
mlelstv
77a7376bce rfc3720 Appendix D. SendTargets Operation requires that requesting
information for all relevant targets is done with the value 'All'
(upper case A) and some implementations require it.
2013-11-01 07:53:34 +00:00
apb
786efef96b Document that patterns are specified using extended regular expressions. 2013-11-01 07:49:00 +00:00
mrg
1f2cedecc1 add support for GCC 4.8 sets. 2013-11-01 07:48:31 +00:00
mrg
f418301d8c add some NetBSD_DISABLED_* rules. 2013-11-01 06:43:11 +00:00
mrg
7ba5ff78a9 move variable definition/set inside the same #ifdef of the usage. 2013-11-01 06:42:23 +00:00
mrg
c77065c11b apply __diagused where appropriate. 2013-11-01 06:41:56 +00:00
mrg
76122a21da sprinkle some __diagused where appropriate. 2013-11-01 06:22:46 +00:00
apb
f644e87962 Reinstate .include <bsd.own.mk>. Without this, many variables are undefined.
Define DISTRIBVER in the same way that src/etc/Makefile defines it.
Without this, "make params" in src/Makefile uses an undefined value.

Remove a spurious ">&3".
2013-11-01 06:22:24 +00:00
christos
6de650fa02 provide an ldscript for booters that strips the unwind sections.
XXX: untested
2013-11-01 00:19:04 +00:00
christos
89392a8d06 provide an ldscript to strip the unwind sections
XXX: untested
2013-11-01 00:18:24 +00:00
christos
ddd5644b2e Handle new objc for gcc-4.8.1. Someone with more objc foo can do this better. 2013-10-31 21:02:11 +00:00
christos
c4b3b5ae3a avoid pointer aliasing problems. 2013-10-31 20:31:04 +00:00
christos
79581a2559 Handle more than gcc 4.5 2013-10-31 17:28:10 +00:00
mbalmer
ceb424979d fix build on arm 2013-10-31 16:50:14 +00:00
apb
c2ebc84464 Add a reference to secmodel_extensions(9), to make it a little easier to
figure out how to enable mounts for unprivileged users.  (Why don't we
just explain vfs.generic.usermount in the mount(8) man page?)

Also add another example of different ways in which the "special"
argument is interpreted by different file systems: mount_tmpfs(8)
ignores it.
2013-10-31 07:37:06 +00:00
msaitoh
263db65164 Add 40bit DMA bug workaround(BGEF_40BIT_BUG) from FreeBSD (part of r199670).
This workaround is for 5714/5715 controllers and is not actually a MAC
controller bug but an issue with the embedded PCIe to PCI-X bridge in the
device.
 This change uses bus_dmatag_subregion(), so this workaround won't work on some
archs which doesn't support bus_dmatag_subregion().
2013-10-31 06:01:39 +00:00
msaitoh
0c2f7a3b5c Cleanup flag setting. No functional change.
- Split flags into bge_flags and bge_phy_flags.
- Rename flags. PHY related flags are prefixed with BGEPHYF_*.
  Other flags are prefixed with BGEF_*.
2013-10-31 04:26:40 +00:00
mrg
94542b393a create mkdep output with a temporary file so that failures in
complation during .d creation don't leave an empty (stale) .d
file around to break future builds.

(hmm, probably could use .PRECIOUS here.)
2013-10-31 01:55:03 +00:00
rmind
f8abe6cb77 tmpfs_alloc_node: it is less error-prone to store the link path with
the NIL terminator included.  Adjust tmpfs_readlink() to exclude NIL.
Also, remove the check for zero-length and add some asserts.
2013-10-31 00:59:17 +00:00
wiz
acfbbe39c1 Try improving the description. 2013-10-31 00:30:14 +00:00
joerg
1e90a44d68 Preserve NetBSD version from the ABI tag for compat use. 2013-10-30 23:32:30 +00:00
joerg
6808667375 Update LLVM/Clang snapshot to r193633. Fixes an old and somewhat amusing
bug involving a source file foo.c, a function foo and a static
function-local variable c in the direct object writer.
2013-10-30 20:27:39 +00:00
drochner
7ab7c82097 play the addref/delref game on suspend, prevents crash if the disk/CF Card
is eg. in a PCMCIA adapter and not mounted
2013-10-30 15:41:14 +00:00
drochner
958a129dbd -recognize CF cards by the magic value in inquiry data
-kill CFG_ATAPI_MASK, didn't see anything in the specs supporting
 that it exists
2013-10-30 15:37:49 +00:00
apb
77d5075faf In "make sortlists", if the file was already sorted then don't
change its timestamp.
2013-10-30 15:17:01 +00:00
apb
b56cbda8ef Instead of stupid postprocessor tricks, use redirect tricks
to ensure that the output from ${PRINT_PARAMS} contains only
the desired information without any debugging noise.
2013-10-30 15:15:12 +00:00
christos
f2361eace1 Ignore SIGPIPE; this is silly, we are getting EOF from a client, then while
processing the error SIGPIPE comes because the client closed the connection,
and then we end up calling error() while processing the error which prints
silly messages on the console because it logs with LOG_EMERG.
2013-10-30 14:25:47 +00:00
pooka
d3852222c9 Oh, stdint.h isn't written with a comma ... 2013-10-30 13:08:14 +00:00
pooka
e5aed19d72 need to include stdint.h before rump/rumpuser.h 2013-10-30 12:55:53 +00:00
pooka
079cd2100d glibc on MIPS uses the same DYN d_ptr variant as NetBSD and musl.
from Justin Cormack
2013-10-30 12:30:32 +00:00
mrg
02f2d66aa1 mark rump's CPU_INFO_ITERATOR as being __unused. 2013-10-30 08:42:45 +00:00
mrg
ea1cef97af avoid uninitialised variable use. 2013-10-30 08:42:16 +00:00
mrg
ef05d8864c ensure variables are initialised 2013-10-30 08:41:57 +00:00
mrg
4cf2909a7b used __diagused where appropriate. 2013-10-30 08:41:38 +00:00
gson
69b89ed80e Fix incorrect function names in panic message strings. 2013-10-30 08:40:32 +00:00
mrg
82ccf86971 remove unused variables 2013-10-30 08:39:01 +00:00
mrg
5a3d1851d6 #ifdef a variable decl/setting with it's use. 2013-10-30 08:38:40 +00:00