Commit Graph

5853 Commits

Author SHA1 Message Date
joerg
9e4f8959e5 Don't claim too much about empty loops, the SYSCALL macro is kind of
obnoxious like that...
2016-02-28 15:15:42 +00:00
joerg
77997ab922 Mark files without llvm-261930 symbol as dead. 2016-02-27 23:00:06 +00:00
joerg
e566c4e674 Import LLVM 3.8.0rc3 r261930. 2016-02-27 22:48:41 +00:00
joerg
5ef9751be5 Mark files without clang-261930 as dead. 2016-02-27 22:22:58 +00:00
joerg
4a29050e1b Import Clang 3.8.0rc3 r261930. 2016-02-27 21:58:20 +00:00
joerg
ba87356165 Update build system for LLVM 3.8.0rc3. 2016-02-27 21:47:30 +00:00
joerg
24d50a40b3 As workaround for limitations in Clang's atomic lowering on SPARC,
require v8+ for those files that need C++11 atomics.
2016-02-27 21:42:14 +00:00
riastradh
5103a5bf39 Disable C++11 warnings about `register' qualifiers in glsl_lexer.cpp.
glsl_lexer.cpp was generated by a flex that still uses it.  It is
harmless.
2016-02-26 21:20:17 +00:00
riastradh
323e5a7907 Use -std=c++11 unordered_set, not TR1 unordered_set. 2016-02-26 18:29:55 +00:00
christos
0e580577fe CID 420802: Avoid NULL deref. 2016-02-26 16:28:14 +00:00
christos
29b05d6a28 CID 270355 fix memory leak 2016-02-26 16:26:24 +00:00
christos
31453f89b8 Restore old netbsd emulation names, requested by joerg. 2016-02-26 14:34:06 +00:00
joerg
92613883a0 SPARC before v8 requires a nop instruction between a floating point
instruction and a floating point branch.  SPARCv8 requires a nop only
immediately after FPop2 (fcmp*) instructions. Adjust the logic to
properly implement the v8 rules when targetting a less ancient
architecture.
2016-02-25 12:36:36 +00:00
joerg
f247f26769 Make the default CPP path a list and check if they are access(2)able.
If no match is found, fallback to looking for cpp in PATH.
2016-02-24 21:11:34 +00:00
christos
a70fb49099 Add one more clean file 2016-02-23 22:32:48 +00:00
christos
dd29af5a4a Remove d-exp.c (generated file) 2016-02-23 22:32:07 +00:00
roy
375786737e Sync 2016-02-22 10:09:06 +00:00
roy
2644931fa7 Import openresolv-3.7.3 with the following changes:
*  Save the initial working directory and change to it just before
     running any scripts.
     This avoids scripts putting files accidently where they shouldn't.
  *  Strip trailing dot from search and domain names.
  *  man page improvements.
2016-02-22 10:07:26 +00:00
skrll
751d84791e Remove duplicated lines 2016-02-22 07:57:11 +00:00
joerg
5e22f35b4d Keep the if chain going. 2016-02-21 13:33:47 +00:00
christos
e0ab85cf5e Handle the last newline in the "special" import for new file like RCS does.
I.e. make_message_rcsvalid() removes it, and we put it back.
2016-02-21 00:56:44 +00:00
joerg
486516affa Clang 3.7 and newer provide the array size via DW_AT_count, not via
DW_AT_upper_bound. Recognize the former as well as the latter.
2016-02-20 23:09:03 +00:00
joerg
4fa4785fa4 Don't nuke input on errors, it makes debugging a nightmare. 2016-02-20 22:08:44 +00:00
joerg
f9442aa68f Shuffle include order to avoid missing free on glibc. 2016-02-20 21:50:02 +00:00
christos
a844544399 bump version 2016-02-20 02:44:02 +00:00
christos
42bd301920 merge conflicts 2016-02-20 02:43:41 +00:00
christos
39a6cffc33 Import latest elftoolchain components needed for CTF from FreeBSD 2016-02-20 02:42:00 +00:00
christos
604231c4f0 - don't barf if the object does not have DWARF debug data.
- bump size of types to 1K to avoid string overflow
(both are needed for the new elftoolchain).
2016-02-20 02:39:47 +00:00
joerg
b0b911ff3e Don't use #pragma weak to implicitly change argument types. 2016-02-19 19:25:59 +00:00
joerg
e9ae0934d6 dmu_objset_rename is an alias for dsl_dataset_rename, but differs in
constness of the first argument. Newer clang checks for this and
prohibits it, so just be consistent by constifying the latter.
2016-02-19 19:25:22 +00:00
christos
3129d5ec3f avoid re-def 2016-02-19 17:05:40 +00:00
dholland
dca47d5247 Restore the local change
-gcc: internal compiler error: Killed (program cc1plus)
  +gcc: internal compiler error: Killed (program cc1plus received signal 9)
which was lost in an update somewhere after netbsd-6.

This clarification was found in the past to significantly reduce the
number of bug reports caused by people running out of swap, such as
(most likely) seen again today in PR 50802.

XXX: pullup-7
2016-02-14 19:08:10 +00:00
martin
7c285cf750 Make the vax target buildable 2016-02-14 19:00:04 +00:00
christos
c628030d37 reduce ifdefs 2016-02-13 21:37:12 +00:00
plunky
f0aec56b1b update build machinery for pcc-20160208 2016-02-09 20:40:45 +00:00
plunky
41b9722a1a fix merge conflicts from import of pcc-20160208 2016-02-09 20:37:32 +00:00
plunky
411dcbec99 update to pcc snapshot 20160208. Rather than provide the full
list of changes, they can be found at

	http://pcc.ludd.ltu.se/fisheye/changelog/pcc

Along with numerous bug fixes, the highlights might be a rewrite
of the CPP parser, updated backends for arm, pdp11, m68k, vax and
mips along with new backend for 8086. PCC now builds itself as a
2-pass compiler. There have been fixes for use with musl, C11
support added and use of UTF8 internally. PE/COFF target was fixed,
and Minix target added.
2016-02-09 20:28:01 +00:00
christos
321e8935a4 don't re-define _KERNTYPES 2016-02-07 21:03:49 +00:00
riastradh
1b08af128c No <immintrin.h> for pcc even on x86. 2016-02-06 20:23:39 +00:00
joerg
1903f8c159 Override default LIB_PATH for i386 emulation. Unlike older binutils, we
now have to check the emulation and not that the target as the change
otherwise leaks into the native 64bit linker scripts as well.
2016-02-06 19:22:00 +00:00
joerg
6068ebb4ad We don't want to target-specific search directories on NetBSD in the
linker scripts, they just add noise.
2016-02-06 19:20:49 +00:00
joerg
9ba8249836 Avoid empty loop. 2016-02-06 18:23:26 +00:00
joerg
66313330f0 SDT is not a disease. Use const consistently. 2016-02-06 18:19:59 +00:00
riastradh
8e1ee72c35 Need nbtool_config.h for __dead in tools. 2016-02-05 20:39:50 +00:00
riastradh
32e3d5d381 Need nbtools_config.h for __unused.
Fixes

.../src/tools/ctfmerge/../../external/cddl/osnet/dist/tools/ctf/common/list.c:73:47: error: expected ';', ',' or ')' before '__unused'
 list_defcmp(void *d1, void *d2, void *private __unused)
                                               ^~~~~~~~

on non-NetBSD systems, where <assert.h>, <stdlib.h>, <stdio.h>, and
<sys/types.h> don't define __unused.
2016-02-05 19:56:00 +00:00
roy
e0e130b7f2 World+dog want to treat rdl_path as char, so make it so. 2016-02-05 17:20:54 +00:00
roy
51cc62e4dc Fix is defined in wpa_common.h which the driver already pulls in. 2016-02-05 15:05:29 +00:00
roy
af0a4ca738 Only build tests if MKATF != no 2016-02-05 10:16:12 +00:00
roy
871759c0d7 Fix the actual issue rather than silencing the warning.
Thanks to gson@
2016-02-05 10:14:49 +00:00
roy
f4a5ac8842 Add -Wno-format-nonliteral 2016-02-04 21:26:48 +00:00