Commit Graph

186621 Commits

Author SHA1 Message Date
thorpej
d32c9dd64e Import the libelf from FreeBSD 8.0-RC3. 2009-12-19 05:43:39 +00:00
christos
ba4446b975 Avoid using ${NETBSDSRCDIR} by using ${.PARSEDIR} like I did for amd64/i386 2009-12-19 04:11:32 +00:00
snj
946a137e1d A couple small grammar fixes. From Constantine Aleksandrovich Murenin. 2009-12-19 00:16:51 +00:00
snj
bbbb5348d6 Small grammar fix. From Constantine Aleksandrovich Murenin. 2009-12-19 00:15:28 +00:00
christos
e9c4fabb38 Don't use ${NETBSDSRCDIR}. It might not be set yet. 2009-12-19 00:15:13 +00:00
christos
830b7bc6e9 We mustn't search in the path for ${dir}.${MACHINE}; make sure we only
find the ones relative to ${.CURDIR}.
2009-12-19 00:14:43 +00:00
dyoung
8d684555a6 Note in BUGS section that vnd(4) does not work on sparse files. 2009-12-18 23:37:38 +00:00
matt
76fde1f456 Cleanup some messages.
Change arguments to sign extend properly.
GENERIC64 now gets to boot prompt in gxemul.
2009-12-18 23:22:28 +00:00
pooka
33d0c9ec96 I got a report about this not compiling on mips64. While I could
not repeat the problem and while this should not be used at all on
mips64, the real fix is a little diablo in the details.  So hack
around it for now (yes, it results in only half of the locks being
used on 64bit platforms.  no biggie for a hack).
2009-12-18 22:37:18 +00:00
pooka
b3a218f0ac Must use CMSG_SPACE instead of CMSG_LEN for control message buffer.
Fixes test on sparc64 (and possible other alignment-picky ports).
from mlelstv
2009-12-18 21:24:13 +00:00
skrll
05bdd9a95d Remove unnecessary part of conditional. 2009-12-18 19:20:35 +00:00
skrll
dd886c2366 DPRINTF format fixes. 2009-12-18 19:17:08 +00:00
christos
5061b6b019 From Patrick Welche:
The following trivial typo fix gets rid of "unsecure session"s...
XDMATHDIR -> XDMXAUTHDIR
2009-12-18 17:28:47 +00:00
mrg
249d1f1111 use COPTS for -G0.
replace ${CPUFLAGS:M-mabi=64:M-mabi=o64} with two constructs.
the former doesn't seem to work anymore.
2009-12-18 17:10:07 +00:00
skrll
f018b696a5 Add some comments. 2009-12-18 15:49:48 +00:00
skrll
9f2af676c5 Fix pmap_dump_table so that it doesn't loop indefinitely for a space that
doesn't map anything in the last PDE.

Also, don't loop unnecessarily through the spaces.
2009-12-18 15:20:15 +00:00
uebayasi
72c3db3e60 For new libgcc rules; include generated makefiles first, then register ${LIB}
and on-the-fly source rules.

