Commit Graph

87938 Commits

Author SHA1 Message Date
tv 428a14fd18 Make this buildable as a reachover host tool. 2001-11-14 14:22:09 +00:00
hubertf 95bf3bc4cd add pseudo-device rnd - it's needed by sshd 2001-11-14 13:25:19 +00:00
tv 4b087712af Pull in various changes from OpenBSD, most from Marc Espie, including:
* Provide some GNUisms as extensions.
* Provide dynamically growable string space.
* Make define(defn(foo)) work correctly for builtins.
(The current version is supposed to be capable of satisfying autoconf.)

All still relevant NetBSD changes have been preserved in this version, and
formatting and style fixes have been applied in various places.

Thanks to Masao Uebayashi <uebayasi@soum.co.jp> for pointing this out.
2001-11-14 06:16:07 +00:00
enami 6737e7d6b2 Test absense of command differently to avoid null pointer deference
when only whitespaces are given.
2001-11-14 03:01:15 +00:00
itojun d67d6cd1bb initialize sockaddr_in6 correctly. sync with kame 2001-11-14 01:56:29 +00:00
itojun a6b4b2d5a5 use strncpy instead of strcpy, just in case. sync with kame 2001-11-14 01:55:38 +00:00
thorpej be13b85887 * Give the XScale its own cpu_control() entry point; we have to flush
the Branch Target Buffer of the BPRD bit changes.
* Enable Branch Prediction on the XScale by default.
* Don't invalidate the Branch Target Buffer explicitly. the i80200
  manual (section 5.1, Branch Target Buffer Operation) notes that
  manual software management of the BTB is unnecessary; it is flushed
  implicitly when:
     * processor resets
     * FCSE process ID is written
     * I-cache is invalidated
2001-11-14 01:00:05 +00:00
tv 5489b30b60 ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:58:48 +00:00
tv 8bef0452bd ${MAKE} print-objdir -> ${PRINTOBJDIR} 2001-11-14 00:41:52 +00:00
thorpej 91f49d269d Eliminate some duplicated code here (similar to XScale code):
* sa110_cache_purgeD() is the same as sa110_cache_cleanD() on the
  SA-1 -- make it an alias.
* sa110_cache_syncI() and sa110_cache_purgeID() are identical to
  sa110_cache_cleanD() on the SA-1, with the exception that the
  I-cache must also be flushed.  Save code duplication by moving
  the I-cache flush before the D-cache clean and letting it fall
  through.
2001-11-14 00:08:05 +00:00
tv 23b305bcfa * Use -isystem instead of -idirafter for ${DESTDIR}/usr/include.
* Provide defaults for HOST_AR and HOST_RANLIB.
* Formatting cleanup.
2001-11-13 20:25:38 +00:00
chris 4d1b8d545e Sync to libc version of divsi3.S. This is to fix up the stack for 8 byte alignment. 2001-11-13 20:06:40 +00:00
chris aadbf924e6 Update asm files to use sp instead of r13. Also tweak a couple of bits in the longjmp code to save an instruction. 2001-11-13 20:04:52 +00:00
chris d4ffdc1db0 Update arm libc files for 8 byte aligned stack. 2001-11-13 20:03:38 +00:00
tv d4c01db697 Turn off kernel rcsids by default on a.out, but let it be turned on again
with the option USE_KERNEL_RCSIDS.  (On a.out, these strings are actually
allocated memory and loaded; on ELF, they exist in a non-loaded file section.)
2001-11-13 19:52:39 +00:00
tv 7df9c95b77 Only put LintSys*.c in DPSRCS; the others are static files. 2001-11-13 19:16:41 +00:00
tv 8db91a3669 Revert part of rev. 1.20 -- $DESTDIR and $TOOLDIR are deliberately shown
symbolically with "-n", as these may come from mk.conf after building the
bootstrap make.  Add a comment to that effect.
2001-11-13 19:03:08 +00:00
tv c750bb2e19 Clean up a little more (DPSRCS already goes in CLEANFILES; reduce
redundancy of DPSRCS).
2001-11-13 18:57:47 +00:00
tv 4f2487f123 Update to match libc's new .S build rules. 2001-11-13 18:55:00 +00:00
tv 75b1d2a008 No need for the .for in this case (holdover from earlier noncommitted
version of the simplification).
2001-11-13 18:46:17 +00:00
tv 68e6fca807 Make this match the new .S extension of syscalls. 2001-11-13 18:39:10 +00:00
augustss b684acbf39 Add wsmux (it seems to work now). 2001-11-13 17:56:30 +00:00
augustss c5477b70aa The wsmux pseudo device does not need a count anymore. 2001-11-13 17:54:46 +00:00
tv 6ba13bbf13 Reverse the order of "make cleandir" and "make obj" back to the way they
were historically.  Discrepancy noted by atatat.
2001-11-13 17:47:16 +00:00
augustss 6a161b0a72 Add a DISGNOSTIC message. 2001-11-13 17:45:07 +00:00
tv 0b806103d9 "${FOO}" -> ${FOO:Q} 2001-11-13 17:37:03 +00:00
tv 25c34dba0d Move host program overrides of INSTALL and MKDEP to <bsd.hostprog.mk>. 2001-11-13 17:36:14 +00:00
tv 9f22792e0b No need for ${CPP}; just compile the .S if m68k || i386.
Formatting cleanup.
2001-11-13 17:26:52 +00:00
tv 0b5c0ba712 Make the TARGET_ENDIANNESS check only valid when making release, snapshot,
or distribution.

