christos
09efa38c34
sync with the code with have in the current copy of gcc.
2016-03-10 14:40:00 +00:00
christos
69f16a276d
merge conflicts
2016-03-10 04:01:33 +00:00
christos
8a4b3b5da5
Do the same song and dance for functions.
2016-03-10 03:50:47 +00:00
christos
f89b1f3091
Import 9.10.3-P4:
...
4322. [security] Duplicate EDNS COOKIE options in a response could
trigger an assertion failure. (CVE-2016-2088)
[RT #41809 ]
4319. [security] Fix resolver assertion failure due to improper
DNAME handling when parsing fetch reply messages.
(CVE-2016-1286) [RT #41753 ]
4318. [security] Malformed control messages can trigger assertions
in named and rndc. (CVE-2016-1285) [RT #41666 ]
2016-03-10 03:22:13 +00:00
uwe
07495c9005
gdb now checks the size of the core register section, so pacify the
...
warning in corelow.c by providing the expected size.
2016-03-09 20:55:22 +00:00
christos
d396365815
Fix copy relocations against protected symbols from:
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65248
2016-03-08 03:58:08 +00:00
joerg
715ef344d7
Ignore clang's empty loop-body warning, it is used extensively via
...
macros.
2016-03-07 14:35:21 +00:00
hannken
71d1b0cc02
Relocation of type SHT_REL must use the current value as addend.
...
Fixes ctfconvert for i386 where section .debug_info uses this relocation.
Ok: Christos Zoulas
2016-03-07 14:32:02 +00:00
nakayama
b8feaa5e58
Remove unnecessary local change.
2016-03-06 09:39:42 +00:00
nakayama
445b9f9763
Reapply following changes to binutils 2.26 to fix PR toolchain/48630.
...
http://mail-index.netbsd.org/source-changes/2014/03/10/msg052578.html
http://mail-index.netbsd.org/source-changes/2014/03/10/msg052579.html
2016-03-06 09:38:08 +00:00
christos
603f28d89d
remove comment I used to test.
2016-03-01 21:45:10 +00:00
christos
f485d9df89
Build as PIC if requested
2016-03-01 21:30:40 +00:00
joerg
2f04f4ac92
Don't crash when relocbase was 0.
2016-03-01 21:09:17 +00:00
joerg
f2e47b4038
Merge r274564 from FreeBSD:
...
Fix a couple of bugs around the handling of structs and unions of size zero.
These would cause ctfconvert(1) to return an error when attempting to
resolve valid C types.
2016-03-01 14:52:14 +00:00
riastradh
a37e72fe0d
Let MKCTF alone control whether we build libctf.
...
If MKDTRACE=yes MKCTF=no makes no sense, we can express that
somewhere else, not as a confusing set lists error at the end -- as
far as I know, there's no way to express MKDTRACE *or* MKCTF as a
condition for set list entries.
2016-02-29 17:46:54 +00:00
riastradh
9e84fa00b8
uint64_t can't be negative.
2016-02-29 16:19:20 +00:00
riastradh
a9ebcda81c
Sprinkle some more zfs range lock reference count kasserts.
...
From a debugging session months ago, might as well share them.
2016-02-29 16:18:37 +00:00
riastradh
0ba9aea45e
Cast int64_t to long long before printfing with %lld.
...
Not doing so broke something months ago and I forgot why.
2016-02-29 16:14:57 +00:00
riastradh
886308980e
Add __printflike as appropriate.
2016-02-29 02:19:37 +00:00
joerg
fe6ae8345b
Make using ! on the LHS of a compare non-fatal, even if it is not
...
cosher. It is currently not clear what the code is actually trying to
do.
2016-02-28 22:55:21 +00:00
riastradh
f39627880d
Define FC_NO_MT=1 for tools mkfontscale build.
...
No idea what the host's atomic ops will be but we don't need them
because this tool is not multithreaded.
Fixes harmless warnings like
all ===> external/mit/xorg/tools/mkfontscale
/home/source/ab/HEAD-llvm/xsrc/external/mit/fontconfig/dist/src/fcinit.c:29:2: warning: #warning Could not find any system to define atomic_int macros, library may NOT be thread-safe. [-Wcpp]
#warning Could not find any system to define atomic_int macros, library may NOT be thread-safe.
^
2016-02-28 22:12:26 +00:00
christos
042ef76aff
- Add missing ioctl.h
...
- Hide dprintf
2016-02-28 19:10:45 +00:00
christos
91780cc76d
hook drti
2016-02-28 19:10:10 +00:00
martin
3b0ef40db6
Only override LIB_PATH to /usr/lib/sparc when doing elf32 for sparc64.
2016-02-28 16:06:27 +00:00
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