Commit Graph

2638 Commits

Author SHA1 Message Date
joerg
5e537536a5 Import pre-release of SQLite 3.6.9 based on 8bf13b036a. 2011-10-13 21:37:19 +00:00
christos
dc0f26b327 fix core dump handling. In essence remove all the custom code that dealt with
it, and use the gdb standard code.
2011-10-13 21:11:57 +00:00
matt
fb19a9fd0f Regen. 2011-10-13 19:51:58 +00:00
plunky
f65a48c2ec max WARNS is 4 2011-10-13 17:23:28 +00:00
joerg
158f0bd157 Kill redundant () 2011-10-13 16:58:30 +00:00
christos
464319bdbd Deal with core file initialization. The code is till wrong: all the core_ops
are unused and adding the core target does not work.
2011-10-13 16:00:37 +00:00
wiz
6bc209b109 Remove trailing whitespace. 2011-10-12 22:50:31 +00:00
christos
5a7c3e577e renamed len -> i but did not fix it everywhere. 2011-10-12 19:48:24 +00:00
christos
70b3f8cd32 process files in /etc/cron.d/ 2011-10-12 16:39:48 +00:00
njoly
3a1b9a69ca define HAVE_STRPTIME needed for date parsing. 2011-10-12 15:33:38 +00:00
joerg
937673ea7b Revert incorrect last change and redo it in a way that doesn't violate
strict aliasing rules.
2011-10-12 14:11:25 +00:00
christos
90136e10d7 fix wrong cast. 2011-10-12 13:44:33 +00:00
mrg
2c45186ad3 fix the paths to libsim. 2011-10-12 03:57:45 +00:00
dholland
0b9f907571 Improve the output of gcc when a subprogram gets a signal. When OOMing
it gets signal 9, which prints "Killed" -- that this is actually
signal 9 and not a generic message is never clear and causes people to
file PRs unnecessarily.

