ozaki-r
2d82c07a81
Build net/zlib.c for DTrace
...
This is needed for building DTrace on ARM.
2014-03-05 03:16:43 +00:00
ozaki-r
7ee4c5ecd0
Fix dtrace_cas32 logic
...
- compare with cmp, not new
- return old value
2014-03-05 03:09:17 +00:00
matt
92351c0dde
frame -> tf
...
printf out the insn, faulting pc, lr, sp when we get an undefined insn
int the kernel.
2014-03-05 02:18:30 +00:00
matt
a8fe12d68e
rearrange some printfs.
...
when using the extended mmu, make sure to disable ttbr0 until there is an
activated pmap.
2014-03-05 02:17:21 +00:00
matt
477ba34abf
push/pop unsaved registers before using printf.
2014-03-05 02:12:24 +00:00
matt
b57d581a95
Only do UVMHIST_LOG is maphist have its entry buffer initialized
2014-03-05 02:10:39 +00:00
ozaki-r
1bf04388c3
Use uint32_t instead of u_int32_t
2014-03-05 02:00:24 +00:00
mrg
cbd3ef8c8a
mknative-gcc for GCC 4.8 and coldfire.
2014-03-05 00:14:50 +00:00
mrg
79269683ba
coldfire does not want m68k/t-floatlib.
...
enable powerpc*-netbsd* -- ie, match ppc64.
2014-03-05 00:13:41 +00:00
joerg
a369f38ac1
Disable abs() checking, a lot of computations get implicit truncations
...
or use unsigned values.
2014-03-04 21:08:08 +00:00
mrg
bc1bc906ca
partial mknative-gcc for gcc 4.8 and ppc64.
2014-03-04 21:07:38 +00:00
joerg
f6d86cb881
Make pointer NULL check non-fatal for a bogus condition.
2014-03-04 21:07:22 +00:00
joerg
5c4c6caf71
Make the abs() use check non-fatal for a bogus use in the LFS cleanerd.
2014-03-04 21:06:47 +00:00
joerg
3dfb7837bb
When using Clang, disable integrated assembler for genassym. It creates
...
syntactically invalid assembler, which is normally not a problem as it
is also using -S.
2014-03-04 21:06:02 +00:00
joerg
1e03b295f8
Update build glue for LLVM/Clang r202566. News:
...
- match ARM CPU default of GCC
- better support for SPARC64
- type checkings for abs/fabs
- null pointer checks against struct member
- various other improvements
2014-03-04 21:05:05 +00:00
joerg
f7ecfbd2ed
Import LLVM 3.5svn r202566.
2014-03-04 20:49:27 +00:00
joerg
0b1d2313d3
Import LLVM 3.5svn r202566.
2014-03-04 20:32:45 +00:00
joerg
83820d9427
Import Clang 3.5svn r202566.
2014-03-04 19:53:10 +00:00
joerg
985bd56043
Import Clang 3.5svn r202566.
2014-03-04 19:41:04 +00:00
joerg
6ccf4859e4
Add GENASSYM_CPPFLAGS in two more places.
2014-03-04 17:57:56 +00:00
agc
ed05b112a5
check the correct field in the structure in dsa_verify - pointed out by
...
joerg - thanks!
2014-03-04 17:29:06 +00:00
macallan
1890dda80c
on 601 CPUs skip to normal memcpy if both source and destination are 32bit
...
aligned
2014-03-04 17:05:14 +00:00
matt
ab7ecd2ca6
Don't export __sync* if _KERNEL || _STANDALONE are defined.
...
(except if _RUMPKERNEL is defined)
2014-03-04 16:15:28 +00:00
matt
3b7a8ad971
Remove duplicate END(y) macro
2014-03-04 15:27:58 +00:00
matt
0374bc4ba7
Don't byte swap the data, assume the bus_space will do it.
2014-03-04 15:24:38 +00:00
joerg
9c3fd52490
Introduce GENASSYM_CPPFLAGS for options during genassym processing.
...
Consistently drop assembler flags.
2014-03-04 14:58:14 +00:00
mrg
bf58d1e73a
forgotten mknative-gcc 4.8 for mips64el.
2014-03-04 13:47:32 +00:00
martin
f53fda53b2
Rename md.evbppc to md.evbppc-powerpc, to separate it from the evbppc64
...
one (which is nonexistant for now).
2014-03-04 11:53:48 +00:00
ozaki-r
07efccf499
Add missing END for each function
2014-03-04 11:07:40 +00:00
ozaki-r
bc132bbc2a
Get rid of unused variable definition za from mount.h
...
There is no user for it. Even worse, it breaks dtrace build for arm.
2014-03-04 09:24:42 +00:00
mrg
354055da20
bump local pkg version.
2014-03-04 09:16:04 +00:00
mrg
fe6ccc8ae5
don't look for po/Makefile.
2014-03-04 09:12:09 +00:00
mrg
b5a718ea7b
mknative-gcc 4.8 for most platforms. missing: ppc64, m68010, ia64, coldfire.
2014-03-04 08:56:52 +00:00
mrg
c9d652c862
include dbxelf.h elfos.h freebsd-spec.h rs6000/sysv4.h netbsd.h
...
and netbsd-elf.h on powerpc64-netbsd.
port netbsd64.h forward from GCC changes. (it's a pity that
a vast portion of linux64.h isn't in some common header that
netbsd64.h and freebsd64.h could also used. there's 100s of
lines of copypasta here, oh well.)
2014-03-04 08:43:12 +00:00
matt
93bd3693a8
Add a different version vfp_fpscr_changable if FPU_VFP was not defined.
...
If no FPU was found, reinit vfp_fpscr_changeable/default to values appropriate
for softfloat.
2014-03-04 08:32:23 +00:00
matt
6040f5ca22
compat16 -> compat_16
2014-03-04 08:25:11 +00:00
matt
4fa1971b77
Fix #if/#endif nesting
2014-03-04 07:01:26 +00:00
matt
c1987519cf
#include <m68k/m68k.h>
2014-03-04 06:38:08 +00:00
matt
f2d0e50b73
fix typo.
2014-03-04 06:36:41 +00:00
matt
94c30368e1
The fixuns* come from compiler_rt so softfloat doesn't need to provide them.
2014-03-04 06:30:40 +00:00
matt
c479ba2f5a
Avoid a warning and just do the trap #1 instead of calling sigreturn inline.
...
If it fails, it'll fall into the botch case so don't bother calling CERROR
on failure.
2014-03-04 06:27:00 +00:00
matt
2e6bec6f0d
Make this work with coldfire.
2014-03-04 06:15:33 +00:00
matt
89e28d04a5
use _KERNEL_OPT around #include
2014-03-04 06:14:53 +00:00
matt
ab9be61dac
Make this coldfire compatible
2014-03-04 04:03:49 +00:00
matt
37c6d125b7
Fix non-EABI loading of argument. Deal with endian issues.
...
Fixes PR/48635
2014-03-04 03:50:37 +00:00
matt
674350cab3
Add atomic_sub_64.S
2014-03-04 03:49:07 +00:00
matt
308d85879d
Load new value from correct stack location in _atomic_cas_64_up
2014-03-04 03:36:24 +00:00
matt
be9a2e2448
Fetch value from correct stack location. Push an even number of registers
...
so ldrd won't fail.
2014-03-04 03:34:22 +00:00
matt
36d8587fe2
Reformat a little. Add m68k quirk
2014-03-04 03:24:03 +00:00
ozaki-r
ad5eab92b9
Fix wrong conditional statement in dtrace_debug_output
...
Reported in PR kern/48547 by ozaki-r.
2014-03-04 03:20:49 +00:00