Commit Graph

220975 Commits

Author SHA1 Message Date
martin
ebfd259656 Eliminate (mostly) unused "ostate" variable 2013-09-12 11:42:26 +00:00
martin
84e3fc8358 Fix wrong for loop limit 2013-09-12 11:38:23 +00:00
martin
fda716a94d Remove unused maxPower_t4 variable. 2013-09-12 11:26:53 +00:00
martin
a0cc4b1258 Remove unused ppr_able variable. 2013-09-12 11:23:37 +00:00
wiz
2aa10166ef Update standards conformance. From jmc@openbsd. 2013-09-12 07:26:13 +00:00
joerg
9b315b031e Overwrite PIE_*, otherwise bootxx_cd9660 is not recognized by
installboot in MKPIE=yes builds.
2013-09-12 05:54:38 +00:00
dholland
ec390d2346 Fix MKPAM=no build. 2013-09-12 04:42:49 +00:00
christos
952f93f19e Include BRDADDR and NETMASK to the v4 ioctls we ban for v6; from FreeBSD.
Remove X25 stuff which has been GC'ed.
XXX: pullup-5,6
2013-09-11 23:15:47 +00:00
joerg
975a152cfc If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
2013-09-11 23:04:09 +00:00
matt
92fd66d6e7 Teach readelf how to interpet netbsd notes.
Notes at offset 0x00000128 with length 0x00000018:
  Owner         Data size       Description
  NetBSD        0x00000004      IDENT 699002300 (6.99.23)

Notes at offset 0x00000154 with length 0x00000020:
  Owner         Data size       Description
  NetBSD        0x00000009      MARCH <earmv7hf>
2013-09-11 18:53:54 +00:00
drochner
4d518571b9 add a patch from upstream, fixing a regression which obstructed link
status detection on BSD virtual interfaces (observed with xennet)
2013-09-11 18:50:00 +00:00
martin
4073f8732b Disallow MAP_FIXED mmap's in the sparc64 VA hole (XXX - need to deal with
different variants of the hole for different CPU types)
2013-09-11 18:27:44 +00:00
martin
d31af930cb Allow MD code to add aditional checks for mmap(..., MAP_FIXED) address
ranges. This can be used, for example, to avoid not implemented VA-holes,
but we probably need to check in a few more places.
2013-09-11 18:26:14 +00:00
khorben
725c35c2a7 Fixed installation of signed packages. Some variables part of struct
signature_archive were not initialized properly, therefore randomly failing
in the verify_signature_read_cb() callback.

Partly closes PR pkg/48194; pkgsrc needs to be updated as well.

"please commit" agc@

