Commit Graph

6122 Commits

Author SHA1 Message Date
mrg
b025ea285a avoid unused variables. 2016-03-23 06:59:59 +00:00
mrg
017e647d1f hackaround a problem on mips64 in soft-fp between libgcc and our libc.
i'm not 100% sure how this should work (matt?), as now we have some
functions coming from libc and some from libgcc, but this at least
builds now.
2016-03-23 05:28:01 +00:00
mrg
7e10c3bf91 workaround a problem in old binutils and GCC 5.3. 2016-03-23 05:24:54 +00:00
mrg
6faa8aa178 slightly rearrange the generation of SRCS. 2016-03-23 00:20:18 +00:00
mrg
b1835b1ee7 mknative-gcc for coldfire and GCC 5.3. 2016-03-22 10:09:01 +00:00
mrg
4696acf403 updates to latest -current:
- sshd problem is libldap.so.4.3, at least on sparc64.  placing with 4.8 one works
- alpha mostly works fine, 7 new failures in atf, plus sshd problem
- update release build info for many *earm*, hppa, i386, amd64, mipsel, sh3*
- *mips* now at least completes mknative-gcc
- sh3eb has a mknative-gcc problem
2016-03-22 08:22:04 +00:00
mrg
f64fc53ba7 mips64 does not get (all?) the non sw-float version. fixes double symbol issues. 2016-03-22 08:18:27 +00:00
mrg
e7262bd9c5 mknative-gcc for m68k and m68000 and GCC 5.3. 2016-03-22 08:15:24 +00:00
mrg
32934a1fbb mknative-gcc for mips64* and GCC 5.3. 2016-03-22 06:54:18 +00:00
mrg
e347292cc6 mknative-gcc for GCC 5.3 and mipseb. 2016-03-22 05:09:49 +00:00
mrg
9d759439d5 XXXGCC5: add symlinks for SH .cc files. 2016-03-22 05:08:38 +00:00
mrg
8ae225e173 mknative-gcc for GCC 5.3 and mipseb. 2016-03-22 05:04:41 +00:00
mrg
cd3c7112ee hand-edit some not-yet-regenerated files that break the libstdc++
includes during mknative.
2016-03-22 04:53:16 +00:00
mrg
a39fa7193a mknative-gcc for GCC 5.3 and mipsel. 2016-03-22 04:50:50 +00:00
dholland
600ce53269 Install ftttdrv.h, which was apparently overlooked at some point
(probably because it contains little of substance...) PR 50902.
2016-03-21 05:23:39 +00:00
mrg
0645af0eac update alpha (mostly working) and hppa (mknative-gcc works) 2016-03-20 21:27:27 +00:00
mrg
e10e41c701 mknative-gcc for HPPA and GCC 5.3. thanks for fixing fenv.c, nick! 2016-03-20 21:14:20 +00:00
mrg
0d31cfc9e9 disable -fdelete-null-pointer-checks by default for now. 2016-03-19 20:54:49 +00:00
mrg
4b0e0968c5 note alpha mostly works (sshd problem as well)
add that sparc64 test results are about 60 additional failures
2016-03-19 20:53:46 +00:00
mrg
fed2b588b4 add missing insn-modes.h files from earlier regen. 2016-03-18 20:40:21 +00:00
christos
e31ac8976d Add more stack-protector elides 2016-03-18 17:52:30 +00:00
christos
ccd8517e35 write references as pointers XXX: 2016-03-18 17:11:04 +00:00
christos
8db25f0638 treat class line struct and union 2016-03-18 17:08:45 +00:00
christos
dd09ff20c8 Add support for c++ classes. 2016-03-18 17:07:23 +00:00
christos
63ffeeee3f spell restrict 2016-03-18 16:37:09 +00:00
christos
3e0f598a15 fix printf format 2016-03-18 16:32:03 +00:00
christos
714b78ffa0 Add references, comments. 2016-03-18 16:24:26 +00:00
christos
096b9466af add references. 2016-03-18 16:12:46 +00:00
christos
4a929da448 Add references. 2016-03-18 15:26:31 +00:00
christos
6f5d40c1b7 tidy up: parse DW_AT_specification like DW_AT_abstract_origin 2016-03-18 14:58:18 +00:00
christos
22c82d5b7b - Add processing for c++ references.
- Make sure we load the DIE that contains the types of array elements so
  we can resolve them later.
