Commit Graph

119147 Commits

Author SHA1 Message Date
wiz
8034863446 Add RCS Id. 2003-10-19 08:54:13 +00:00
manu
d77ec799a5 Support Darwin static binaries (I should say: support the only Darwin
static binary: otool). Dynamic binaires have a pointer to the Mach-O
header on the top of the stack, static binaries don't have this, and
having it produced a crash.

One bugfix: the EXEC_MACHO code assumes that entry = NULL means that
the entry point has not been found in the load commands seen so far.
Therefore we need to initialized entry to NULL if we want a static binary
to discover it. (dynamic binaries were forced to iscover it because when
the intepreter load command is found, entry is updated whatever its
value was before).

One hack: Both COMPAT_MACH and COMPAT_DARWIN are willing to run Mach-O
binaries. COMPAT_MACH fails for dynamic binaries because it cannot find
the interpreter in /emul/mach. For static binaires, it will accept them
(and for Darwin static binaries, this will cause a failure). Until we
rite a test for matchinf Darwin static binaries, just swap the order of
COMPAT_MACH and COMPAT_DARWIN in the exec switch so that COMPAT_DARWIN
is tried first (this will have the advantage of speeding up program
startup). EXECSW_PRIO_{FIRST_LAST} does not seem to work...
2003-10-19 07:52:22 +00:00
scw
175f717bf5 Be more careful about validating the user-specified geometry, otherwise
it's too easy to specify a geometry which will cause a divide by zero
elsewhere in the disklabel code.
2003-10-19 07:41:19 +00:00
christos
87b62b5af0 KNF:
- ansify
- no breaks after returns
- statics where needed
- no exit after errx
2003-10-19 07:34:38 +00:00
christos
52215a07e7 add rl_catch_signals 2003-10-19 06:28:35 +00:00
lukem
e08f429064 Add definitions for NetBSD versions:
1.4.1  1.4.2  1.5.1  1.5.2  1.5.3  1.6.1  1.6.2  2.0
2003-10-19 06:20:20 +00:00
lukem
8233be784c support MAKEVERBOSE 2003-10-19 06:12:07 +00:00
lukem
a414e34de5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 06:11:38 +00:00
lukem
b606e4ebf0 support MAKEVERBOSE 2003-10-19 06:10:41 +00:00
lukem
6672bff7fc rework how cfparse.y is generated 2003-10-19 06:09:17 +00:00
lukem
eae82b3d06 #define _PATH_BIN_RCMD in common_source/pathnames.h rather than using
wacky Makefile rules to compile rcmd.c
2003-10-19 05:51:44 +00:00
lukem
8545f3b03c Switch back to using YHEADER instead of custom yacc rules.
We use build.sh to support hosting on older NetBSD releases...
2003-10-19 05:30:30 +00:00
lukem
d931e2e741 support MAKEVERBOSE 2003-10-19 05:24:53 +00:00
lukem
4afe0be65c support MAKEVERBOSE for .txi.info .texi.info .texinfo.info 2003-10-19 04:54:53 +00:00
lukem
ddff99b7f4 rework to use the newer _MKMSGCREATE (et al) macros 2003-10-19 04:45:01 +00:00
lukem
c545cc169d support MAKEVERBOSE 2003-10-19 04:30:30 +00:00
lukem
a694177df5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 04:25:00 +00:00
lukem
87755a0463 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 04:05:01 +00:00
lukem
bef75a2e23 add _MKMSGINSTALL.m 2003-10-19 03:53:33 +00:00
matt
daa035e3e8 Teach build.sh about the ibmnws port. 2003-10-19 03:37:36 +00:00
matt
a9baced49d NWDO for ibmnws. 2003-10-19 03:37:16 +00:00
matt
14573b928a Add ibmnws specific files. (XXX someone should checkout MAKEDEV and make
it complies with how MAKEDEV is done now).
2003-10-19 03:36:45 +00:00
matt
10c0014b94 Add host tool version of ncdcs 2003-10-19 03:35:30 +00:00
matt
8d6789fc05 Add ncdcs utility (for ibmnws port). Calculates and writes the NCD checksum
used in kernel files.  Only built for ibmnws port.
2003-10-19 03:34:59 +00:00
matt
3dc55c1216 Add IBM Network Station 1000 port. From John Gordon and updated by me. 2003-10-19 03:33:49 +00:00
matt
3642aa4ccc Add PCN_NO_PROM flag. (read the macaddr from the chip assuming the "BIOS"
has properly written it).  From John Gordon.
2003-10-19 03:32:25 +00:00
lukem
d2142fb492 fix _MKSHECHO for MAKEVERBOSE=1 2003-10-19 03:21:18 +00:00
matt
ba34947f80 Add powerpc-specific isa and isadma machdep code. (Merge common code from
prep and sandpoint and ...)
2003-10-19 03:19:32 +00:00
lukem
4ccb31e74a Provide _MKMSG{BUILD,CREATE,COMPILE,FORMAT,INSTALL,LINK,LEX,YACC} to display
${_MKMSG} "  ...  {$.TARGET}"  and use appropriately.

