Commit Graph

202578 Commits

Author SHA1 Message Date
mrg 6976072ef9 add missed generated file. 2011-07-03 14:42:13 +00:00
mrg 748830d10d various (re-)generations. most of these sort of entirely work now. 2011-07-03 14:41:46 +00:00
jruoho 8ce73eddfe Few simple tests for mknod(2), including a skipped one for PR kern/45111. 2011-07-03 14:34:21 +00:00
jruoho cac6cf8528 Note that mknod(2) may fail with EINVAL. 2011-07-03 14:11:43 +00:00
mrg 676741fbe4 avoid passing -I$DESTDIR/usr/include to the $HOST_CC. 2011-07-03 14:09:57 +00:00
mrg 0520daf5cd new files to build mips64 gmp 2011-07-03 13:43:23 +00:00
mrg 786cadb243 undef DRIVER_SELF_SPECS before defining it.
also, insert BASE_DRIVER_SELF_SPECS into DRIVER_SELF_SPECS.
2011-07-03 13:06:36 +00:00
mrg 27ba937d04 for mips, MASK_SOFT_FLOAT has become MASK_SOFT_FLOAT_ABI. 2011-07-03 13:05:19 +00:00
mrg 495b4def2c regenerate these with mknative-gcc 1.61. 2011-07-03 12:45:02 +00:00
mrg b2ad2936ae fix the previous 2011-07-03 12:26:02 +00:00
mrg 1f61213386 -I$DESTDIR/usr/include is escaping into the generated files from
the native-gcc run.  add some sed commands to remove them.
2011-07-03 12:11:32 +00:00
mrg 7761b1c39b gmp native files for mipsel/mipseb. 2011-07-03 11:41:30 +00:00
mrg eba91e60d8 mknative-files for mipsel and mipseb. 2011-07-03 11:39:48 +00:00
mrg 00e7dc3967 add GCC 4.5 support. 2011-07-03 10:41:37 +00:00
bouyer fd33bd72b3 Add back DIAGNOSTIC option to x86 GENERIC kernels, as discussed on tech-kern.
This will have to be commented out on release branches.
2011-07-03 10:40:16 +00:00
mrg c9afca8606 s/#elif/#else/ -- when there's nothing to check. 2011-07-03 10:34:25 +00:00
wiz 3fa42aac82 Whitespace nit. 2011-07-03 09:15:20 +00:00
mrg f447de3ff7 don't use the netbsd LIBGCC_SPEC on sun2. there's no libgcc_pic.a 2011-07-03 09:10:42 +00:00
wiz a60a258593 Remove trailing whitespace. 2011-07-03 09:10:37 +00:00
mrg fa4ad84b0d set default_m68k_cpu for our m68* ports. 2011-07-03 09:08:55 +00:00
mrg 211896099a avoid an uninitialised variable warning. this one seems a false
positive, but since it's for some hacky workaround code anyway...
2011-07-03 09:03:32 +00:00
mrg 2624874e7c avoid some uninitialised variable warnings from GCC.
at least the puffs one seems valid, but i'm not 100% sure.
2011-07-03 08:57:43 +00:00
mrg fdd886a82d avoid some multi-level pointer cast issues. 2011-07-03 08:56:25 +00:00
mrg f50d565b1c define ARCH_ELFSIZE=32 and add kobj_stubs.c rumpcpu_generic.c. 2011-07-03 08:53:23 +00:00
mrg e6f6d121ef regenerate. 2011-07-03 08:45:42 +00:00
mrg 48a80cfd3e regenerate 2011-07-03 08:44:40 +00:00
mrg 56e4edf0f6 - Makefile.hacks isn't working here; revert this portion for now.
- support ${COPTS.${.IMPSRC:T}} in the .c.pico rule
- add a hack for m68k and _fixunsxfdi, uses above
- add support to build LIB2ADD_ST stuff
2011-07-03 08:35:41 +00:00
mrg 70931e1e5a re-generate (add mpn_udiv_w_sdiv prototype.) 2011-07-03 07:26:21 +00:00
kefren 2c98490182 add RTA_TAG as defined in <net/route.h> 2011-07-03 07:25:52 +00:00
mrg 3b8e37627c add sysroot-suffix.h to the fake headers. 2011-07-03 07:23:19 +00:00
kefren 008758606b Mention -mpls and -tag and xref mpls(4)
bin/45071
2011-07-03 07:20:37 +00:00
matt 633cce5ea2 Add a weak symbol definition for __ffssi2 so that __builtin_ffs will use
this if no strong defintion of __ffssi2 is available.
2011-07-03 07:13:31 +00:00
kefren 51689e9504 correct two examples and add a couple more for multiple tags 2011-07-03 07:00:47 +00:00
mrg 3f45d2627b (re-)generate mknative-gcc files for many platforms.
(re-)generate the gmp files for many platforms.
2011-07-03 06:52:14 +00:00
mrg d2d81d57a9 copy sysroot-suffix.h as well, for sh3. 2011-07-03 06:47:12 +00:00
mrg 8ab8bb438f only build the ld.elf_so tests if MKPIC != no. 2011-07-03 06:46:49 +00:00
mrg cc129228dd add GCC 4.5 support. 2011-07-03 06:45:50 +00:00
mrg cba8775c43 use DBL_MAX and FLT_MAX from <float.h> instead of hard coding some ieeefp values. 2011-07-03 06:45:24 +00:00
mrg 3206e7e70e use DBL_MIN from <float.h> instead of a hard coded small value (that
becomes zero for vax fp.)
2011-07-03 06:44:01 +00:00
mrg 5ee4b0f8d3 clean up the created .s files. 2011-07-03 06:43:16 +00:00
mrg e313b44d7e gengtype also needs sysroot-suffix.h if present 2011-07-03 06:42:03 +00:00
mrg a72c0d12dc copy across (most) of the LIB1ASMFUNCS from t-arm-elf. 2011-07-03 06:40:38 +00:00
mrg 6ca11e60d8 - for m680[012]0, set cpu_type=m68k
- add fragment for m68010--netbsdelf
- s/*-*-netbsd/*-*-netbsd*/ so that netbsdelf matches
2011-07-03 06:39:22 +00:00
mrg 197e5b665d add gcc-4.5/altivec.h 2011-07-03 06:37:42 +00:00
matt 81158698ed Switch to using the secure-plt method of accessing the global offset table. 2011-07-03 03:30:19 +00:00
matt 9b5b646399 Cleanup trapframe handling. Instead of keeping a trapframe pointer in the
pcb, put in the mdlwp instead.  We had a dummy field so it didn't grow in
size.  This also follows the practice that mips and powerpc follow that a
pointer to the user trapframe is in l->l_md.md_utf.  Make trapframe members
start with tf_
2011-07-03 02:18:20 +00:00
mrg f2c5b35875 avoid some uninitialised warning issues GCC 4.5 complains about. 2011-07-03 01:01:06 +00:00
mrg 80d3d3c382 fix the names of the _END symbols passed to .size; fixes rump issues,
and kernels still work fine, and ofwboot still links.
2011-07-02 23:36:02 +00:00
matt 9233f8063e Switch powerpc to USE_COMPILERCRTSTUFF=no 2011-07-02 20:21:16 +00:00
matt 532130a31c The kernel and ld.elf_so call with a different order for
cleanup, obj, ps_strings so deal with it.
With this change, USE_COMPILERCRTSTUFF=no works.
2011-07-02 20:16:09 +00:00