Commit Graph

5914 Commits

Author SHA1 Message Date
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
christos
aa2825fe7d only need pgcnt_t in kernel. 2016-01-31 05:21:53 +00:00
christos
2e3fb283fe Use .PARSEDIR to set the TOP. It makes things more portable since they
can work outside the tree.
2016-01-30 16:47:00 +00:00
christos
1798a208d9 Remove trailing whitespace from imported messages when adding now files.
This is done in RCS_checkin() but we have a "fast path" for new files here
that does not do it. Hooray for specialized code.

XXX: pullup 6, 7
2016-01-30 16:21:47 +00:00
christos
0ef15dfa51 one left but evbarm64 but clang is busted. 2016-01-30 02:13:13 +00:00
christos
0260838f7c do riscv and earmeb 2016-01-30 01:44:22 +00:00
christos
eb3733c01e more riscv fixes 2016-01-30 01:17:05 +00:00
christos
286899b79e fix bfd for riscv. 2016-01-29 22:39:00 +00:00
christos
04028aa931 update or1k 2016-01-29 21:46:13 +00:00
christos
2dd41d1a41 grow a big endian arm 2016-01-29 21:33:52 +00:00
christos
4e4e5082ff grow another arm. 2016-01-29 21:11:55 +00:00
christos
01129addf9 fix aarch64 2016-01-29 20:54:09 +00:00
christos
f2fcb61447 we have our own popcount. 2016-01-29 20:53:14 +00:00
christos
b711ecb4da regen earm, rest of ia64 2016-01-29 20:41:25 +00:00
christos
164e2a0fd9 regen ia64 2016-01-29 20:39:19 +00:00
christos
a7de39c009 try to adjust riscv 2016-01-29 18:05:18 +00:00
christos
f51ed01f4f regen! 2016-01-29 17:30:22 +00:00
christos
2bbb53d7df try to fix loongson hacks. 2016-01-29 17:01:55 +00:00
christos
bc117f559a fix bogus == bashism. 2016-01-29 16:23:51 +00:00
christos
5f4eaf394b merge conflicts, regen for x86. 2016-01-29 14:42:43 +00:00
christos
9573673d78 Import binutils-2.26 2016-01-29 12:44:10 +00:00
christos
dbf7e049dc needs libpthread 2016-01-28 19:40:29 +00:00
lneto
e9138ce741 fixed metatable access to deallocated field
author: Lua.org <team@lua.org>
see: http://www.lua.org/bugs.html#5.3.2-1
2016-01-28 17:23:21 +00:00
lneto
2d6cb6c23b lua: merged 5.3.2 2016-01-28 14:41:39 +00:00
christos
d53e8ce2b1 don't link/depend on libpthread if we are a hostprog.
XXX: should be using -pthread instead?
2016-01-27 18:43:25 +00:00
christos
eaa6761b21 Sync with binutils. 2016-01-26 19:38:09 +00:00
christos
62d79eec21 Centralize the definition of TOP/DIST and cleanup a little. 2016-01-26 19:37:46 +00:00
christos
9f077b2395 use EXTERNAL_FOO_SUBDIR 2016-01-26 17:48:56 +00:00
christos
2cbc086649 switch to binutils.old 2016-01-26 17:37:51 +00:00
christos
3feacbccbd import the HEAD of binutils as binutils.old 2016-01-26 17:25:55 +00:00
christos
a695a26e4a fix fd leak 2016-01-26 02:54:25 +00:00
christos
ea4e3ce399 Include <bsd.own.mk> before setting any MK variables, so that /etc/mk.conf
is processed first, and it's settings don't override ours.
2016-01-25 18:00:26 +00:00
christos
9a678359e4 sys/conf.h is a kernel only header 2016-01-24 22:00:53 +00:00
christos
b06fa2e70f use 0 for udata for portability (FreeBSD has a pointer, we have uintptr_t) 2016-01-24 19:15:56 +00:00
christos
b7405849a6 the eloop hack should not be needed anymore. 2016-01-24 18:49:05 +00:00
mrg
d35849d0e1 merge GCC 5.3. round 1. this probably won't work :-)
libsanitizer likely needs to be re-ported, though i've done most of
the updating we'll need i think already.
2016-01-24 09:43:30 +00:00
mrg
4d5abbe83f import GCC 5.3.0. see these urls for details which are too large to
include here:

	http://gcc.gnu.org/gcc-4.9/changes.html
	http://gcc.gnu.org/gcc-5/changes.html

(note that GCC 5.x is a release stream like GCC 4.9.x, 4.8.x, etc.)


the main issues we will have are:

The default mode for C is now -std=gnu11 instead of -std=gnu89.