- Print t_id (die offsets) in hex.
2016-03-18 14:55:34 +00:00
christos
f15ed7b01a swap first, then write. 2016-03-18 13:23:00 +00:00
mrg
007d524719 update info for:
hppa: libc build failes in fenv.c
	m68*: libc fails with stack protector issues
	mips*: libgcc fails
	sh*: initial stuff works
	sparc*: sshd is broken for both, perhaps kernels are SMP problematic
	vax: tools/gcc failes
2016-03-18 10:14:39 +00:00
mrg
fb33ee4218 find all libgcc sources 2016-03-18 10:08:43 +00:00
mrg
243c03d765 disable our local hack to check alloc alignment on arm, as the define
is no longer compile-time constant and CTASSERT() fails.
2016-03-18 10:07:52 +00:00
mrg
fbe3505298 mknative-gcc for GCC 5.3 and sh3*, hppa, m68*, mips*.
none of them are complete yet.
2016-03-18 09:18:04 +00:00
mrg
9a20e32a79 update info for alpha, powerpc, earmv4, i386, and sparc* 2016-03-18 07:30:47 +00:00
mrg
81fd101dad initial mknative-gcc for GCC 5.3 and alpha/powerpc. 2016-03-18 07:29:40 +00:00
mrg
3f845bd035 regen. 2016-03-18 01:03:33 +00:00
mrg
c261683575 delete the GCC 4.8 status, and update the 5.3 one a little. 2016-03-17 23:44:12 +00:00
mrg
942264dc30 generate mknative-gcc for GCC 5.3 and all the arm targets.
minor regen for x86 and sparc*
2016-03-17 23:40:10 +00:00
mrg
7e67a440fd document the state of gcc 5.3 in src. 2016-03-17 21:46:08 +00:00
christos
f67f429ca8 remove unused label. 2016-03-17 19:02:38 +00:00
christos
4266f2333f Handle DW_AT_specification better; also don't core-dump if at == NULL.
XXX: Is that right?
2016-03-17 18:52:26 +00:00
nakayama
7080db35d2 Regen without #line directives.
- nbyacc -l -d -o initparse.c parse.y
- nblex -L -t -p scan.l > initscan.c
2016-03-17 15:28:00 +00:00
nakayama
31a9210e94 Apply our changes dropped in previous merge. 2016-03-17 15:23:21 +00:00
mrg
6d2d852e21 mknative bootstrap-libgcc GCC 5.3 for most arm platforms. having
minor issue with the next step.

regen minor bits for amd64.
2016-03-17 08:09:32 +00:00
mrg
dbb6be7589 don't build a fake insn-modes.h for arm. 2016-03-17 08:02:38 +00:00
christos
cdd20e12b2 Avoid longjmp clobbering 2016-03-17 03:05:55 +00:00
christos
6d8f8b8d44 regen amd64 2016-03-17 00:56:05 +00:00
christos
03d1491ba7 Need more no stack protector 2016-03-17 00:55:54 +00:00
christos
9601406bf3 add default: to appease gcc. 2016-03-17 00:19:36 +00:00
wiz
3c8121f349 Hardcode man page dates to date of groff release (September 4, 2005
for 1.19.2 in this case).