No changes against existing libgcc rules.
2009-12-18 13:57:10 +00:00
uebayasi
1d70400acb Regenerate with libgcc TFmode softfloat support enabled. 2009-12-18 13:01:44 +00:00
uebayasi
ff345fa63c Libgcc softfloat wrapper source code. This file is not auto-generated. Due
to the design of libgcc build procedure I had to reverse engineer this from
generated files.
2009-12-18 12:51:43 +00:00
uebayasi
75da64c9d4 Fix a misplaced conditional I made. 2009-12-18 12:48:16 +00:00
uebayasi
ba7d4fb746 Make sure NetBSD.dist is updated when MKX11 is changed across update builds. 2009-12-18 04:12:36 +00:00
jakllsch
645bab636e Use "rnd.h" and <sys/rnd.h> to ensure that struct ld_softc
is always of consistent layout.  Should prevent another
someone from spending a few hours trying to figure out why
their code crashes because they didn't realize they needed
to have "rnd.h" included already.
2009-12-18 00:40:24 +00:00
jym
87333291ab Compile in PaX support for Xen x86 kernels (dom0 and domU).
ok bouyer@. Compiled and tested by me under i386. Only compile tested for
amd64.
2009-12-17 23:53:24 +00:00
bouyer
fc6ebcbc61 ATA sepcs changed the LBA48 boundary from 0xfffffff to 0xffffffe between
ATA6r1 and ATA6r3, which caused drives conform to ATA6r3 or later to
reject LBA28 commands at sector 0xfffffff.
Get the right idea from the LBA48 boundary from IDENTIFY words 60-61.
Remove the WD_QUIRK_FORCE_LBA48 quirk, associated tables entries and
autodetect code, it's not needed any more.
Based on patch sent to teck-kern by Christoph Badura, use of words 60-61
instead of a constant for the LBA48 boundary by me.
2009-12-17 21:03:10 +00:00
tsutsui
4c9a56f097 Add udl(4). Tested on LANTANK and LCD-8000U. 2009-12-17 20:07:19 +00:00
agc
5761f11cec Preserve the existing value of an extern variable across the call to
process_sign_request2().
2009-12-17 15:55:16 +00:00
uebayasi
656d7ae41f get_libgcc_new: Make previous work for digit only ABI names. 2009-12-17 15:48:13 +00:00
matt
3a2430f436 Add cobalt64 alias and indicte cobalt can be mips64el too. 2009-12-17 15:30:37 +00:00
matt
4c499c3460 Enable mips64 support for cobalt. 2009-12-17 15:29:47 +00:00
christos
b56987f3f3 PR/42466: Yasuoka Masahiko: vsnprintf_ss() causes infinite loop 2009-12-17 15:19:48 +00:00
uebayasi
eae6ecc426 get_libgcc_new: Teach multilib. 2009-12-17 15:01:33 +00:00
pooka
3d1523b600 Use implicit -F for regular files, much like disklabel(8). 2009-12-17 14:27:49 +00:00
pooka
0ab737e1d6 add ranty rant about data storage in tmpfs 2009-12-17 14:06:38 +00:00
pooka
e7951bb626 Add devnull.c to sources (forgot to do it yesterday).
Thanks to gson for the ping.
2009-12-17 12:49:22 +00:00
mrg
ad469079f3 copy across a hack from the mips libc/mcount build. self documenting:
+.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
+# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
+# and GCC configury passes -finhibit-size-directive which causes mips-gas
+# to barf.  Don't know what the real fix for this is...
+#
+# XXX should be COPTS, but that's too early
+CPUFLAGS+=-Wa,--no-warn
2009-12-17 07:24:06 +00:00
mrg
1a9afd2643 don't warn about mcount on mips64* as well.
XXX: someone really should fix mips profile.h's MCOUNT!
2009-12-17 06:54:51 +00:00
matt
8924d9d669 More changes to make newsmips compile (include "assym.h, remove unused
variables, etc.)
2009-12-17 05:29:56 +00:00
macallan
12cd8f1e70 make this compile again by sprinkling PRIxWHATEVER 2009-12-17 03:59:31 +00:00
rmind
1069745866 Replace few USER_TO_UAREA/UAREA_TO_USER uses, reduce sys/user.h inclusions. 2009-12-17 01:25:10 +00:00
pooka
f8bc172f73 * implement rump_vfs_makeonedevnode(), where the interface for creating
multiple nodes doesn't make sense: e.g. /dev/null would've had to
  be created with ("/dev/nul", 'l', 1)
* implement said /dev/null (just for show)
2009-12-17 00:29:46 +00:00
matt
7cce9d88af Fix various build with the 32bit mips ports after the mips64 merge. 2009-12-16 23:19:06 +00:00
pooka
1ff647bdce update to newnewvers.sh usage 2009-12-16 21:25:55 +00:00
pooka
25da823f47 * support passing ident on the command line
* rename -i to -n since it's less confusing when coupled with the above
2009-12-16 21:25:03 +00:00
pooka
4304733e2c print spammy banner in spammy bootstrap 2009-12-16 20:59:04 +00:00
pooka
590ffe150c Generate vers.c and include it in the kernel component. 2009-12-16 20:57:15 +00:00
pooka
ffd78a62ec Make it possible to leave out .note.netbsd.ident with command line flag -i. 2009-12-16 20:54:49 +00:00
matt
5c3604e034 Remove unneeded variables. 2009-12-16 19:02:03 +00:00
matt
271741bef7 Make cobalt build again. 2009-12-16 19:01:24 +00:00
matt
f7f663c15c Fix typo (missing -) 2009-12-16 19:00:48 +00:00
pooka
13777d56f1 Don't VOP_PUTPAGES(PGO_FREE) in inactive for tmpfs, since we now
(after some changes to rump) actually free those pages, leaving
the tmpfs vnode feeling quite empty.
(the purpose of the flush is to avoid double caching between the
rump kernel and puffs vfs layer)
2009-12-16 17:20:19 +00:00