Commit Graph

241413 Commits

Author SHA1 Message Date
mrg
30168b1c52 fix a merge botch and properly delete the testsuite 2016-03-15 06:11:27 +00:00
mrg
e008877335 update for GCC 5.3 libgcov and libstdc++ 2016-03-15 06:10:13 +00:00
mrg
334c303b3a very first baby steps towards GCC 5.3 mknative. 2016-03-15 03:22:06 +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
pgoyette
3007905b75 Add debug messages to report all attempts to load modules (and their
plists) from the filesystem.  Note that messages are displayed prior
to the actual load activity.  Previous messages are still displayed
for success/failure reporting.

This is an interim solution to the issue in kern/15837 and should be
replaced (or enhanced) once there is an off-system logging capability.
2016-03-15 02:59:24 +00:00
wiz
8abecf66a7 Be more precise. 2016-03-14 09:53:37 +00:00
skrll
b4740b2a71 Update vcprop_tag_clockrate structure 2016-03-14 07:43:00 +00:00
matthias
00a4845b58 make $@ an alias for $! in archive member rules (compatibility with
other makes).
2016-03-14 07:42:15 +00:00
skrll
7152806b73 Remove code for the !TARGET_BIG_SWITCH case 2016-03-14 07:33:27 +00:00
christos
60a7af113b PR/50966: David Binderman: Use all 3 of b, p, n to determine if route changed 2016-03-13 19:47:59 +00:00
christos
d7904a2801 PR/50937: Henning Petersen: Fix subnormal printf for long double x86. From
FreeBSD PR 85080.
2016-03-13 19:44:58 +00:00
christos
3ffadb9d2d Add new sh test 2016-03-13 18:56:19 +00:00
christos
239c335529 Add some redir-close-on-exec tests 2016-03-13 18:55:12 +00:00
christos
32829346f4 PR/50964: David Binderman: Avoid signed overflow warning 2016-03-13 17:59:20 +00:00
christos
54d5052a6c Add NO{SSP,FORTIFY} 2016-03-13 17:56:56 +00:00
christos
72fae1ce63 Add NO variables for the things that boot block does not support
(SSP/PIE/DEBUG/FORTIFY)
2016-03-13 17:48:53 +00:00
christos
f415d76a88 PR/50963: David Binderman: Use kmem_zalloc() so all members are initialized. 2016-03-13 17:38:44 +00:00
ozaki-r
3a482ca275 Fix test 2016-03-13 17:26:05 +00:00
christos
2baec48ec5 We want this to work too:
$ cat sep1
	#!/bin/sh
	{ ./sep2; } 3>out

	$ cat sep2
	#!/bin/sh
	echo sep2 >&3

	$ ./sep1
2016-03-13 15:57:30 +00:00
mlelstv
2545a60c45 gcc silently optimizes away a != NULL check if a pointer has been
used before.

- assert that old size == 0 or old pointer valid
- check for size instead
- rewrite array splice operation with simple loops instead of memcpy/memset.
2016-03-13 10:07:22 +00:00
tsutsui
134f761d55 Call the second sdmmc_mem_send_if_cond() only where it's necessary.
This makes SMC_CAPS_SPI_MODE devices (currently evbsh3 only) work again.
"Maybe ok" from nonaka@.
2016-03-13 09:12:16 +00:00
tsutsui
235f037fb4 Sync with scsiconf.c. (use aprint_normal(9) for "not configured") 2016-03-13 09:01:04 +00:00
tsutsui
af8b911cf4 TAB/space cleanup. 2016-03-13 08:57:10 +00:00
tsutsui
741896a7e0 Misc KNF and ANSIfy. 2016-03-13 08:54:45 +00:00
skrll
349519764b KNF 2016-03-13 07:01:43 +00:00
ozaki-r
c3509e5280 Add more debugging code 2016-03-13 05:46:20 +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
christos
e47a2585c4 dedup. 2016-03-13 01:22:42 +00:00
mrg
8872ffd0f4 remove some more GCC 4.5 code. make GCC 5.3 be HAVE_GCC=53, so that,
for example, HAVE_GCC >= 48 works properly.
2016-03-13 01:06:51 +00:00
mrg
cc476093dc fix a comment. 2016-03-13 01:05:59 +00:00
christos
284daf11ca Test for REDIR_KEEP in the non-copy case:
$ cat other1
	#!/bin/sh
	./other2 3>out

	$ cat other2
	#!/bin/sh
	echo other2 1>&3

	$ ./other1
2016-03-13 00:52:05 +00:00
dholland
18a2ad4d42 Mark the shared files with where they're used, like we do in pkgsrc. 2016-03-13 00:33:12 +00:00
dholland
d9047ae69b Use functions instead of preprocessor abuse. 2016-03-13 00:32:09 +00:00
snj
b247a5c33c ntp 4.2.8p6 is out. 2016-03-13 00:09:46 +00:00
mrg
e2bee4685a remove conditionals that are always true with GCC >= 4.8. 2016-03-12 23:08:58 +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
dholland
a4df8c35e0 a couple minor fixes 2016-03-12 22:37:32 +00:00
dholland
710ed66d56 Use execl() correctly. 2016-03-12 22:28:04 +00:00
dholland
1bdc2bf3d4 Add some additional BUGS. 2016-03-12 22:17:23 +00:00
dholland
84481ccbd0 Rework for clarity. 2016-03-12 22:07:48 +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
5047abd140 Don't close-on-exec redirections created explicitly for the command being
ran; i.e. we want this to work:
	$ cat succ1
	#!/bin/sh
	./succ2 6>out

	$ cat succ2
	#!/bin/sh
	echo succ2 >&6

	$ ./succ1

And this to fail:
	$ cat fail1
	#!/bin/sh
	exec 6> out
	echo "fail1" >&6
	./fail2
	exec 6>&-

	$ cat fail2
	#!obj.amd64/sh
	echo "fail2" >&6

	$ ./fail1
	./fail2: 6: Bad file descriptor

XXX: Do we want a -k (keep flag on exec to make redirections not close-on-exec?
2016-03-12 21:35:13 +00:00
dholland
dde5a5b4ad Minor tidyups. 2016-03-12 21:20:17 +00:00
christos
f87bc150c8 Improve quoting in the output from sh -x - use less unnecessary
quotes ('_' and '.' do not need quoting) and never quote the '=' in
an assignment (or it would not be one.) From kre, with some refactoring
to be blamed to me.
2016-03-12 14:59:26 +00:00
christos
796504694c Implement TEST_SH for this test, add a test or two, and also some
commentary to explain some of the weirdness of shell quoting. (from kre@)
2016-03-12 14:58:03 +00:00
martin
9dbda5ea54 Backout previous - need coffee first 2016-03-12 12:21:37 +00:00
martin
820268b0ef Fix masking for the fpsetmask_basic test, pointed out by Timo Buhrmester 2016-03-12 11:55:14 +00:00