We can not use mdate.sh since after checkout/update from version
control, it might be today's date and MKREPRO won't work.
2016-03-16 23:52:04 +00:00
mrg
12cc99b35b mknative-gcc for GCC 5.3 and sparc64. 2016-03-16 18:07:16 +00:00
mrg
8bf117ec5f mknative-gcc for GCC 5.3 and sparc 2016-03-16 11:24:16 +00:00
mrg
db843c8c09 for now, use a mknative-gcc copy of insn-modes.h and ensure that it
matches during the build.  the copy is used for everything, but it
is needed for libgcc and libgomp early on.

regen i386.
2016-03-16 10:56:20 +00:00
mrg
fd7d023d0b regen. 2016-03-16 09:30:43 +00:00
mrg
849ca3bc36 disable some asan stuff for now. 2016-03-16 07:17:14 +00:00
mrg
2084d61b21 apply an ugly hack to force-build insn-modes.h for libgcc and libobjc
since they want it now.

XXX:  super ugly, probably can be fixed by rearranging a bunch of what
XXX:  is currently in ../usr.bin/backend/ that builds insn-modes.h.
2016-03-16 05:44:16 +00:00
mrg
3d6404b178 spell $NetBSD$ with the trailing $. 2016-03-16 05:42:07 +00:00
mrg
6ce58dac48 libgcc needs to be fully built before others (so that headers are)
so add a .WAIT.  make sure to check MKCXX for libs??c++*.

XXX turn of libasan for now.
2016-03-16 05:41:47 +00:00
mrg
b56ef02ca2 quote AD and LD. 2016-03-16 05:33:50 +00:00
mrg
c88c737d14 remove remaining mudflap bits 2016-03-16 05:33:16 +00:00
mrg
528265ab04 first stab mknative-gcc for GCC 5.3 and amd64. 2016-03-16 05:29:39 +00:00
mrg
04e7f39aac avoid rebuilding the INSTALL file which may be in a r/o src dir. 2016-03-16 00:52:41 +00:00
mrg
9f49350839 regen 2016-03-15 21:43:24 +00:00
mrg
77beaa54ea - fix build for c98/c11 versions of codecvt.cc
- the c99 subdir localename.cc and locale_init.cc need -std=gnu++11
2016-03-15 21:42:59 +00:00
mrg
7b1abc82fd port to GCC 5.3:
- handle wide-int{,-print}.cc with a hack
- clean up CLEANFILES
- build gengtype{-lex,-parse,-state,}.c properly
- build genmatch and its outputs
- build pass-instances.def
2016-03-15 21:41:36 +00:00
mrg
c53665cd03 fix the path for $GCCARCH. 2016-03-15 19:21:27 +00:00
mrg
7cc8898070 regen. 2016-03-15 19:18:00 +00:00
mrg
0f673b1e90 build a host version of libcpp, same as we do for libiberty.
the new genmatch generator program needs libcpp.
2016-03-15 19:14:47 +00:00
mrg
25a854132c add new sources in GCC 5.3. 2016-03-15 19:13:22 +00:00
mrg
9688a4384e move the target defines into a makefile fragment and add the new GCC
5.3 defines necessary.  remove "cp/" prefix from sources.
2016-03-15 19:12:06 +00:00
christos
9055794a13 update for 2016b 2016-03-15 17:33:14 +00:00
christos
b694a0486b Import tzdata2016b from ftp://ftp.iana.org/tz/releases/tzdata2016b.tar.gz
Summary of changes in tzdata2016b (2016-03-12 17:30:14 -0800):
  * New zones Europe/Astrakhan and Europe/Ulyanovsk for Astrakhan and
    Ulyanovsk Oblasts, Russia, both of which will switch from +03 to +04 on
    2016-03-27 at 02:00 local time.
  * As a trial of a new system that needs less information to be made up,
    the new zones use numeric time zone abbreviations like "+04"
    instead of invented abbreviations like "ASTT".
  * Haiti will not observe DST in 2016.
  * Palestine's spring-forward transition on 2016-03-26 is at 01:00, not 00:00.
  * Europe/Chisinau observed DST during 1990, and switched from +04 to
    +03 at 1990-05-06 02:00, instead of switching from +03 to +02.
  * 1991 abbreviations in Europe/Samara should be SAMT/SAMST, not
    KUYT/KUYST.
  * tzselect's diagnostics and checking, and checktab.awk's checking,
    have been improved.
  * tzcode now builds under MinGW.
  * tzselect now tests Julian-date TZ settings more accurately.
  * Comments in zone tables have been improved.
  * tzselect again limits its menu comments so that menus fit on a
    24x80 alphanumeric display.
  * A new web page tz-how-to.html.
  * In the Theory file, the description of possible time zone abbreviations in
    tzdata has been cleaned up, as the old description was unclear and
    inconsistent.