Suggested by followups to PR 44096.
2011-10-11 23:05:48 +00:00
christos
36efe015ea make this compile. 2011-10-11 23:04:20 +00:00
christos
ac8695a91e mknative m68k 2011-10-11 23:04:12 +00:00
joerg
01476cad21 Update build system for mdocml 1.12.0. 2011-10-11 19:20:13 +00:00
joerg
b1e8115bf5 Merge changes for mdocml-1.12.0. 2011-10-11 19:12:13 +00:00
joerg
c5f73b3488 Import mdocml 1.12.0:
- Support to output HTML fragments
- Initial support for mdoc->man translation
- Initial eqn support
- preconv / apropos / demandoc (not hooked up)
- Various bugfixes
2011-10-11 19:09:36 +00:00
joerg
3990e5f3ce Disable format string validation with clang, it doesn't like gettext too
much.
2011-10-11 15:18:09 +00:00
joerg
e88c6d8036 Fix memset usage. 2011-10-11 15:13:08 +00:00
christos
c1a250a123 don't forget to subtract the offset; found by clang -Warray-bounds 2011-10-11 15:11:59 +00:00
christos
e9f7791ec5 fix some empty bodies. 2011-10-11 15:10:17 +00:00
joerg
9aa0541bdf Update LLVM/Clang snapshot to r141658. This primarily fixes a regression
preventing Qt4 from building.
2011-10-11 13:53:56 +00:00
mrg
58ea3a282e force on -DPIC and re-apply the old .pico rules again.
i'd expect this to help hppa/sh3 builds, but it doesn't entirely.
it does get the related command lines much closer though.
2011-10-11 03:10:26 +00:00
christos
c6bacb34f2 regen arm 2011-10-10 23:14:48 +00:00
christos
7b0e9de91a make this compile 2011-10-10 23:13:25 +00:00
christos
71f924834e make alpha compile. 2011-10-10 22:18:08 +00:00
christos
fdf8f3b19f mknative for sparc64 and alpha 2011-10-10 22:18:00 +00:00
christos
33c386138b add missing file 2011-10-10 14:07:16 +00:00
njoly
8ee20f16ad Fix locale alias file substitution in man page. 2011-10-10 09:41:47 +00:00
chs
24dea3d577 in emit_push_insn(), ignore alignment if we don't have a type.
works around a gcc ICE on m68k.  from mrg.
2011-10-09 21:17:33 +00:00
christos
e6afcfa146 fix and re-enable the texinfo targets 2011-10-09 18:17:53 +00:00
christos
cfa2879daa add arm and hppa 2011-10-09 17:19:03 +00:00
christos
d824ea3fab don't forget to set bindir. 2011-10-09 13:58:27 +00:00
christos
c8d7cb163f fix powerpc support. 2011-10-09 02:07:24 +00:00
christos
1138a3c397 add powerpc support 2011-10-09 02:03:19 +00:00
christos
cee1519fd9 Add psim 2011-10-09 01:59:31 +00:00
christos
4ad34de5ac Descent into gdb if we support it yet. 2011-10-08 21:52:15 +00:00
christos
eabd2ad9ba - Don't use the unwind register get functions; you end up in an assertion
trying to unwind while unwinding; plus the sniffer is not allowed to unwind.
- Return the outer frame to terminate not the null frame.
This fixes the kernel track unwinder, so enable it.
2011-10-08 21:47:52 +00:00
christos
2851a42220 pass the thread id. 2011-10-08 21:43:35 +00:00
christos
6ee25ca9b9 use cleantags, instead of home grown copy. 2011-10-08 19:28:38 +00:00
njoly
e7df974e10 Adjust UID header position, to be aligned with the datas. 2011-10-08 08:45:37 +00:00
christos
1d3d0af5a7 gnu style. 2011-10-07 23:24:14 +00:00
christos
b2a67858d2 Fix broken logic that created R_SPARC_64 relocations when -Bsymbolic.
When -Bsymbolic, all resolved symbols need to be created with relative
relocations. The dynamic linker depends on that because it only
knows how to perform relative relocations in the first pass to
relocate itself.  This bug ended up creating R_SPARC_64 symbols for
12 relocation symbols in ld.elf_so, one of them dlopen(), which
ended up breaking things using dlopen(), most notably PAM.
2011-10-07 22:30:56 +00:00
christos
5cb8c25793 disable building the .info file 2011-10-07 20:22:59 +00:00
joerg
debc234b9f Optimise by simplifying. 2011-10-07 10:38:02 +00:00
hannken
34f54c83be As vnalloc() always allocates with PR_WAITOK there is no longer the need
to test its result for NULL.
2011-10-07 09:35:04 +00:00
mrg
e8dd307ab6 remove NETBSD_LIBGCC_SPEC that is no longer necessary with ligcc
already doing pic code properly.
2011-10-07 09:16:27 +00:00
mrg
4a9d1308c3 obsolete libgcc_pic and friends. all libgcc's are supposed to be pic
for platforms with shlibs already (and are.)

this obsoletes our hacks for the libgcc specs to use libgcc_pic, and
fixes a couple of other issues reported to me directly.
2011-10-07 09:15:21 +00:00
sborrill
91b69c9f1d Bump version number to 20111006 2011-10-06 13:06:14 +00:00
sborrill
c8be037fd1 Provide function in libiscsi to return the compile-time limit on number of
targets. Use this function in the initiator, to ensure that the same limit
is used throughout (i.e. stop you attempting to compile the initiator with a
different limit to the library - the initiator uses the library for most of
its functionality).

If truncating the number of targets in the initiator, truncate it to the
correct amount, not half of what it should be.

