205608 Commits

Author SHA1 Message Date
christos
605c6d89d1 Build glue for x86_64. This is working gdb for amd64 minus kernel stacktrace
support. It is disabled for now because it breaks user program traces.
2011-09-26 03:02:44 +00:00
christos
97417a67ca mknative for gdb7 2011-09-26 02:36:19 +00:00
christos
3e93b50f82 Disable our custom stack unwinder for now. It is completely broken now because
gdb asserts when a frame returns 0. In previous versions of gdb, it just
printed 0, and stopped scanning. Our unwinder produces the same results in
both versions of gdb, i.e. it is broken and worse than the current gdb
default. We will need to revisit this for kernel debugging.
2011-09-26 02:35:33 +00:00
mrg
b7e0bd3662 match END() with a relevant ENTRY*(). gas 2.21 complains about the
non-constant-ness of the symbol otherwise.
2011-09-26 01:52:22 +00:00
mrg
62b8778341 fix the spelling of libgomp_g.a. 2011-09-26 00:07:26 +00:00
joerg
41c1da9cfb Allow analyze to work by including bsd.clang-analyze.mk for kernels 2011-09-25 22:26:33 +00:00
christos
ca07041815 mention kern.tty.qsize requested by Matthew Mondor. 2011-09-25 21:47:22 +00:00
jym
c0cdfbbb3d Do as Joerg said and kill the __STDC__ blocks. They only make sense for
things used by assembler, which won't be the case for these macros.
2011-09-25 20:31:18 +00:00
christos
5ecf4f1c7e #define _KMEMUSER so that the struct lwp test works. 2011-09-25 20:26:04 +00:00
christos
b5a43e29a1 - fix missing argument
- expose struct lwp by #define _KMEMUSER
2011-09-25 20:25:08 +00:00
christos
2aaaf67e44 disable .y.c rule. 2011-09-25 20:23:51 +00:00
apb
1bc22d31ed Disable rebuilding of elfedit.1 2011-09-25 19:40:36 +00:00
christos
a83ee50668 make amd64 compile. 2011-09-25 19:09:31 +00:00
jym
ea5fe09303 Fix a small typo in comment: pmaps_lock is the lock that keeps all
pmaps in sync for kernel mappings (including when they are obtained from
pool caches).
2011-09-25 18:39:30 +00:00
christos
2cb320433e run autoreconf -f -i to disable maintainer mode. 2011-09-25 18:18:43 +00:00
christos
acd0381cfc Apply the diffs that are relevant from our old gdb6 source tree. 2011-09-25 16:30:24 +00:00
chs
4364c9c0d3 don't mix static and non-static MALLOC_DEFINE()s in the same file,
it fails to compile with gcc 4.5 on alpha.
2011-09-25 13:42:30 +00:00
chs
42b05e0e61 in fd_allocfile(), free the fd if we fail to allocate a file. 2011-09-25 13:40:37 +00:00
chs
11c35aee5c linux_termio c_cc array should be indexed by LINUX_OLD_V* rather than LINUX_V*.
fixes array overrun on alpha noticed by gcc 4.5.
2011-09-25 13:40:07 +00:00
chs
cf2b1d22cb avoid array overrun, noticed by gcc 4.5. 2011-09-25 13:37:20 +00:00
chs
2d7da4e277 change inline to static inline to appease gcc 4.5. 2011-09-25 13:36:53 +00:00
chs
b398f9d2e5 gcc 4.5 generates an extra plabel in ld.elf_so,
so expand the array of preallocated ones.
2011-09-25 13:34:54 +00:00
chs
623ee27088 m68k needs fpgnulib.c just like m68000 does. 2011-09-25 13:34:16 +00:00
chs
a9fd72b06c define PREFERRED_STACK_BOUNDARY to be the same as STACK_BOUNDARY,
gcc 4.5 wants them both.
2011-09-25 13:33:43 +00:00
chs
9f1b54794a libgcc is big enough to need the equivalent of -fPIC here now. 2011-09-25 13:33:11 +00:00
chs
bdcbc7d337 don't try to define LINK_EH_SPEC if it's already set,
netbsd.h already set it to what we want.
2011-09-25 13:32:17 +00:00
mrg
44263bdc53 fix the libgomp compat entries. 2011-09-25 12:56:46 +00:00
mrg
c9b22425b1 make this build without INET6.
also, fix the rfc6056algo passed to sysctl_rfc6056_helper
(it was backwards for inet4/inet6.)
2011-09-25 11:54:28 +00:00
apb
c850a5ae67 If the number of entries in CLEANFILES is too large, then the
commands in bsd.clean.mk encounter errors like "exec(/bin/sh)
failed (Argument list too long)".  Avoid that by splitting the
files to clean into several lists using different variable names.

This should fix PR 45397, at least until the number of files
grows much larger.
2011-09-25 11:20:41 +00:00
mrg
aa6f331642 mknative files for vax / binutils 2.21.1a 2011-09-25 11:10:45 +00:00
mrg
95deb5109b make this build again.
gimpy, please check the #if 0'd code that may or may not be useful? :)
2011-09-25 11:07:32 +00:00
mrg
175e62a9ff mknative files for m68* / binutils 2.21.1a 2011-09-25 10:55:04 +00:00
mrg
60fbfc044d mknative files for powerpc / binutils 2.21.1a 2011-09-25 10:27:01 +00:00
mrg
bd754ea449 mknative files for hppa / binutils 2.21.1a 2011-09-25 10:15:32 +00:00
mrg
2157e9516b mknative files for alpha / binutils 2.21.1a 2011-09-25 10:09:30 +00:00
mrg
cb8d4d4a13 mknative files for mips64eb / binutils 2.21.1a 2011-09-25 10:02:45 +00:00
mrg
68c15c8ed6 mknative files for mips64el / binutils 2.21.1a 2011-09-25 09:52:59 +00:00
mrg
47221e6236 add OPTION_FIX_LOONGSON2F_BTB and OPTION_NO_FIX_LOONGSON2F_BTB
options back to the enum.
2011-09-25 09:44:54 +00:00
mrg
a84ac1a7a0 mknative files for mipsel / binutils 2.21.1a 2011-09-25 09:42:48 +00:00
mrg
0f3608f275 mknative files for mipseb / binutils 2.21.1a 2011-09-25 09:37:28 +00:00
mrg
68db3a43ca mknative files for sh3eb / binutils 2.21.1a 2011-09-25 09:29:26 +00:00
mrg
34dc7e97c3 mknative files for sh3el / binutils 2.21.1a 2011-09-25 09:25:33 +00:00
mrg
88584aaf21 mknative-binutils for sparc64 / binutils 2.21.1a. 2011-09-25 08:01:41 +00:00
mrg
1a51c49807 mknative files for sparc / binutils 2.21.1a 2011-09-25 07:53:27 +00:00
mrg
c760ed2066 add new files for binutils 2.21. 2011-09-25 07:00:45 +00:00
mrg
7838ec379b mknative-binutils for i386 / binutils 2.21.1a. 2011-09-25 06:48:52 +00:00
christos
32998b1cb8 Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).
2011-09-25 04:32:33 +00:00
christos
aab9777b04 mention new binutils 2011-09-25 04:31:45 +00:00
christos
294b161d40 - bump libbfd and libopcodes for new binutils.
- new elfedit program
2011-09-25 04:11:47 +00:00
christos
544cd45c15 adjust for new gas Makefile 2011-09-25 04:00:58 +00:00