Commit Graph

225199 Commits

Author SHA1 Message Date
christos
76024df3a5 bid the libtool.m4 lossage. 2014-03-06 02:12:56 +00:00
matt
d14b4899e6 Don't include corelow.o and solib.o the {powerpc,sh3}*-netbsd cases since
those are provided by Makefile.in.  This allows MKCROSSGDB to build again
for powerpc.
2014-03-05 23:08:58 +00:00
tron
0e150de4df Remove automatically generated file "libgcc-std.ver" while cleaning. 2014-03-05 21:38:59 +00:00
tron
64f116ed07 Get GCC 4.8 closer to build with "USE_SSP" set to "yes". 2014-03-05 21:37:02 +00:00
christos
806892a224 move it to something that does not confuse cvs 2014-03-05 20:37:11 +00:00
dsl
a701b24dee A couple of the atan tests are randomly failing.
Print the incorrect value.
2014-03-05 20:15:41 +00:00
dsl
208d774fb4 Fix some typos.
Make the infinity and nan constants 'double' not 'long double'.
2014-03-05 20:14:46 +00:00
tron
f7ff511838 Fix build of DTrace with GCC 4.8. 2014-03-05 20:14:15 +00:00
dsl
ee6c509ded Move the #defines that simplified the test definitions and checks
into a separate header than can be used by the other libm tests.
Make the subtest index 'unsigned int' so that simple constants (eg 0)
  print correctly.
2014-03-05 19:43:46 +00:00
matt
e70564d7d6 apcs-gnu only passes one register on the stack.
ldrd always loads little endian (low address, low register).
2014-03-05 17:20:48 +00:00
matt
f50530a019 Define all the instruction conditions.
Use __SHIFTOUT to get the condition.
Add bool arm_cond_ok_p(uint32_t insn, uint32_t psr) inline
Add tlbtr inline
2014-03-05 16:33:33 +00:00
tron
3c4e02c654 Fix build with "USE_SSP" set to "yes".
Problem reported by B Harder on "current-users" mailing list.
2014-03-05 16:18:41 +00:00
isaki
0ecb79f68d Delete the word "buggy" in the comment of NULLFS.
This has been added in 1999, but it's not a buggy now.
Adviced from tsutsui@, msaitoh@.
2014-03-05 16:02:29 +00:00
phx
005f3fb199 Enabled SYSV* options, which all ports have (and which is needed by 3rd
party software like SANE, e.g.).
Added ugen*.
2014-03-05 14:13:20 +00:00
hannken
72439b7dc8 Current support for iterating over mnt_vnodelist is rudimentary. Every
caller has to care about list and vnode mutexes, reference count being zero,
intermediate vnode states like VI_CLEAN, VI_XLOCK, VI_MARKER and so on.

Add an interface to iterate over a vnode list:

void vfs_vnode_iterator_init(struct mount *mp, struct vnode_iterator **marker)
void vfs_vnode_iterator_destroy(struct vnode_iterator *marker)
bool vfs_vnode_iterator_next(struct vnode_iterator *marker, struct vnode **vpp)

vfs_vnode_iterator_next() returns either "false / *vpp == NULL" when done
or "true / *vpp != NULL" to return the next referenced vnode from the list.

To make vrecycle() work in this environment change it to

bool vrecycle(struct vnode *vp)

where "vp" is a referenced vnode to be destroyed if this is the last reference.

Discussed on tech-kern.

Welcome to 6.99.34
2014-03-05 09:37:29 +00:00
skrll
842c96bd4c Don't probe beyond chan_ntargets in atapi_probe_bus in the "all" case.
PR/48626: ahci_atapi_probe_device panic with kmemguard
2014-03-05 08:45:13 +00:00
martin
17aac1395e It is md.${MACHINE}.${MACHINE_ARCH} 2014-03-05 08:23:16 +00:00
ozaki-r
e5e9a71f64 Tidy up Makefile of cyclic and dtrace modules to support ARM 2014-03-05 06:40:45 +00:00
ozaki-r
f6c17acba3 Add cyclic_machdep.c for ARM
The code is still almost same as i386's one.
2014-03-05 06:35:44 +00:00
matt
668e3207ed Now that maphist is statically initialized, remove initialize tests 2014-03-05 06:27:41 +00:00
ozaki-r
bee7b32afb Add defined(__arm__) 2014-03-05 06:12:00 +00:00
ozaki-r
9d2dfffd73 Use native atomic function instead of DTrace's own one
So we don't need to implement it for each architecture.

This change is from FreeBSD (not as-is though).
2014-03-05 06:06:42 +00:00
msaitoh
74fc44ee86 No functional change:
- Rename function for consistency.
 - Add prototypes.
 - KNF.
2014-03-05 05:56:04 +00:00
matt
1a23213bde Use UVMHIST_INITIALIZER (KERNHIST_INITIALIZER) to statically initialize
maphist.  This allows maphist to used very very early in boot well before
uvm has been initialized.
2014-03-05 05:35:55 +00:00
matt
b35517a661 Add KERNHIST_INITIALIZER(NAME,BUF) macro to be used with KERNHIST_DEFINE to
static initialize a kern_history.  After boot, it still needs to linked
to list of kern_history's and a KERNHIST_LINK_STATIC(NAME) macro was added
to do that.
2014-03-05 05:32:41 +00:00
ginsbach
0b92ede691 Add yet another TLA. 2014-03-05 03:51:25 +00:00
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