XXX pull-up to netbsd-6
2013-09-11 12:59:19 +00:00
joerg
ab327b931c Needs libm. 2013-09-11 09:59:52 +00:00
joerg
ac35abab0f Drop now redundant assignment from the MKPIC=no case. 2013-09-11 09:59:13 +00:00
joerg
912713b9c5 Explicitly link against liblber as various symbols from it are used. 2013-09-11 09:58:02 +00:00
joerg
a7c89b6e01 Add dependency on libz and libbz2. 2013-09-11 09:57:09 +00:00
matt
0c7184eef8 Add md_march and PROC0_MD_INITIALIZERS 2013-09-11 04:24:48 +00:00
matt
26dbb44c7a Define ELF_NOTE_MARCH_DESC for when running non-eabi in compat_netbsd32 2013-09-10 22:00:01 +00:00
matt
50bfeb714d Support an optional MARCH ELF tag.
Store the MACHINE_ARCH of the executable in mdproc and override sysctl
so that value returned.
2013-09-10 21:30:21 +00:00
pooka
d5e9a0d652 Not all systems sport err.h, so redo those bits using the die() routine
we need to have hanging around anyway for proper error reporting from
a daemonizing server.  le sigh
2013-09-10 20:36:08 +00:00
pooka
7066c11a5f <sys/cdefs.h> comes from rumpuser_port.h 2013-09-10 19:42:32 +00:00
pooka
22882349e0 Need bsd.own.mk for mk.conf, include it at an opportune place. 2013-09-10 18:28:46 +00:00
pooka
ff8534b0b9 Make it possible to omit libutil from the link. It's used only for
disklabel stuff, and is only harmful on platforms that don't currently
provide user namespace disklabel interfaces.
2013-09-10 18:22:55 +00:00
pooka
4e5f4292e3 Make this work on platforms without disklabels, modules, etc. 2013-09-10 17:59:52 +00:00
pooka
b3e8687dfb more platform-specific qualifiers 2013-09-10 17:58:39 +00:00
pooka
543084bf66 regen 2013-09-10 17:42:02 +00:00
pooka
cb7f5a8a3d "rumpuser_port.h" -> <rump/rumpuser_port.h> 2013-09-10 17:40:54 +00:00
pooka
4194c8cb75 -I../librumpuser is still required for sp_common.c 2013-09-10 17:39:10 +00:00
matt
988e1b8be5 MARCH note is conditional 2013-09-10 17:23:55 +00:00
pooka
56651ceb36 Do like the comment suggests and don't sanity-check the -c parameter here,
since we can't do it properly.
2013-09-10 17:13:29 +00:00
pooka
6a483aa182 +rump_server 2013-09-10 17:08:57 +00:00
pooka
0f188198a5 use <rump/rumpuser_port.h> 2013-09-10 16:53:06 +00:00
pooka
6cd40f3fba Install rumpuser_port.h 2013-09-10 16:51:24 +00:00
matt
b4939ef9a5 Add support for a NetBSD MARCH elf note to record the MACHINE_ARCH for
which a program was compiled.
2013-09-10 16:45:33 +00:00
matt
25193be039 For earm, emit a MARCH note. 2013-09-10 16:35:10 +00:00
matt
2b74ba5033 Add a NetBSD note variant for recording the machine_arch for which the
executable was built.  (currently only used by earm variants)
2013-09-10 16:24:02 +00:00
macallan
7823c23e84 update comment about which CPU uses what counter/timer 2013-09-10 16:03:48 +00:00
gsutre
403a135bbc Unbreak vax build (which still uses gcc 4.1). See PR lib/48131. 2013-09-10 12:54:14 +00:00
christos
b964869221 -D and -I are CPPFLAGS 2013-09-10 11:23:20 +00:00
jnemeth
051cef0f90 PR/48199 - David H. Gutteridge -- remove some vestiges left over from UUCP removal 2013-09-10 00:41:51 +00:00
christos
60baa80007 use intmax_t instead of long long. fixes wrong cast for time_t. 2013-09-09 23:27:43 +00:00
christos
4a5538bfa8 PR/48198: Peter Bex: Avoid kernel panic caused by setting a very small bpf
buffer size.
XXX: Pullup -6
2013-09-09 20:53:51 +00:00
pooka
2e16209595 Remove what looks like an outdated assert (there was something very sneaky
about this code, but my memory is fading ...)
2013-09-09 19:47:38 +00:00
riz
8dcf7f1af2 Add an item to the list (SIGINFO support). 2013-09-09 19:37:17 +00:00
pooka
8b99c7c824 Use 8 TCP/IP stacks instead of 16. That still gives us plenty crossping
testing for 1/4th of the cost.
2013-09-09 19:27:49 +00:00
christos
f812b4b441 Expand ep->host to contain the final string that we are going to print
before computing the width of the host column.
2013-09-09 19:20:38 +00:00
pooka
dcf10cb7c5 Fix minor bug in previous: make sure we come out of rump_init()
without a bound lwp set.
2013-09-09 19:18:08 +00:00
matt
d3628fd5ef Cleanup. Make KGDB work.
We now process the u-boot boot args.
2013-09-09 17:54:38 +00:00