Summary of changes in tzdata2016a (2016-01-26 23:28:02 -0800):
  * America/Cayman will not observe daylight saving this year after all.
  * Asia/Chita switches from +0800 to +0900 on 2016-03-27 at 02:00.
  * Asia/Tehran now has DST predictions for the year 2038 and later,
    to be March 21 00:00 to September 21 00:00.
  * America/Metlakatla switched from PST all year to AKST/AKDT on
    2015-11-01 at 02:00.
  * America/Santa_Isabel has been removed, and replaced with a
    backward compatibility link to America/Tijuana.
  * Asia/Karachi's two transition times in 2002 were off by a minute.
  * Changes affecting documentation and commentary.

Summary of changes in tzdata2015g (2015-10-01 00:39:51 -0700):
  * Turkey's 2015 fall-back transition is scheduled for Nov.
  * Norfolk moves from +1130 to +1100 on 2015-10-04 at 02:00 local time.
  * Fiji's 2016 fall-back transition is scheduled for January 17, not 24.
  * Fort Nelson, British Columbia will not fall back on 2015-11-01.
  * Norfolk observed DST from 1974-10-27 02:00 to 1975-03-02 02:00.
  * Changes affecting documentation.
2016-03-15 17:10:27 +00:00
mrg
6b5e7a1e2e mknative-gcc for GCC 5.3 and i386.
this only builds libraries besides asan so far.
2016-03-15 06:16:22 +00:00
mrg
dfa44a287b update to build GCC 5.3's libstdc++. include the dual ABI code. 2016-03-15 06:13:47 +00:00
mrg
3899c60a05 update for GCC 5.3 2016-03-15 06:12:11 +00:00
mrg
30168b1c52 fix a merge botch and properly delete the testsuite 2016-03-15 06:11:27 +00:00
mrg
15882b9e5b libmudflap is obsolete in GCC 5. 2016-03-15 03:19:38 +00:00
mrg
aba4e15c03 don't try to do c++ if MKCXX == "no". 2016-03-15 03:17:59 +00:00
skrll
7152806b73 Remove code for the !TARGET_BIG_SWITCH case 2016-03-14 07:33:27 +00:00
christos
2d7c1584f4 Don't use os-specific defines when cross-compiling. 2016-03-13 03:47:41 +00:00
mrg
7b0d213834 remove the ugly #include "../gcc/defaults.h" that (a) breaks the
libcpp build and (b) isn't needed.
2016-03-13 01:40:42 +00:00
mrg
cc476093dc fix a comment. 2016-03-13 01:05:59 +00:00
mrg
3d2fbcae7f add /usr/include/gcc-5 directory to the distribution and adjust the
GCC 5 parts of the build (not yet enabled) to install/look there.
2016-03-12 23:07:05 +00:00
mrg
24e920b77f minor updates for GCC 5. 2016-03-12 21:51:02 +00:00
mrg
7b2001e466 fix a minor merge botch. 2016-03-12 21:50:39 +00:00
christos
5a1e5090da Add missing ;; (Kurt Lidl) 2016-03-11 22:40:04 +00:00
christos
5207816e51 missed one blsock 2016-03-11 17:17:35 +00:00
christos
dc55fdd2c0 Give the blacklistd socket a more meaningful name. 2016-03-11 17:16:40 +00:00
christos
01b73fc8e1 Sort filters alphabetically; make it easier to add ipf. 2016-03-11 17:01:59 +00:00
christos
01136fa5bc Add support for pf, thanks Kurt Lidl... 2016-03-11 15:35:28 +00:00
skrll
0c4e042b3e Update RPI firmware to version after the following commit
commit a192a05bc8ca597249e5a36875ce382c572ddc97
Author: popcornmix <popcornmix@gmail.com>
Date:   Mon Mar 7 17:21:57 2016 +0000