Provide _MKMSGLINK.m to provide "link" message by itself (without ${.TARGET})

Replace _MKSHCMD with _MKSHECHO
2003-10-19 03:00:55 +00:00
uwe
0ceff4469c Mention j6x0tp(4). 2003-10-19 02:41:01 +00:00
uwe
437e63c180 __KERNEL_RCSID. 2003-10-19 02:22:56 +00:00
uwe
738a5e234e Config glue for j6x0tp(4). 2003-10-19 02:21:40 +00:00
uwe
e4bd58b011 Driver for Jornada 680 touch screen. 2003-10-19 02:20:25 +00:00
lukem
e14dfde075 Add rules for .s .s.o .S .S.o to support per-source COPTS,CPUFLAGS,CPPFLAGS
and MAKEVERBOSE
2003-10-19 02:11:29 +00:00
lukem
1e840c4d40 Ensure that $TERM is set in the real environment before calling el_init(3)
when executing "set -o (emacs|vi)".   Fixes [bin/23175] from me.
2003-10-19 01:55:05 +00:00
wiz
bbbbcbe44f Fix typos in comments. From Jared Yanovich via jmc@openbsd. 2003-10-19 01:52:45 +00:00
simonb
9833c17169 Remove some unreachable code with the comment "To shut up compiler"
that neither gcc 2.95.3 or 3.3.1 complains about if that bit of code
is missing...
2003-10-19 01:49:03 +00:00
simonb
59fb31d7cc Remove unreachable break after return and goto statements. 2003-10-19 01:44:48 +00:00
wiz
2af5f10bcc Bump date for previous. 2003-10-19 01:26:11 +00:00
lukem
8564ba3934 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 01:23:27 +00:00
lukem
6cf0d872cd support MAKEVERBOSE 2003-10-19 01:19:10 +00:00
lukem
2b8c8463a6 Support MAKEVERBOSE. (Some host tools still generate verbose runtime messages) 2003-10-19 01:01:44 +00:00
lukem
a9d371700c improve MAKEVERBOSE message for HOST_LINKed tools 2003-10-19 00:43:02 +00:00
lukem
29e7d09b65 Support MAKEVERBOSE (XXX: mksyntax is noisy when MAKEVERBOSE=0).
Use DPSRCS appropriately.
2003-10-19 00:35:26 +00:00
lukem
046b9ab451 support MAKEVERBOSE 2003-10-19 00:14:16 +00:00
christos
6e782349a3 change allocation policy in el_push to allocate the string itself.
fix issues with strdup.
2003-10-18 23:48:42 +00:00
matt
e1c37edb37 Skip build of {postfix,sendmail} if MK{POSTFIX,SENDMAIL} == no, respectively.
(XXX NO_SENDMAIL= must eventually).
2003-10-18 23:46:26 +00:00
itohy
29f0f3babf Change the location of BSD disklabel not to overlap with LIF header.
LABELSECTOR:  0 -> 1
	LABELOFFSET: 64 -> 0

per discussion on NetBSD mailing lists: port-hp700 and tech-kern.
2003-10-18 23:45:30 +00:00
matt
8df2ba29a1 Skip build of {binutils,cvs,gcc compilers,gdb} if
MK{BINUTILS,CVS,GCCCMDS,GDB} == no, respectively
2003-10-18 23:44:46 +00:00
matt
b746f8a878 Allow UUCP to not be build when MKUUCP=no 2003-10-18 23:42:31 +00:00