Also, clean up the check and include <sys/endian.h> instead -- some platforms'
<machine/endian_machdep.h> pull in the definitions of _BIG_ENDIAN and
_LITTLE_ENDIAN, invalidating the test; this makes the check values uniformly
"4321" and "1234" respectively.
2001-11-13 17:14:27 +00:00
tv 6cb9463f87 Build *_tab.h as part of DPSRCS to make "make depend" work correctly. 2001-11-13 17:01:23 +00:00
tv 259ff4e7d0 Re-add MKTOOLS as a "yes"/"no" only variable, which prevents recursion on "no"
into the src/tools subdirs on all/depend/dependall/install.  Other recursive
targets are not affected.
2001-11-13 16:17:24 +00:00
tv f4381c7fc4 Make previous a bit cleaner, too: just refer to all these files by the
.S extension; no need to do all the :.o=.S transforms.
2001-11-13 16:03:53 +00:00
tv af17e1a352 Rather than build in `tools' and `lib' twice, build `tools' and `lib'
completely and install them, then skip recursing into those directories
on the final dependall/install.
2001-11-13 15:56:28 +00:00
tv be1b573f6d One More Time: Make _mvcpp work on an UPDATE install (without bombing). 2001-11-13 15:32:15 +00:00
tv 958e3755af Make _mvcpp work on an UPDATE reinstall. 2001-11-13 15:30:06 +00:00
tv c22bb3e6fb Fix backslash typo in previous. 2001-11-13 15:20:34 +00:00
tv 2eb12ec596 Make the generation of syscall stubs a lot more reliable by generating real
`.S' files and letting <bsd.sys.mk> and <bsd.lib.mk> compile them like every
other .S file.  The compilation options passed to ${CC} are still correct.

Also make sure LintSysPseudoNoerr.c gets removed on "make clean".
2001-11-13 15:12:01 +00:00
tv 8be2d6667c Dummy commit (removed one blank comment line) to make sure that all the
libc .o's for syscalls are rebuilt.
2001-11-13 14:49:56 +00:00
tv 30b6e7538a Re-add cpp; this was lost in the overhaul. (XXX this needs to GO AWAY
and the build system needs to use ${CC} -E...!)
2001-11-13 14:49:00 +00:00
tv 7e3f01a244 Fix installation of -mdoc macros. 2001-11-13 14:21:03 +00:00
lukem 43369f69d3 add RCSID 2001-11-13 13:33:44 +00:00
lukem 071697f107 fix RCSID 2001-11-13 13:32:34 +00:00
lukem a4bae8b066 add/cleanup RCSID 2001-11-13 13:14:31 +00:00
bjh21 49ddb29842 Fix .type directive to use the right name for L_ffs_table (pointed out by
Ian Fry).

Also, add RCSID and fix some comments.
2001-11-13 13:07:52 +00:00
lukem 13ac430285 add RCSID 2001-11-13 13:01:57 +00:00
lukem 0e9163223a cleanup RCSID 2001-11-13 13:01:22 +00:00
lukem f61cbe7489 add RCSID 2001-11-13 12:51:12 +00:00
lukem dca6ccc83f add/cleanup RCSID 2001-11-13 12:49:45 +00:00
lukem b84f53efc5 add RCSID 2001-11-13 12:47:33 +00:00
lukem 05b019ba0f add RCSID 2001-11-13 12:24:11 +00:00