Raspberry Pi 3 should now boot the armv7.img produced in the
evbarm-earmv7hf builds
2016-03-11 12:34:57 +00:00
joerg
fbba0696d4 Drop FreeBSD RCS ID, add NetBSD's. 2016-03-11 05:02:32 +00:00
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
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
roy
5baa0e8c89 dtrace needs Wno-format-security for clang it seems. 2016-02-04 20:06:29 +00:00
roy
a118806971 Add some __printflike and __dead love. Init some structs fully. 2016-02-04 20:05:53 +00:00
roy
80df5a39da Fix build. 2016-02-04 18:47:14 +00:00
roy
440c6b2902 Mark more functions as __printflike and __dead. 2016-02-04 18:46:37 +00:00
roy
5e1375a115 Mark more functions as __dead. 2016-02-04 17:47:43 +00:00
roy
dd3d664f77 Disable -Wformat-nonliteral here to build. 2016-02-04 17:42:34 +00:00
roy
1e48e626cd More printflike and dead fixes. 2016-02-04 17:40:55 +00:00
roy
985adb8dc0 Fix printf formats and casts. 2016-02-04 17:27:32 +00:00
roy
b9ae60933c Correct a prior patch by moving __printflike marking from the .c files
to the .h ones.
2016-02-04 16:58:11 +00:00
roy
b31be80ab9 Mark __printflike and __dead. 2016-02-04 16:48:34 +00:00
roy
c29f38a653 Mark printflike functions as __printflike. 2016-02-04 15:23:29 +00:00
christos
8f19963904 Regen the rest. 2016-02-04 00:32:33 +00:00
christos
822f295450 regen some more. 2016-02-03 22:13:36 +00:00
christos
369d5ded30 define _KERNTYPES 2016-02-03 19:03:50 +00:00
christos
f608f02455 define _KMEMUSER earlier for mips 2016-02-03 19:03:40 +00:00
riz
c1e4fb302e Adapt getmajor and getminor signatures for NetBSD. 2016-02-03 17:50:12 +00:00
christos
51676f91e0 regen i386 2016-02-03 15:27:08 +00:00
skrll
771ca2e884 Fix mergo 2016-02-03 13:24:12 +00:00
christos
53f9039fdd regen amd64 2016-02-03 03:24:33 +00:00
christos
7a93e43ba4 merge conflicts 2016-02-03 03:23:27 +00:00
christos
212397c69a Import gdb-7.10.1:
2015-06-30  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.ac (ospace_frag): Enable for i?86*-*-elfiamcu
	target.
	* configure: Regenerate.

2015-05-13  John David Anglin  <dave.anglin@bell.net>

	* configure.ac: Disable configuration of GDB for HPUX targets.
	* configure: Regenerate.

2015-05-01  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/18355
	* Makefile.def: Add extra_configure_flags to host zlib.
	* configure.ac (extra_host_zlib_configure_flags): New.  Set
	to --enable-host-shared When bfd is to be built as shared
	library.  AC_SUBST.
	* Makefile.in: Regenerated.

2015-04-15  Mike Frysinger  <vapier@gentoo.org>
	    Hans-Peter Nilsson  <hp@axis.com>

	Adjust src-release.sh for sim using the gdb create-version.sh.
	* src-release.sh (tar_compress): If there's a fifth parameter,
	use that in the getver call instead of $tool.
	(sim_release): Pass gdb as fifth parameter to tar_compress.
	(SIM_SUPPORT_DIRS): Add gdb/common/create-version.sh.

