Commit Graph

202567 Commits

Author SHA1 Message Date
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
matt 675a57b0bb Adapt to the new ___start calling convention 2011-07-02 20:14:10 +00:00
jym 6d90e19e1d Remove all return error checks for event_set_handler(...). It either
succeeds or end in panic.
2011-07-02 19:07:56 +00:00
kefren 849a1cbddc return EXIT_SUCCESS and EXIT_FAILURE instead on 0 and -1 2011-07-02 18:17:12 +00:00
bouyer 1f1772a97c Fix kern/45093 as discussed on tech-kern@:
http://mail-index.netbsd.org/tech-kern/2011/06/17/msg010734.html

The cause of the problem is that the so_pendfree is processed with
the softnet_lock held at one point, and processing the list
calls sodoloanfree() which may kpause(). As the thread sleeps with
softnet_lock held, it ultimately cause a deadlock (see the PR or tech-kern
thread for details).
Although it should be possible to call sodopendfree() after releasing
the socket lock, it's not so easy to know where he socket lock is held and
where it's not, so we may hit the issue again later.
Add a kernel thread to handle the so_pendfree list, and wake up this
thread when adding mbufs to this list. Get rid of the various sodopendfree()
calls, hopefully fixing definitively the problem.
2011-07-02 17:53:50 +00:00
tsutsui feddb9cce7 Sync with src/sys/arch/shark/conf/Makefile.shark.inc rev 1.14:
> also need to strip out GCC 4.5's new .debug_pubtypes section.
> while here, minor cleanup.

XXX: probably we should have something like ${ARM_AOUT_REMOVE_SECTIONS}
XXX: in bsd.own.mk
2011-07-02 17:37:28 +00:00
tsutsui 4596716ac5 Remove an extra backslash. 2011-07-02 17:33:10 +00:00
mrg 62f0adc4ab mknative-gcc output for vax and m68k. 2011-07-02 14:28:14 +00:00
mrg 387b0b6077 also need to strip out GCC 4.5's new .debug_pubtypes section.
while here, minor cleanup.
2011-07-02 14:17:40 +00:00
mrg d71012a93f mknative-gcc output for vax and m68k. 2011-07-02 14:13:50 +00:00
mrg 31ec5d717b make this build on vax.
XXX:  need to check this for platforms besides x86 and sparc64 to see
XXX:  if HAVE_LDOUBLE_IEEE_EXT_LITTLE or friends should be defined.
2011-07-02 14:08:45 +00:00
mrg 64ee02ff8f add driver-rs6000.c and the remaining powerpc mknative-gcc files. the
ppc native gcc now links but doesn't run yet properly.
2011-07-02 14:06:42 +00:00