Obey RFC3720 when determining targets. SendTargets=All MUST be supported
on a discovery session, and MUST NOT be supported on an operational session.
Previously, SendTargets=All was used both in the initial discovery session
and the later session. (from Daisuke Aoyama - author of istgt).
2011-10-06 13:05:28 +00:00
njoly
829ab7717f Fix magic_descriptor/magic_file quoting in SYNOPSIS. 2011-10-03 15:43:55 +00:00
christos
b7c50fc18d enable thread debugging support. 2011-10-02 18:16:06 +00:00
christos
ce760d083b Enable thread debugging support (not completely working yet). 2011-10-02 18:15:23 +00:00
christos
0ef3cdf303 - add objfile hook.
- constify.
- we cannot run things, so don't lie.
2011-10-02 18:14:24 +00:00
christos
bc3b670f7d The arm .arm.atpcs section does not have segment information, so skip it. 2011-10-01 19:25:24 +00:00
macallan
c608916b4f put -mfixloongson2f-btb back in the command line options list 2011-09-30 01:23:00 +00:00
dholland
15ab4bd2bd Fix generation of site.def to substitute @FONTROOTDIR@ and @ENCODINGSDIR@
instead of emitting them unchanged into the imake templates. Should fix
build of x3270.
2011-09-29 09:44:08 +00:00
christos
6762e6f13b comment out weak magic, from file HEAD. 2011-09-28 13:50:52 +00:00
christos
2203d253d7 fix cdf mime output on cdf files (from file HEAD) 2011-09-28 13:50:09 +00:00
christos
c236fd95c0 mknative for i386 2011-09-27 15:05:56 +00:00
christos
b642776f19 disable kernel trap frame crawling on i386 until it is fixed. 2011-09-27 15:04:19 +00:00
christos
d3f9240343 Provide regset functions and gut parts that the new debugging thread library
does not provide yet, so that we can link. As expected this does not work
yet.
2011-09-26 20:38:54 +00:00
christos
a6ca113b40 Resurrect old thread debugging code. Not hooked in, compiles. 2011-09-26 18:55:56 +00:00
tsutsui
234e509874 Set WARNS?=2. 2011-09-26 18:08:09 +00:00
tsutsui
431958d51c Regenerate these compiled files properly in our own
xsrc/external/mit/xkeyboard-config/dist/ directory, i.e.
- pull changes from xkeyboard-config 2.0 to 2.3
- put back entries for sharp machines (zaurus and hpcarm wzero3s)
  removed in rev 1.4 (xkeyboard-config 2.0 merge)

XXX1: can't we generate these files during build?
XXX2: hpcarm W-ZERO3 keyboard on X still has some troubles...
2011-09-26 15:19:45 +00:00
christos
09d11d2f8f use gstdint.h from libdecnumber. 2011-09-26 14:31:25 +00:00
mrg
5f7fcf61d3 mknative files for armeb / binutils 2.21.1a 2011-09-26 09:33:45 +00:00
mrg
8f6ce38a21 mknative files for arm / binutils 2.21.1a
(built with a hack to gas/config/tc-arm.c.)
2011-09-26 09:26:58 +00:00
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
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
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
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
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
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
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
31799520c4 from ftp.gnu.org 2011-09-24 22:40:46 +00:00
christos
be12b8bcaf from ftp.gnu.org 2011-09-24 22:30:45 +00:00
christos
45548106ec from ftp.gnu.org 2011-09-24 22:20:22 +00:00
christos
be9ac0ea6d from ftp.gnu.org 2011-09-24 22:10:17 +00:00
christos
7dfc761b33 Add the rcs keyword chomper. 2011-09-24 20:52:37 +00:00
christos
7813712d29 make this compile. 2011-09-24 20:51:04 +00:00
christos
5af5d48181 fix stray rcsid files 2011-09-24 20:47:37 +00:00
christos
4e98e3e176 import 7.3.1 2011-09-24 19:57:51 +00:00
christos
98b9484c67 import 7.3.1 2011-09-24 19:47:50 +00:00
christos
473931cbb4 Initial revision 2011-09-24 19:47:49 +00:00
christos
597410b885 import 7.3.1 2011-09-24 19:41:43 +00:00
christos
00a6b36997 import 7.3.1 2011-09-24 19:41:36 +00:00
wiz
372160b738 Document 'cvs rdiff -p'. 2011-09-24 12:02:58 +00:00
mrg
3f55311b0b implement cvs rdiff -p. (someone please upate the manual for me :) 2011-09-24 11:37:27 +00:00
tron
b8b5c88370 Fix build with stack smash protection enabled. 2011-09-23 09:36:37 +00:00
mrg
8b0b8ab146 build and install libgomp, as needed by "cc -fopenmp", and its
suplimentary files like libgomp.spec and omp.h.
2011-09-23 06:47:54 +00:00
mrg
de7f28c14f only install libgomp.spec for the native build. look in the archdir
for libgomp.spec.