2015-04-14  Max Ostapenko  <m.ostapenko@partner.samsung.com>

	* Makefile.tpl (EXTRA_HOST_EXPORTS): New variables.
	(EXTRA_BOOTSTRAP_FLAGS): Likewise.
	(check-[+module+]): Add EXTRA_HOST_EXPORTS and EXTRA_BOOTSTRAP_FLAGS.
	* Makefile.in: Regenerate.

2015-04-01  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.ac: Add --with-system-zlib.
	* configure: Regenerated.

2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>

	* src-release.sh: Don't configure with  --with-target-subdir=.
	--disable-multilib.

2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>

	* src-release.sh (DEVO_SUPPORT): Replace src-release with
	src-release.sh.

2015-03-30  Ed Schouten  <ed@nuxi.nl>

	* config.sub: Update from upstream, to 2015-03-04 version.
	* config.guess: Likewise.

2015-03-30  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.def (dependencies): Add all-zlib to all-bfd.
	* Makefile.in: Regenerated.

2015-03-28  H.J. Lu  <hongjiu.lu@intel.com>

	* src-release.sh (do_proto_toplev): Configure with --target
	--with-target-subdir and --disable-multilib.
	(BINUTILS_SUPPORT_DIRS): Add zlib.
	(GAS_SUPPORT_DIRS): Likewise.
	(GDB_SUPPORT_DIRS): Likewise.
	(SIM_SUPPORT_DIRS): Likewise.

2015-03-17  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.ac (target_configdirs): Exclude target-zlib if
	target-libjava isn't built.
	* configure: Regenerated.

2015-03-17  H.J. Lu  <hongjiu.lu@intel.com>

	Sync with GCC
	2014-06-13  Thomas Schwinge  <thomas@codesourcery.com>

	* config-ml.in: Robustify ac_configure_args parsing.

2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>

	* Makefile.def: Updated from GCC trunk.
	* Makefile.tpl: Likewise.
	* configure.ac: Likewise.
	* Makefile.in: Regenerated.
	* configure: Likewise.

2015-01-28  James Bowman  <james.bowman@ftdichip.com>

	* configure.ac: Add FT32 support.
	* configure: Regenerate.

2015-01-12  Anthony Green  <green@moxielogic.com>

	* configure.ac: Don't disable gprof for moxie.
	* configure: Rebuild.
2016-02-03 02:59:08 +00:00
christos
f4f76da016 merge branch. 2016-02-02 20:57:28 +00:00
christos
6141197f68 Import head of gdb to gdb.old 2016-02-02 20:30:29 +00:00
christos
4ef96935f6 Fix SSP build. 2016-02-02 19:15:40 +00:00
christos
65da133ce8 Handle static routes in IPv4. Routing messages for static routes have a
gateway address of AF_INET, not AF_LINK. Find the interface for that gateway.
XXX: We need to do the same for IPv6...
2016-02-01 16:47:00 +00:00
christos
cffe196c42 For the tools version we determine our own arch, we don't need to figure
it out at runtime in the linux case.
2016-02-01 02:16:48 +00:00
christos
efcb6e5b0c Split the opensolaris types into opentypes.h because linux includes
sysmacros.h from types.h and we can't interpose ourselves to define
the needed types otherwise.
Disable unused macros, get rid of __APPLE__
2016-02-01 02:12:55 +00:00
christos
d3b8f3fc89 prevent re-defines 2016-02-01 02:09:54 +00:00
christos
4e036373e1 bump major for new binutils. 2016-01-31 18:37:42 +00:00
christos
117f317b41 define it when we have vaddr_t exposed. 2016-01-31 06:15:39 +00:00
christos
73c5431c9d we don't keed page count in userland. 2016-01-31 05:31:28 +00:00