Commit Graph

241714 Commits

Author SHA1 Message Date
christos 4f0a81a7d2 Save and restore all the registers we need instead of playing tricks and
"knowing" which registers the compiler clobbers. gcc-5.3 clobbers both
rcx and rdx...
2016-03-19 21:27:38 +00:00
mrg 3ae3bff701 remove some dead code. 2016-03-19 20:57:48 +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
christos b1ba608e8b Allow enabling and disabling PaX ASLR debug 2016-03-19 18:56:37 +00:00
martin a706a41168 Default kernel builds to USE_SSP=yes. 2016-03-19 18:50:25 +00:00
christos 3bf2eee003 Add MAP_FMT 2016-03-19 18:44:10 +00:00
dholland 71d3320a40 Sync documentation of struct ktr_header with reality:
- there is a ktr_version field
   - the ordering of ktr_type and ktr_version is byte-order dependent
   - ktr_time is now a timespec, not a timeval
   - there's now a ktr_lid field
   - there is no such thing as a ktr_buf field and it's certainly not
     a caddr_t.

XXX: I would appreciate it if someone who knows how this stuff works
XXX: could review this file in case it's still lying in some more
XXX: subtle way.
2016-03-19 17:15:13 +00:00
dholland 02cda16070 Update documented prerequisite includes. PR 50633 and PR 50634.
Remove sys/uio.h, and swap sys/param.h for sys/types.h as sys/ktrace.h
depends on MAXCOMLEN.

Bump date; first time since 1993.
2016-03-19 17:05:36 +00:00
dholland c2159a40f8 PR 50633 and PR 50634 from Brad Harder: add missing includes:
sys/signal.h and sys/time.h. Also add sys/uio.h which is needed and
for some probably historical/obsolete reason has been documented as a
prerequisite instead of included directly.

This also requires sys/param.h for MAXCOMLEN (blah) but for now at
least shift that to the documentation instead of including it
directly as it's a sewer.
2016-03-19 17:04:12 +00:00
mrg fed2b588b4 add missing insn-modes.h files from earlier regen. 2016-03-18 20:40:21 +00:00
christos f3a6400cd0 sprinkle more volatile (distribution build with gcc-5.3) 2016-03-18 18:42:25 +00:00
christos 7633776511 kill more mudflap for gcc-5.3 2016-03-18 18:24:25 +00:00
christos fc55d6ef49 sprinkle more volatile (needed for the rescue build with gcc-5.3) 2016-03-18 18:07:28 +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 0f160f0ea7 match the updated <sys/types.h> definition 2016-03-18 15:05:49 +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
ginsbach bec9db1ba3 Use the correct upper bounds for the types array. The correct upper
bound is typecnt not timecnt.  Now perpetual 'standard' time zones
will work correctly as they have a typecnt of 1 but a timecnt of 0.
2016-03-18 12:41:25 +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 7bc3291858 move the compiler hack closer to the source of the fail 2016-03-18 10:10:21 +00:00
mrg 66d72dce7d minimal changes necessary to link into an INET6-less kernel. 2016-03-18 10:09:46 +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 dfa251606d set fixes for GCC 5.3.
(only arm is tested so far, but there's a pattern i can see :-)
2016-03-18 03:08:25 +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 1e7ce98d0d set NETBSD_GCC_VERSION for GCC 5.3 separately.
don't collect crtstuff anymore.
2016-03-17 23:41:21 +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 1e4eeef8ef PR/50974: David Binderman: Remove unused code. 2016-03-17 18:56:14 +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
christos 816f40abde Add DPADD's 2016-03-17 18:43:29 +00:00
nros 71f379ad51 Added ldexpl to ldexp manpage since it is missing.
Also added ldexpf manpage link since it is missing.
2016-03-17 18:29:58 +00:00
christos 3ae9c71097 undo the dso protected for clang 2016-03-17 17:38:14 +00:00
christos 143f5307f7 disable dso protected for clang now, so that packages can be built.
(again this is the binutils warning about copy relocations on protected objects)
2016-03-17 17:36:32 +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