ARM:
The deprecated option -mwords-little-endian has been removed.
The options -mapcs, -mapcs-frame, -mtpcs-frame and -mtpcs-leaf-frame
 which are only applicable to the old ABI have been deprecated.

MIPS:
The o32 ABI has been modified and extended. The o32 64-bit
 floating-point register support is now obsolete and has been removed.
 It has been replaced by three ABI extensions FPXX, FP64A, and FP64.
 The meaning of the -mfp64 command-line option has changed. It is now
 used to enable the FP64A and FP64 ABI extensions.
2016-01-24 06:05:37 +00:00
christos
b599e35404 expose kernel types for gdb so that we don't have to fix each arch separately
for now.
2016-01-23 23:02:31 +00:00
christos
c89d254f72 PR/5068: Ingo Schwarze: Don't use the .af (alter format) request to display
a named register.
2016-01-23 22:10:44 +00:00
christos
ffeb8dbf4e Define _KERNTYPES for things that need it. 2016-01-23 21:22:45 +00:00
christos
c0d969f01d define sooner _KMEMUSER 2016-01-23 20:28:24 +00:00
christos
bab08dd002 don't include <sys/mbuf.h> 2016-01-23 19:08:02 +00:00
riastradh
d604e653d0 Omit spurious include of <sys/isa_defs.h> in dtrace tools build.
Fixes dtrace tools cross-build from architectures with no dtrace
support:

#   compile  libctf/ctf_create.lo
[...]
/export/anoncvs/src/tools/libctf/../../external/cddl/osnet/sys/sys/isa_defs.h:50:2: error: #error "architecture not supported"
 #error "architecture not supported"
  ^
2016-01-23 15:45:42 +00:00
christos
e8da065e3b cleanup pkgsrc junk 2016-01-23 03:11:14 +00:00
christos
808f096b09 we don't want sys/mbuf.h 2016-01-23 01:57:56 +00:00
christos
21f7378202 add proftpd diffs. 2016-01-23 00:05:54 +00:00
christos
1c3e5c3032 add more points. 2016-01-23 00:05:38 +00:00
christos
b5559a7d96 turned mapped v4 addresses to real v4 addresses so that they work. 2016-01-22 22:31:11 +00:00
roy
98c42a5b41 Remove unused var 2016-01-22 20:21:04 +00:00
roy
fbb8252e94 Size the kevent receive buffer correctly. 2016-01-22 18:01:05 +00:00
roy
0e46e78071 Fix build for clang and kqueue 2016-01-22 17:56:20 +00:00
mrg
93abc59558 protect the entire contents of regsub.c with extern "C".
this fixes the tools build, at least.