XXX: FILES/FILESDIR isn't working here for me yet.  no idea why.
2011-09-22 20:55:17 +00:00
he
89071b8936 Make this build again: include <err.h> when needed, and don't
shadow err() with a local variable called err...
2011-09-22 16:05:11 +00:00
christos
144b6f2c66 Check result of malloc (Maksymilian Arciemowicz) 2011-09-22 12:40:48 +00:00
mrg
23f1423382 regenerate. 2011-09-22 04:22:17 +00:00
mrg
e2bf07a38a use GOMP_MACHINE_ARCH, so we can build compat libs. 2011-09-21 02:12:00 +00:00
mrg
a2a54c3f32 allow LIBISPRIVATE to be overriden, and install everything again.
helpful for mknative-gcc.
2011-09-21 02:06:42 +00:00
mrg
53e8c72cbd libgomp mknative-gcc files for everyone else. 2011-09-21 02:00:55 +00:00
mrg
ac21230aad makefile to build libgomp, as needed by "gcc -fopenmp".
needs a full mknative-gcc run before it can be properly enabled.
2011-09-20 02:28:03 +00:00
mrg
5bf1411760 mknative-gcc files for libgomp. 2011-09-20 02:26:40 +00:00
christos
e79509f088 fix typo. 2011-09-19 01:45:15 +00:00
joerg
cdbce62dc9 Define __arraycount if it doesn't exist. 2011-09-17 10:46:52 +00:00
christos
3145fd5cc6 Add utmp/utmpx support.
XXX: Should we make the top pty (tmux) hide?
XXX: Should we add an option to not create utmp entries for a tmux terminal?
2011-09-17 01:50:08 +00:00
christos
7aee9ef7a1 Add utmp support. 2011-09-17 01:48:46 +00:00
christos
79bb278aa6 merge changes 2011-09-16 21:06:21 +00:00
christos
1594e4f0e7 restore from the dead. 2011-09-16 20:38:12 +00:00
christos
f2668aff30 from ftp.astron.com:
- elf seeking fixes
- improvements in cdf parsing
- waitpid only for our child
- magic fixes and additions
2011-09-16 20:37:23 +00:00
joerg
ba0add90b0 Disable noreturn checks for remaining external code 2011-09-16 16:41:20 +00:00
joerg
2ae99cf42b There is no such thing as WARNS=5. 2011-09-16 16:29:12 +00:00
joerg
c6e6ace444 Use __dead 2011-09-16 16:27:36 +00:00
joerg
ce5205bcbb Use __dead 2011-09-16 16:09:03 +00:00
plunky
4d64109f1e revert v1.31 (when this was lib/libpcap/Makefile), the HAVE_PCC
is not any longer required since pcc understands gcc attributes
now
2011-09-15 17:59:45 +00:00
christos
c3ffa13cb0 PR/45367: Grégoire Sutre: don't depend on m4-ccas and cpp-ccas to be
executable; invoke the shell to run them.
2011-09-14 16:35:22 +00:00
christos
3eb92d7759 PR/45308: Manuel Bouyer: Update list of broadcast addresses after updating
interfaces.
2011-09-14 16:18:29 +00:00
christos
aaddf8990f avoid type punning 2011-09-13 19:35:12 +00:00
christos
71faa8a7e1 Some versions of linux have probably marked fwrite(3) as
__attribute__((__warn_unused_result__)) and the __builtin_expect()
use here is an attempt to silence the warning. This does not work
if the second argument of __builtin_expect() is not a constant,
but we are not linux, so instead of going through the
__builtin_constant_p() dance to correct this, just disable it for
non linux OS's.
2011-09-13 19:07:44 +00:00
apb
96aacf816f Use find .${X11FONTDIR}, not find ./${X11FONTDIR}, because ${X11FONTDIR}
starts with "/". This should fix issues involving .//usr/X11R7 instead
of ./usr/X11R7 in METALOG during the build for some ports.
2011-09-12 13:38:42 +00:00
joerg
299a5c7a41 Update LLVM/Clang snapshot to r139231. This includes various bugfixes
and improvements. Don't use a temporary file for tblgen to ensure that
dependencies are created correctly.
2011-09-12 13:32:59 +00:00
christos
999e847dfb reverse polarity of the warning. 2011-09-12 12:11:53 +00:00
christos
888d3daedb merge bind-9.9.0a1 2011-09-11 18:55:24 +00:00
christos
b8fb0c4915 Import bind 9.9.0a1 2011-09-11 17:18:57 +00:00
christos
6312186e63 Import bind 9.9.0a1 2011-09-11 17:11:03 +00:00
christos
7826ecab31 document -i 2011-09-10 21:38:59 +00:00
christos
cbb5c84afb update config.h and what we do to it. 2011-09-10 21:32:25 +00:00
christos
567667755d merge changes. 2011-09-10 21:29:04 +00:00