NetBSD/sys/arch/m68k
pooka 01d7ebdd80 Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant
pthread types in C++ builds, attempt 2.

The problem with attempt 1 was making assumptions of what the MD
__cpu_simple_lock_t (declared volatile) looks like.  To get a same type
except non-volatile, we change the MD type to __cpu_simple_lock_nv_t
and typedef __cpu_simple_lock_t as a volatile __cpu_simple_lock_nv_t.
IMO, __cpu_simple_lock_t should not be volatile at all, but changing it
now is too risky.

Fixes at least Rumprun w/ gcc 5.1/5.2.  Furthermore, the mpd application
(and possibly others) will no longer require NetBSD-specific patches.

Tested: build.sh for i386, Rumprun for x86_64 w/ gcc 5.2.

Based on the patch from Christos in lib/49989.
2015-08-27 12:30:50 +00:00
..
060sp Improve spelling: regsiter -> register 2015-07-11 10:32:45 +00:00
conf
fpe For the extended precision, the MSB of the mantissa is an integer 2015-02-05 12:23:27 +00:00
fpsp src is too big these days to tolerate superfluous apostrophes. It's 2014-10-18 08:33:23 +00:00
include Fix PTHREAD_FOO_INITIALIZER for C++ by not using volatile in the relevant 2015-08-27 12:30:50 +00:00
m68k adjust to new trace_{enter,exit} signatures. 2015-03-07 18:54:57 +00:00
Makefile
Makefile.cmachflags
Makefile.inc