also, remove the no longer needed cdefs.h from one of these copies.
2016-01-21 04:55:40 +00:00
roy
239a09e1aa Sync 2016-01-20 19:42:33 +00:00
christos
8b59ebd5ef make regasub a "C" decl. 2016-01-20 17:09:04 +00:00
christos
c424ac81dd make regasub a c decl. 2016-01-20 17:08:27 +00:00
roy
d2b81c07d7 Re-queue kqueue events after forking. 2016-01-20 17:03:35 +00:00
roy
042b6b4776 Sync upstream changes for eloop 2016-01-20 15:26:13 +00:00
christos
168ddffc8a sync with gcc.old (catch up with __RCSID removal and libc sync) 2016-01-20 15:13:33 +00:00
christos
fe4272b7bc remove __RCSID, sync with libc 2016-01-20 15:12:29 +00:00
roy
96193774ca Build with kqueue(2) support 2016-01-20 15:08:44 +00:00
roy
6da92e7fec Add kqueue(2) support. 2016-01-20 15:07:52 +00:00
roy
19aa8ba08a If an interface is removed, zero the remembered ifindex.
Don't try to set properties on the interface when it is removed.
2016-01-20 14:43:40 +00:00
christos
1f95ef81a2 Merge 9.10.3-P3:
4288.   [bug]           Fixed a regression in resolver.c:possibly_mark()
                        which caused known-bogus servers to be queried
                        anyway. [RT #41321]

4286.   [security]      render_ecs errors were mishandled when printing out
                        a OPT record resulting in a assertion failure.
                        (CVE-2015-8705) [RT #41397]

4285.   [security]      Specific APL data could trigger a INSIST.
                        (CVE-2015-8704) [RT #41396]
2016-01-20 02:14:02 +00:00
christos
3446f5fe8e Import bind 9.10.3-P3 2016-01-20 01:52:08 +00:00
roy
24a4d098ea wpa_supplicant dropped the -w option a long time ago, lets not pretend
it still works.
2016-01-19 18:09:09 +00:00
roy
e2e73853a3 Downing the interface now disables it instead of removing it. 2016-01-19 17:22:57 +00:00
roy
b34fd366ac Use the interface index from the correc structure according to the message
to find the driver instead of assuming that rtm_index is corect.
2016-01-19 16:47:44 +00:00
roy
05166036b2 Syntax (no functional change) 2016-01-19 15:49:07 +00:00
roy
a580913301 Revert an older change as upstream now calculates level from rssi and noise. 2016-01-19 15:45:00 +00:00
roy
540fe73fe8 Remove pointless check 2016-01-19 15:27:57 +00:00
roy
a0af6c43af Remove added debug to sync more with upstream. 2016-01-19 15:18:20 +00:00
roy
11ef54a957 Don't log RTM messages we aren't interested in at all. 2016-01-19 15:08:29 +00:00
christos
9ca1704a93 include unistd.h for getpagesize() 2016-01-17 22:51:32 +00:00
christos
10dfc2597e ifdef __RCSID 2016-01-16 19:28:36 +00:00
christos
d874e91932 import the latest autoconf 2016-01-16 18:35:58 +00:00
joerg
5c6e50941c Add missing format string annotation. 2016-01-16 01:14:39 +00:00
joerg
7e0794aef8 Fix merge error of diagnostic pragmas. 2016-01-16 01:14:21 +00:00
joerg
03600a11a4 Don't play games with format strings. 2016-01-16 01:05:40 +00:00
roy
7afa5a975d Sort options and reduce printf calls. 2016-01-15 20:34:35 +00:00
tron
c179f7c274 Fix build with "USE_SSP" set to "yes" 2016-01-15 18:03:32 +00:00
joerg
930dcad416 Expand undefined number. 2016-01-15 15:37:05 +00:00
christos
c25aca9c71 we have unistd.h 2016-01-15 15:14:02 +00:00
christos
5496b9d0d6 remove param.h 2016-01-15 15:13:28 +00:00
joerg
2c5fc9570b Left shift of negative values is UB, just write the constant out. 2016-01-15 00:18:19 +00:00
roy
9ff00cbafe Create global init to handle socket calls and route messages.
Register each interface inside the global driver so that
routing messages can find the interface based on rtm_ifindex.
2016-01-14 21:19:41 +00:00
christos
a5338de11b hook send-pr 2016-01-14 21:13:54 +00:00
christos
592de26897 Apply our local changes bringing us up to 3.95 (for which there is no
release tar), and add build glue.
2016-01-14 21:13:20 +00:00
christos
68c5b58147 import send-pr from gnats-3.2 2016-01-14 21:06:13 +00:00
christos
fa28c6faa1 - merge local changes
- provide reach-over infrastructure
2016-01-14 04:22:38 +00:00
christos
04c6fc8e93 hook rcs 2016-01-14 04:21:48 +00:00
christos
7bdc26784b import rcs-5.7 2016-01-14 03:05:05 +00:00
christos
a683cc86dd we want a lint library 2016-01-14 02:43:50 +00:00
christos
92e52b2b45 remove afmtodit, add gdiffmk 2016-01-14 02:41:58 +00:00
christos
10494598b6 - remove generated files
- remove libdriver dependencies where they are not needed
- add bin to Makefile
2016-01-14 02:30:18 +00:00
christos
0e6a791c20 hook texinfo 2016-01-14 00:38:30 +00:00
christos
cef0bb5b1f install in /usr/bin 2016-01-14 00:38:19 +00:00
christos
d3737e9cfd Apply our patches and add build glue. 2016-01-14 00:34:52 +00:00
christos
29619d2afe import texinfo-4.8a 2016-01-14 00:11:27 +00:00
christos
49e111a21f merge changes, add build glue. 2016-01-13 21:56:38 +00:00
christos
478e07dd80 import the latest standalone libmalloc. 2016-01-13 21:42:18 +00:00
christos
9606215048 add groff 2016-01-13 19:02:29 +00:00
christos
4acc5b6b20 merge our changes and add build glue 2016-01-13 19:01:55 +00:00
christos
89a07cf815 Import groff 1.19.2 2016-01-13 18:41:45 +00:00
christos
6b00881bdc fix for sun2; require libm only with msgmerge by linking fsearch with it. 2016-01-13 12:48:51 +00:00
christos
fd0f3f527a hook diffutils 2016-01-13 03:40:11 +00:00
christos
f8c23a2b94 merge conflicts, new reach-over Makefiles 2016-01-13 03:39:27 +00:00
christos
75f6d617e2 Import latest gpl2 diffutils 2016-01-13 03:15:29 +00:00
christos
b3048154cf don't use local dup wrong define 2016-01-13 01:31:17 +00:00
christos
4555f8de30 ggr. bsd.files.mk does not have an includes target... 2016-01-13 00:18:01 +00:00