Commit Graph

2971 Commits

Author SHA1 Message Date
wiz 329cec7b7a Use NetBSD's getopt{,_long}. 2000-11-01 15:27:46 +00:00
wiz fd7b7ed13e Use NetBSD's getopt{,_long}. 2000-11-01 14:34:14 +00:00
wiz 58d067b119 Use NetBSD's getopt{,_long}. 2000-11-01 13:14:46 +00:00
itojun 6c59e69747 use /usr/lib/libintl.a. make it possible to build it with NLS-less. 2000-11-01 02:06:24 +00:00
itojun 0c0c0c829a s/sendmail/gettext/ 2000-10-31 15:00:07 +00:00
itojun 9b92297bee strip off RCS keywords 2000-10-31 14:58:00 +00:00
itojun a59f02771a GNU gettext 0.10.35 2000-10-31 14:45:40 +00:00
itojun 9ae3f98360 remove a line for debugging 2000-10-31 14:43:52 +00:00
itojun 8fcca1eaa3 do not compile libintl on our own. we now have /usr/lib/libintl. 2000-10-31 10:50:46 +00:00
mrg 77b1d2266f #include <elfos.h> only for i386 compiler for now -- it causes lossage
in other ports and is required only there (for now).
2000-10-29 12:21:14 +00:00
mrg 87b5c188d9 -msoft-quad-flat on sparc64. 2000-10-28 16:01:25 +00:00
itojun 14a62d1878 improve MKNLS=no/yes. build no NLS-related source code on MKNOS=no. 2000-10-28 06:18:07 +00:00
mycroft 07a449d9bf Swipe changes from binutils 2.10 to properly create multiple relocatons when
a symbol appears in multiple GOTs.  Fixes Mozilla problems in libgklayout.
2000-10-28 04:05:24 +00:00
mycroft fe609bcff4 Update some DEBUG printf() formats. 2000-10-27 01:05:30 +00:00
wiz 6c22552f42 add cvs2netbsd import script 2000-10-26 16:30:38 +00:00
wiz 59baa1d019 Match cvs-1.11. 2000-10-26 15:32:56 +00:00
wiz 00584ddc5c Remove some obsolete stuff (don't know why it wasn't deleted automatically). 2000-10-26 15:32:19 +00:00
wiz 2b12e01026 resolve conflicts from cvs-1.11 import 2000-10-26 14:59:06 +00:00
wiz 488e9b4921 Import of cvs-1.11 from ftp.cvshome.org minus some unneeded files. 2000-10-26 13:57:57 +00:00
wiz b57ce6cde4 Import of cvs-1.11 from ftp.cvshome.org minus some unneeded files. 2000-10-26 13:47:54 +00:00
mrg 9b051e142a restore the contents of this file so that the g77 texi builds. 2000-10-26 03:59:28 +00:00
mrg 613777800f don't build binutils 2.9.1 for sparc64 -- it causes issues. 2000-10-25 13:00:59 +00:00
mycroft fa3aaf6d8b Modify LIB_SPEC and LIBGCC_SPEC so that -lc and -lgcc are not included when
-shared or -symbolic (as on other platforms).  Also, override LIBGCC_SPEC for
all platforms (where it would incorrectly include the .a file explicitly on
some).
This should fix Mozilla on macppc.
2000-10-23 13:19:35 +00:00
simonb 8d8f957b42 Use MKDOC to check for building in the doc subdirectory, not MKSHARE.
If MKSHARE=no, <bsd.own.mk> will set MKDOC=no automatically.
2000-10-23 04:38:38 +00:00
bjh21 2307f87106 We only need one version of cons_fix_new_arm() -- merge them. 2000-10-22 11:44:56 +00:00
wiz d524d28d78 Reserve extra byte for terminating '\0' for sscanf buffers. From OpenBSD. 2000-10-21 16:59:39 +00:00
wiz 5d76b1c7a2 Don't compile LOCALID into the client, make it a repository specific
variable. The LOCALID is now set in the repository's CVSROOT/config file,
with a line
	tag=something
(in our case 'tag=NetBSD').
Taken from OpenBSD.
2000-10-21 12:40:23 +00:00
sommerfeld dc67ff641f When setting warn_format to a nonzero value, always use
warn_format = MAX(warn_format, N);
This prevents -Wnetbsd-format-audit -Wall from turning off stricter checks.
2000-10-18 13:57:49 +00:00
itojun 3e7ebe19d9 sync with sendmail 8.11.1.
added file: /usr/share/sendmail/ostype/solaris8.m4
2000-10-10 11:17:29 +00:00
itojun e72ddc0839 sendmail 8.11.1 2000-10-10 10:57:49 +00:00
itojun a6ede27799 (unexploitable) integer range check mistake in "sendmail -bt".
http://www.securityfocus.com/templates/archive.pike?threads=1&start=2000-10-08&mid=138539&fromthread=1&list=1&end=2000-10-14&
2000-10-10 09:45:50 +00:00
sommerfeld ac07e85117 Enhanced format checking, mk II:
New option -Wno-format-extra-args : suppress warning for:
	printf("foo", bar);
since that isn't interesting from the POV of this audit, and it's more
common than most in some code.

also, do format args checking for
	printf(Aflag ? "format 1: %s" : "format 2: %s", bar);
albeit in a half-hearted way for now (just check the "then" case)
2000-10-05 13:08:57 +00:00
sommerfeld ad8aa5a492 Enhanced format string checking.
If -Wformat is enabled, try harder to chase down compile-time constant
format strings.. capable of catching things like:
	const char foo[]="%s %d";
	printf(foo, 1, "2");

If the new option -Wnetbsd-format-audit (no, I don't like the name,
either) is enabled, complain about non-constant format strings we
can't verify.  In particular, for *v*printf-like functions (i.e.,
non-variadic functions which are passed a va_list), insist that the
format string come from a parameter declared as a format string
argument, so that functions which should be declared as printflike are
caught at compile time.
2000-10-04 19:21:28 +00:00
jeffs d00dba6879 Supply fetch_kcore_registers() implementation for NetBSD mips. 2000-10-03 22:48:54 +00:00
itojun 28d5cf3074 IPv6 support for pserver.
TODO: it conflicts with kerbeors support, however, it seems that it is
not possible to build with the current kerberos support.
i just put some #error in it.
2000-09-30 02:44:19 +00:00
eeh b555818569 Add _rtld_debug_state to the list of symbols where GDB may stop the
dynamic linker.
2000-09-25 17:10:28 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
mrg 4da440af9a make this work for i386-netbsdelf. most of this work is based on patches
from thorpej that includes a rewrite of the config/i386/netbsd-elf.h file.
2000-09-14 03:56:04 +00:00
msaitoh 9308d053b8 gen_call() takes only two arguments (from egcs-current) 2000-09-13 19:51:22 +00:00
soren 3c49111cd5 Add admin category. 2000-09-05 15:20:36 +00:00
enami ad17819c4c Ditto with cvsbug; don't attempt to create .depend. 2000-09-05 05:15:11 +00:00
enami 69145e7ba0 Don't attempt to create .depend really. 2000-09-05 05:04:00 +00:00
christos c1040a0bf8 Don't try to strip shell scripts. 2000-09-04 22:35:01 +00:00
christos 443e496d1c Add another automatically generated file. 2000-09-04 22:26:43 +00:00
christos 330493055a more cleanup:
remove windows/NT makefiles
	remove .cvsignore files
2000-09-04 22:25:24 +00:00
christos 5ffb3bd05d this got ignored in the import somehow. 2000-09-04 22:19:26 +00:00
christos f3626f4e19 fix the Makefiles to work with ${OBJDIR} 2000-09-04 22:14:31 +00:00
christos 82dfee0b88 Build cvs 2000-09-04 22:12:22 +00:00
christos 1aedcfb5d3 Apply patches from the cvs-current package. 2000-09-04 22:12:05 +00:00
christos 5c984f3d99 Initial import of cvs-1.10.8 from ftp.cvshome.org minus the os support. 2000-09-04 21:47:02 +00:00
christos 7803a4e4ef Add reach-over Makefiles for cvs 2000-09-04 21:46:56 +00:00
christos 16cc52a1aa Initial import of cvs-1.10.8 from ftp.cvshome.org minus the os support. 2000-09-04 21:40:07 +00:00
mrg 0dc7000eaa - define SPARC_BI_ARCH
- move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to -D__sparc64__
- copy and modify many SPARC_BI_ARCH `specs' from <sparc/sol2-sld-64.h>.
  these currently look for 32 bit things in /emul/netbsd32, but this is
  temporary


with these changes, i can succesfully build working 32 bit binaries on
a 64 bit system, as long as libgcc, *crt*.o and necessary libraries
exist under /emul/netbsd32.
2000-08-31 14:14:32 +00:00
mrg e486a9a452 - move CPP_PREDEFINES to netbsd-elf-common.h
- define CPP_SUBTARGET_SPEC to "-D__sparc", preserving old CPP_PREDEFINES
  semantics.
2000-08-31 14:10:09 +00:00
mrg 1148c9223a - add missing %(asm_arch) to ASM_SPEC
- merge <netbsd.h> & <sparc/sparc.h> CPP_SPEC's.
- move CPP_PREDEFINES here from the 32bit/64bit configurations.
2000-08-31 14:08:02 +00:00
hubertf 2be9f0470d Fix the path to netbsd-proto-IPv4only.mc in the installed
netbsd-proto.mc file. Suggested by Frederick Bruckman <fb@enteract.com>
2000-08-26 04:24:58 +00:00
matt 714ca97978 fix gdb so it read core dumps file correctly on the vax. 2000-08-25 03:29:16 +00:00
hubertf 273a01201a Enable some commonly used features: genericstable, mailertable, virtusertable,
domaintable, access_db and redirect.
2000-08-25 02:54:29 +00:00
hubertf 18e5216ace add that netbsd-proto.cf now depends on netbsd-proto-IPv4only.mc 2000-08-25 02:47:37 +00:00
hubertf 72640eaccd Rewrite: include netbsd-proto-IPv4only.mc, and enable handling of IPv6. 2000-08-25 02:36:23 +00:00
enami 293609abba Allow to override CFDIR from command line. 2000-08-23 10:43:06 +00:00
tv 09c7751d41 Put vax in the "nbsd" emulation. 2000-08-22 17:41:24 +00:00
tv 35db5d3725 Re-add TARGET_SYMBOL_FIELDS until this is redone correctly using
TC_SYMFIELD_TYPE.
2000-08-22 17:39:43 +00:00
tsubai 84ecfb5e88 Call mcount for profiling. 2000-08-22 11:24:41 +00:00
msaitoh 8ca9f7f132 fix one of the two fixunsdfsi with fixunssfsi 2000-08-21 14:05:25 +00:00
itojun 97c5ff842d NetBSD has setusercontext() since Feb 2000.
detect it by "1.4Q or more recent" (are there better ways? - it is
not about kernel API...)
2000-08-20 19:37:45 +00:00
tv b3e56e61e9 Add some compatibility vectors to allow objdump'ing and objcopy'ing of
formats used by COMPAT_ emulations.
2000-08-20 18:01:51 +00:00
tv 0ed3ab1dff Add vaxnetbsd_vec. 2000-08-20 17:58:17 +00:00
tv 83b3d9e356 Add netbsdaout.lo to i386netbsd_vec. 2000-08-18 18:28:13 +00:00
tv 7869cbfce2 plt_offset->plt.offset fix 2000-08-18 18:21:29 +00:00
tv 64dfdf4c5c Add definition for mipselnetbsd_vec. 2000-08-18 18:20:42 +00:00
eeh 99150af770 Fix `call'. This can panic the kernel due to an unhandled FPU exception. 2000-08-18 18:14:09 +00:00
tv f5781c1805 Add some more targ_extra_emuls. 2000-08-18 17:40:34 +00:00
tv 9ef2ad5184 Define SET_ARCH_MACH only if not already set. 2000-08-18 16:54:23 +00:00
tv b30f55f2f3 Add other-endian mips emulations and sparc32 on sparc64 for target_extra_emuls. 2000-08-18 16:50:09 +00:00
tv 0a7caaf76f Revert changes caused by running autoconf in this directory; leave only the
NetBSD additions (makes future import merges much easier).
2000-08-18 16:18:45 +00:00
tv 4a00eaa0a3 Fix const warnings surrounding bfd_target_vector. 2000-08-18 15:58:57 +00:00
mrg 2d76e7037d in define_split, only check "reload_completed", removing the bogus 64-bit
and FPU checks that caused compile failures for no good reason.
from: <root@ihack.net>
2000-08-18 15:45:28 +00:00
tv a516c80d78 Add a hack to force HOST_WIDE_INT to "long long" if the target is alpha or
sparc64 and the host is using gcc.
2000-08-18 12:56:30 +00:00
mrg 80e98bec22 pull across a patch from gcc-current that fixes ~90% of the sparc64 compile
problems:

        * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
2000-08-17 04:01:30 +00:00
msaitoh e2509d0d3e add _fixunsdfsi.o and _fixunsdfsi.o when MACHINE_ARCH= sh3 or arm26 2000-08-17 00:28:07 +00:00
itojun 229f25d14b install m4 file for darwin (added in 8.10.x -> 8.11.0) 2000-08-13 16:22:53 +00:00
mrg 9ee127a42c back out previous, and do it properly:
copy the ASM_OUTPUT_CONSTRUCTOR and ASM_OUTPUT_DESTRUCTOR defines from
sol2-sld-64.h.
2000-08-11 03:31:41 +00:00
mrg 239844c32c if TARGET_CPU_DEFAULT is TARGET_CPU_v9 or TARGET_CPU_ultrasparc, define
ASM_LONG to be ".xword".  this makes C++ global ctors and dtors work
on the sparc64.  noted by mycroft.
2000-08-11 03:13:32 +00:00
tv 3f6d813859 Merge change from gnu/dist/gcc/objc: don't put absolute relocs in ro-data
if compiling PIC, else RRS text relocs will be generated.
2000-08-10 21:06:50 +00:00
tv 6e4a918853 Merge changes from gnu/dist/ld. 2000-08-10 20:41:51 +00:00
tv cbef3ca9f3 Merge changes from gnu/dist/binutils. 2000-08-10 19:53:54 +00:00
tv 9af6ca142f Update to 2.10's definition of undefined_symbol(). 2000-08-10 19:33:02 +00:00
tv 2fe7204081 Recanonicalize ELF hosts (that were formerly a.out) uniformly:
ARCH-unknown-netbsdelfVERSION
ELF hosts that started that way are not changed.
2000-08-10 19:02:56 +00:00
tv 8b5fd52a02 This recursive build structure is now defunct. 2000-08-10 18:47:34 +00:00
tv 874ca5d37d Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:32 +00:00
tv d695e2940c This recursive build structure is now defunct. 2000-08-10 18:47:31 +00:00
tv 3a56a942e3 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:31 +00:00
tv 2307a371d0 This recursive build structure is now defunct. 2000-08-10 18:47:30 +00:00
tv d977b907c5 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:29 +00:00
tv 7e11855e83 This recursive build structure is now defunct. 2000-08-10 18:47:28 +00:00
tv 48e789cc92 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:28 +00:00
tv ffa84dd52b This recursive build structure is now defunct. 2000-08-10 18:47:27 +00:00
tv cc17a82660 Merge from (binutils-2.9.1 based) gnu/dist/gas. 2000-08-10 18:47:26 +00:00
tv 74a5c3583d This recursive build structure is now defunct. 2000-08-10 18:45:19 +00:00
tv 78bd242fd9 Merge changes from (binutils 2.9.1-based) gnu/dist/bfd. 2000-08-10 17:36:49 +00:00
tv fc02cabeaf Merge from src/gnu/dist. Add armv2 and mipseb, and eliminate old `netbsd386'
shorthand alias.
2000-08-10 15:46:35 +00:00
tv 3d81ad2517 This was never used at this gnu/dist level, so remove. 2000-08-10 15:03:00 +00:00
tv 78da8a8e6b More compatible yet: sysctl used to be in /usr/sbin, not /sbin, so add both
locations to $PATH before trying to run sysctl.
2000-08-10 14:57:22 +00:00
tv 8b87324ac7 Merge the MACHINE_ARCH logic from gnu/dist/config.guess, but do this in
a backwards-compatible way (prefer uname -p, but fall back to
/sbin/sysctl -n hw.machine_arch).
2000-08-10 14:54:34 +00:00
tv 339b9c00a1 Merge from gnu/dist/include. 2000-08-10 13:52:05 +00:00
mrg b6328d2c74 redefine LINK_SPEC properly. 2000-08-08 14:29:17 +00:00
mrg 491b443ab4 #define NETBSD_ELF 2000-08-08 14:28:13 +00:00
ws 3fffb655ae Add modification remark as required by the GPL. 2000-08-07 15:20:36 +00:00
mrg 2c8d59bf4e enable gdb on sparc64 2000-08-07 03:07:24 +00:00
veego ffeeef2048 Move the include of <bsd.prog.mk> to the old place to build the manpage
correctly and also move cexp.c after the include to get the ${DIST} path.
2000-08-06 19:49:53 +00:00
veego d7b2c1f83d Fix the last commit. We need to use the parts with ${DIST} after <bsd.prog.mk>
because that includes the ../Makefile.inc.
2000-08-06 19:41:18 +00:00
mrg f09f5d208b fix part of previous: do install /usr/bin/cpp on sparc64. 2000-08-06 16:37:57 +00:00
mrg fa388a99bb don't build egcs 1.1.2 on sparc64; it is broken and useless 2000-08-06 15:26:55 +00:00
jhawk 4abc92e8ad Pullover wording fix for "-e entry" from gnu/dist/toolchain.
Fix for PR 10735, fix suggested by Thomas Klausner <wiz@netbsd.org>.
2000-08-06 01:48:59 +00:00
eeh 19b86fa1f6 Make gmon work a bit on sparcv9 machines. 2000-08-03 21:42:01 +00:00
msaitoh 71380e0ad2 fix typo 2000-08-03 05:04:02 +00:00
pooka 6ee9631c26 Add missing $ from {MACHINE_ARCH} 2000-08-02 22:25:13 +00:00
eeh c018ba7889 Add sparc64-*-netbsd support. 2000-08-02 21:00:31 +00:00
msaitoh 27f9ec8b7e don't include solib.h if the system is sh3&&(!ELF) 2000-08-02 17:46:20 +00:00
msaitoh 559af6df3c fix two bugs:
- cc1 dumps core when "-pg" is used
	- gas produces a syntax error
2000-08-02 12:07:12 +00:00
eeh 2da9fd746e Clear out all of %g0. 2000-07-29 03:16:22 +00:00
eeh 1d25b50536 Control registers on sparc v9 start with PC_REGNUM not Y_REGNUM since
%pc and %npc are stored in %tpc and %tnpc rather than %l1 and %l2.
2000-07-28 17:49:52 +00:00
tv 45a5f2e009 Remove conflicting definition for "make_temp_file" now found in libiberty. 2000-07-28 01:10:32 +00:00
tv 12b2c44a51 Use the libiberty from binutils; it is much newer and required by binutils. 2000-07-28 01:09:12 +00:00
mrg 9f3da9fc1b add sparc64-netbsd & sparc-netbsdelf support (from me via binutils-current) 2000-07-26 16:35:12 +00:00
mrg e9a5e01d04 support all sparc targets (from me via binutils-current) 2000-07-26 16:32:57 +00:00
mrg e1575802a6 add sparc64-netbsd support (from me via binutils-current) 2000-07-26 16:30:56 +00:00
mrg 1600ba0055 - pull across the new gcc/config/netbsd.h
- pull across the sparc-netbsdelf and sparc64-netbsd targets
2000-07-26 16:28:04 +00:00
tv cb6fba8c4d A README file describing the `toolchain' directory import procedure, and
future home for `How to build a cross-compiler'.
2000-07-26 00:40:02 +00:00
tv 3129068ae5 Import of gdb 5.0 into new gnu/dist/toolchain layout. 2000-07-26 00:32:27 +00:00
tv 1de46e6cd7 Import of binutils 2.10 into new gnu/dist/toolchain layout. 2000-07-26 00:22:40 +00:00
tv dc36174cbd Import of gcc 2.95.2 into new gnu/dist/toolchain layout. 2000-07-26 00:17:09 +00:00
mycroft a7bc813f46 Pull in a change critical to making the sparc64 compile:
Redefine ASM_OUTPUT_DWARF_ADDR_CONST() using ASM_OUTPUT_DWARF2_ADDR_CONST(), so
that the latter can take a string.
2000-07-24 02:30:40 +00:00
mycroft 9b2c5720e8 Make the ligature_node operators compile with GCC 2.95.2.
Thanks to Assar for assistance.
2000-07-24 02:24:43 +00:00
itojun c333e7610b sync with 8.11.0. (relatively large amount of changes are due to
rcs-id rewrites)
2000-07-23 14:24:48 +00:00
itojun 2ffe59611d sendmail 8.11.0 2000-07-23 14:07:40 +00:00
cgd 988a36fab4 use FILES* rather than an explicit afterinstall target, so that
UNPRIVILEGED is handled correctly w/o local hacks.
2000-07-22 03:30:40 +00:00
eeh 929ff11b28 Make sense of registers from coredumps. 2000-07-09 00:16:48 +00:00
eeh 49dd8cbac1 solib.o is required for linking even on MKPIC="no". 2000-07-08 19:18:19 +00:00
cgd fc10dadbb6 use '${MAKE}', not 'make'. 2000-07-07 04:26:57 +00:00
ad 97053d8364 Add a `-y' option which filters archives through bzip2(1). 2000-07-05 11:57:57 +00:00
enami 7316fa55ad Pass ${INSTPRIV} to ${INSTALL}. 2000-07-05 03:30:07 +00:00
enami b8df94bd38 - Simplify modifiers.
- Wrap long line.
2000-07-05 03:11:42 +00:00
thorpej 2600f5f931 Separate out tar and cpio. 2000-07-04 17:12:00 +00:00
itojun a7183f656a v4 only sendmail.cf source 2000-07-04 12:21:57 +00:00
itojun 0bfeec5234 sync sendmail default configuration file with GENERIC kernel setting.
was: sendmail-IPv6.cf(v4/v6) + sendmail.cf(v4)
now: sendmail-IPv4only.cf(v4) + sendmail.cf(v4/v6)

do we need etc/obsolete.mi?
2000-07-04 12:21:02 +00:00
matt 29cea83095 When printing a longword displacement, grab the displacement as a
long (instead of a short).  That way the printed addresses will be
correct.
2000-07-04 02:10:37 +00:00
sommerfeld 85788f586b Pass -m21264 to assembler for -mcpu=21264a or -mcpu=ev67 2000-07-03 12:24:10 +00:00
matt 3e50ef53a3 Add <stdlib.h> 2000-07-03 05:05:43 +00:00
matt cb3d52d53a Define STDC_HEADERS so it uses mem* instead b* routines. 2000-07-03 05:05:25 +00:00
matt ecd1681660 incease the biggest alignment to 8 bytes 2000-07-03 02:07:15 +00:00
matt 5335c7ffea fix serious recog bug. Basically addl2 was never used since the rtx_equal_p
was using the wrong operands.
2000-07-03 01:09:52 +00:00
bjh21 9fe4c9c75f Add arm26 support to GCC. This is only very slightly tested at present. 2000-07-02 12:31:21 +00:00
kleink 5f8a717928 Change tot_written from u_quad_t to unsigned long long for portability's
sake.
2000-06-26 08:25:34 +00:00
erh 34eebc9c0f Copy description of -rpath masquerading as -R from the info docs. 2000-06-24 19:58:21 +00:00
soren 5f5263355b Add sgimips. 2000-06-24 11:12:55 +00:00
fvdl 12be02ba6c Removed; it's now integrated in sys/conf/files 2000-06-22 20:35:14 +00:00
fvdl 35bcb23114 This file was moved to sys/ufs/ffs. 2000-06-22 16:09:33 +00:00
fvdl 82bae99d9f Update copyright notice. Prepare to move into the main tree. 2000-06-22 15:21:04 +00:00
kristerw 4c7e15910e Disable "fancy math" the correct way (it's TARGET_DEFAULT that is used
for that kind of flags -- the TARGET_CPU_DEFAULT is used to choose the
cpu type to generate code for...)

Fixes PR 10357.
2000-06-19 19:48:37 +00:00
itojun e7ad3c6044 sync with sendmail 8.11.0beta3 about default address family (= AF_INET)
handling.
2000-06-18 00:02:50 +00:00
tsutsui 81712cf5c7 Build and install as.info in gas.new on all ports. 2000-06-17 17:59:28 +00:00
itojun 6bbde2ae91 resolve conflicts. (mainly due to $Id$ mistake in past import) 2000-06-13 17:18:26 +00:00
itojun a297ccd8ed sendmail/helpfile needs edit by hand. 2000-06-13 17:13:17 +00:00
itojun e6b5cff2ac sendmail 8.10.2 2000-06-13 16:54:40 +00:00
veego 715cab4ce5 'postfix check' wants a lot of files to be owned by root, so add a
BINOWN=root here.
2000-06-12 12:17:26 +00:00
mycroft 3868d5e04c Make sure the dynsym section and the reserved bits in the RPDR are fully
initialized.
2000-06-11 23:47:56 +00:00
veego 64888023cf We need to include <bsd.files.mk> to install the FILES. 2000-06-11 13:07:49 +00:00
mycroft 27ceeaf3a6 NUL-terminate warning strings correctly. 2000-06-10 15:22:51 +00:00
kristerw 49fd06e241 Backout the previous since it isn't necessary. This version of gcc
already uses longjmp for exceptions.
2000-06-09 19:11:43 +00:00
enami f838117776 Backout the previous since it isn't necessary. This version of gcc
already uses longjmp for exceptions for alpha due to the lack of
definition of INCOMING_RETURN_ADDR_RTX.
2000-06-09 08:16:01 +00:00
kristerw 3bf5c279b4 Use sjlj exceptions. 2000-06-08 20:23:47 +00:00
tsubai 473864f976 Read fp regs from core file. 2000-06-04 12:06:43 +00:00
tsubai bcb24bdd25 Use PT_{GET,SET}FPREGS. 2000-06-04 09:55:53 +00:00
matt 6a7eb13fc4 Since gdb seems to be useful, enable gdb on powerpc. 2000-06-03 06:00:04 +00:00
thorpej a17a076fd9 There's no need to use wakeup_one(), here:
- On a uniprocessor, wakeup()'s thundering herd is ordered by priority
  implicitly.
- The locking protocol here needs to be shot in the head and redone
  anyhow, and when that is done, this can be converted to use
  condition variables.
2000-06-02 03:26:35 +00:00
mycroft 7eb6966af4 Make the end of setup_directory_change() the same as setup_directory_add(),
for consistency.
2000-06-01 19:11:47 +00:00
perry e646bf24a7 Add sample-filter.cf 2000-05-31 17:02:55 +00:00
perry 4fd5f44605 import patchlevel 8. bugfixes, plus adds the ability to filter on
regular expressions applied to message bodies.
2000-05-31 15:18:05 +00:00
mycroft 592ea8de54 Fix locking order in softdep_setup_blkmapdep() that was broken in 1.5. This
could cause strange locking-related panics if you were unlucky.
2000-05-31 02:06:57 +00:00
mycroft e5ca8f815d Set IN_MODIFIED for the synchronous directory inode writes in the MKDIR_PARENT
case, too.
2000-05-31 00:16:16 +00:00
mycroft a414423335 Clean up the call usage of VOP_UPDATE(). 2000-05-30 21:57:22 +00:00
mycroft bb2d2b3230 In softdep_sync_metadata():
* If we get to the bottom and there is still an inodedep, set IN_MODIFIED so
  that ffs_update() will force the inode block out and we can free up all the
  dependencies.
2000-05-30 17:26:08 +00:00
matt 9816935f22 Remove RELOC_SYMBOLICS_THROUGH_JMPSLOT since it isn't required for VAX (and
that's why I added it).
2000-05-28 01:33:58 +00:00
thorpej 267fbe6213 sleep() -> tsleep() 2000-05-27 06:51:30 +00:00
msaitoh d65ffb0be7 sync movsi_i* from egcs-current.
Now the cc1 doesn't say "fixed or forbidden register 18 (t) was
spilled for class T_REGS" anymore.
2000-05-22 08:28:04 +00:00
wiz 8cf2005a5c Formatting glitches. 2000-05-21 18:32:47 +00:00
kristerw 874243e5ae Use the netbsdaout template. 2000-05-20 20:32:55 +00:00
kristerw f9d920a4e3 Added netbsdaout.c for i386 2000-05-20 20:30:48 +00:00
kristerw ed8570c975 Added a couple of hooks used during dynamic links. 2000-05-20 20:28:16 +00:00
kristerw 9eccb6b54e This file will contain the MI part of netbsd a.out shared lib support.
For now it is just the hooks needed for ld.
2000-05-20 20:04:12 +00:00
kristerw 4e129b8db0 Moved inclusion of netbsd.h and the _get_section_contents #define to
aoutnbsd.h
2000-05-20 17:56:54 +00:00
msaitoh e55cd9cb85 Sync *{mul,div}*i3 with egcs-current.
Now we can compile mount_mfs (newfs) with -O2!
2000-05-20 01:52:52 +00:00
is 8a79eef99f Add clobber of the condition code register. Patch by Richard Earnshaw.
This fixes PR 9613.
2000-05-16 22:04:12 +00:00
veego 5169345855 The last commit needs an #include <libgen.h> to get the prototype of
basename(3). Thanks to Thomas Klausner for pointing that out.
2000-05-14 14:07:48 +00:00
tsutsui 9dc8e8109b Add port-arm26 and port-cobalt. 2000-05-14 13:10:57 +00:00
thorpej ca70dbd353 vstream_parse_args() doesn't return a VSTREAM *, no matter what it's
declaration says.
2000-05-14 02:31:02 +00:00
thorpej f5a2f2d1fc String constants are const. 2000-05-14 02:29:30 +00:00
thorpej bcb03e10af String constants are const. 2000-05-14 01:55:28 +00:00
thorpej df29b70d0e Avoid shadowing a local in users of binhash_link(). 2000-05-14 01:55:05 +00:00
thorpej 47eb43337f NetBSD 1.4 and later has basename(3). 2000-05-14 01:47:13 +00:00
msaitoh 783aaff7a9 install id.info 2000-05-13 19:50:51 +00:00
perry b7b463a78a import 19991231-pl07 2000-05-13 14:50:45 +00:00
christos 55438ab2fb add proper dependencies for generated files. 2000-05-12 18:05:44 +00:00
deberg 79fea77314 install as.info 2000-05-11 00:56:48 +00:00
deberg 62e3aaa76d use the provided "include everything" configuration to build as.info 2000-05-11 00:56:28 +00:00
thorpej 11e15dda8b Oops, botched test for GCC 2.9. 2000-05-10 22:39:29 +00:00
msaitoh a797322f08 supports single step! 2000-05-10 20:28:33 +00:00
thorpej 2b09e161ae Don't build compiler-related libraries if using GCC 2.9. 2000-05-09 06:23:40 +00:00
itojun 10e25f6012 make default sendmail.cf IPv4-only again.
roll sendmail-IPv6.cf, which does IPv4/v6.
2000-05-08 00:37:53 +00:00
itojun bcf38d6889 determine path to /etc(/mail)?/aliases by using __NetBSD_Version__.
the patch will be sent back to wietse.
From: matthew
2000-05-06 16:59:38 +00:00
itojun f6b9e3869d BINMODE=4555. PR 10053. 2000-05-06 15:33:25 +00:00
itojun adeb485292 catch up with sendmail 8.10 "aliases" pathname.
(postfix tries to be very compatible to sendmail,
so this is the right thing to do I believe)
2000-05-05 18:17:43 +00:00
kristerw 5f9693dcf0 Added some prototypes. 2000-05-04 20:34:14 +00:00
kristerw f338ff276c Use the new backend. 2000-05-04 20:27:16 +00:00
kristerw f1f5e5e7d8 Do corresponding changes that have been done to aoutx.h, but in a more
correct way.
2000-05-04 20:11:38 +00:00
kristerw 8db40d7513 This is going to be the new shared lib enabled a.out backend. It's
just a copy of the semi-generic a.out back-end (aoutx.h) for now.
2000-05-04 20:01:56 +00:00
kristerw d93b9acbec a.out shared lib support.
Note: it uses libbfd functionality that have not been committed yet.
2000-05-04 19:09:55 +00:00
thorpej 474f2f53cc Play casting tricks so that storing an int in the context pointer
doens't generate warnings on LP64 platforms (the usage is safe).
2000-05-04 06:10:53 +00:00
thorpej 926784fb90 Need <string.h> for strlen() prototype. 2000-05-04 06:08:56 +00:00
itojun ee5a20c368 sync better with 8.10.1. 2000-05-04 00:52:58 +00:00
itojun ebf1723e60 listen to IPv6 smtp socket. 2000-05-03 11:23:16 +00:00
itojun fcc5dc7faf correct a post 8.10.1 bug - stock 8.10.1 starts with listening IPv6 socket
by default, and crushes old configuration files when sendmail gets IPv6
connection.  by default listen to IPv4 socket only for backward compatibility.

turn on IPv6 support.
IPv6 socket can be enabled by the following sendmail.cf directive:
	O DaemonPortOptions=Family=inet,address=0.0.0.1
	O DaemonPortOptions=Family=inet6,address=::
2000-05-03 11:07:58 +00:00
itojun e0e97ce83d $Id$ -> Id 2000-05-03 11:02:48 +00:00
itojun 9ea68ca773 one more removal of $Id$. 2000-05-03 11:01:47 +00:00
itojun b723212dfd for gnu/dist/sendmail, prevent rewrite of $Id$, $Revision$ and $Date$.
supply sendmail2netbsd for future imports.
remove 8.9.x files.

populate sendmail 8.10.1 build tree under gnu/usr.sbin/sendmail.
2000-05-03 10:50:04 +00:00
itojun ec8cc6ac34 for gnu/dist/sendmail, prevent rewrite of $Id$, $Revision$ and $Date$.
supply sendmail2netbsd for future imports.
remove 8.9.x files.

populate sendmail 8.10.1 build tree under gnu/usr.sbin/sendmail.
2000-05-03 10:49:07 +00:00
itojun 081aaedb27 sendmail 8.10.1 2000-05-03 09:27:16 +00:00
shin 9d63410108 use TARGET_DEFAULT to generate PIC code.
closes PR 8574.
2000-05-03 08:23:12 +00:00
perry 414c661ebf fix comments 2000-05-02 13:16:56 +00:00
sommerfeld 658f83f55c /etc/postfix/postfix-script is a config file.
Only install it as part of "make distribution".
Change committed on behalf of perry.
2000-05-02 03:03:21 +00:00
perry d2fbbe8204 Install postfix-script into /etc/postfix for the /etc set. 2000-05-02 02:36:20 +00:00
perry 6cb0b138d9 install postfix-script into the example dir. 2000-05-02 02:33:05 +00:00
perry 0785281c8f Add postfix. The postfix-script location issue is still live, but
Wietse seems to think it has to stay in /etc, so it probably will.
2000-05-02 02:07:41 +00:00
shin 4c6474fd65 remove MIPS SOFTFLOAT (forgot to delete these lines). 2000-05-01 13:49:05 +00:00
simonb 23e350fea7 Remove trailing / off -I option. 2000-05-01 01:07:42 +00:00
perry a373836672 BINMODE should be 2555, not 2755. Pointed out by Soren. 2000-05-01 00:12:26 +00:00
perry d4da47afd6 Add distribution: target that cd's to postfix-etc and does make install.
This is mostly for the benefit of src/etc/Makefile
2000-04-30 21:43:45 +00:00
perry 6fb7e48183 initial commit of postfix reachover build. Still some nits left. 2000-04-30 21:21:50 +00:00
perry 9955f4e200 Initial import of raw distribution from Weitse Venema 2000-04-30 18:52:26 +00:00
itojun be16012135 remove files that should not be imported.
in Makefile, s/SRC/.ALLSRC/ to honor .PATH.
2000-04-28 06:19:58 +00:00
mrg a48a4a9a4a forward compatible -rpath-link takes an arguemnt; deal with it. 2000-04-26 02:49:04 +00:00
groo 23db01c321 Repeat after me: # is NOT a comment character in m4! :-)
Removed "OSTYPE" from comment section which causes a build failure after
the recent cf/cf/Makefile changes (c.f. misc/9919).  mmm, m4 voodoo.
2000-04-22 00:36:40 +00:00
tsubai 9b35e38101 Use te-nbsd.h. 2000-04-20 15:40:02 +00:00
tron c570c5c3cb Repload "cf.m4" in build rule for sendmail configurations as requested
by the documentation. Patch supplied by Andrew Brown in PR misc/9919.
2000-04-19 21:48:41 +00:00
eeh 5b2f0c023e Fix a binutils bug. Should be fixed in the next version. 2000-04-18 20:28:37 +00:00
nathanw 876c9748cd Just one backslash at the end of a line, please. 2000-04-14 17:58:40 +00:00
msaitoh 06f772e8af Don't compile kcore-nbsd.c when MACHINE_ARCH==sh3 2000-04-14 15:49:07 +00:00
msaitoh dee4bf7644 compile gdb when MACHINE_ARCH=sh3 2000-04-13 16:17:54 +00:00
msaitoh 9e71fff743 gdb for sh3 (broken) 2000-04-13 16:08:19 +00:00
erh 36d859ee23 Add snprintf.c to get quad_to_string(). 2000-04-05 10:29:37 +00:00
thorpej 36e829de63 Don't enable CIX on ev6/21264, but add an ev67/21264a switch that does
enable CIX.  Taken roughly from egcs-current.
2000-04-03 16:47:05 +00:00
msaitoh 52b61c34d2 set MKLINKLIB = "no" only if ${MKPIC} != "no" 2000-03-27 19:15:32 +00:00
msaitoh 60ad3dbe9a set DWARF_LINE_MIN_INSTR_LENGTH to 2 because the length of instruction
is fixed to 16bits.
2000-03-27 18:40:41 +00:00
ws f11fc50718 Make this at least compile on platforms that don't define BREAKPOINT.
Bug found by Soren S. Jorvang <soren@wheel.dk>
Maybe we should completely exclude this file from compilation
on these platforms?
2000-03-27 16:31:05 +00:00
mycroft 2ced2ffc7d Make this at least pretend to work when cross-compiling. 2000-03-26 09:54:28 +00:00
ws 0bb2093748 Add IPKDB support to GDB. 2000-03-23 20:44:40 +00:00
mycroft 9acd4e0870 Fix uninitialized uuconf_fcarrier and uuconf_fhardflow in the case where the
port or line name was specified as an option.  Fixes PR 9667.
2000-03-23 19:05:40 +00:00
enami 72a859fee9 Fix oversight in prevous commit to keep #if 0' outed code make sense. 2000-03-23 08:33:59 +00:00
enami c4845c62ca - Convert to use callout(9).
- Remove a redundant assignment.
2000-03-23 08:18:11 +00:00
elric 17b91be06f Changed ev5 L1 cache latency from 2 to 3, as suggested by Bill Dorsey. 2000-03-16 22:46:10 +00:00
tron 6c8a78d4d5 Install correct "README" describing the configuration of "sendmail". 2000-03-15 16:25:58 +00:00
is ede6f343b9 Fix file format example bug. Now the example is consistent with the
documentation a couple lines above, the source code and an experiment.
2000-03-13 20:41:50 +00:00
shin ac9896415f remove MIPS SOFTFLOAT. 2000-03-05 05:41:03 +00:00
enami bdc53e3b9f Unlink an existing symblic link when creating a symblic link. 2000-02-28 10:00:57 +00:00
tron c28b234bd7 Let "egcs" recognize strftime(3)'s "%F" conversion. Patch supplied by
NAKAJIMA Yoshihiro in PR bin/9487.
2000-02-27 22:41:22 +00:00
wiz b7ba1243db reformulate `-o' description, also add it to grep.info 2000-02-27 03:21:26 +00:00
wiz e9abcf6371 document -o (4.4BSD compatibility option) 2000-02-27 02:49:48 +00:00
wiz 1def904605 re-add pre-generated grep.info and use that one until our texinfo
supports @command
2000-02-27 02:36:55 +00:00
wiz 7c194c51f0 use `matcher' only after it has a value 2000-02-27 02:36:01 +00:00
wiz 1d76239646 update grep to 2.4.
Thanks for the help from simonb, mrg and hubertf.
(All errors are mine, though.)
2000-02-27 01:31:02 +00:00
wiz 9e6b558cde handle conflicts between grep-2-3 and grep-2-4 2000-02-27 00:43:38 +00:00
wiz 63737a9697 Update GNU grep to 2.4 2000-02-27 00:21:41 +00:00
mycroft f2cb2f6245 Don't blow away sendmail.st on install.
Install sendmail.hf with group wheel, not kmem.
2000-02-26 18:41:43 +00:00
tron 35a40cec3e Make soft dependences work without Endian-Independant FFS support.
Patch supplied by Takahiro Kambe in PR kern/9446.
2000-02-24 22:54:39 +00:00
tsutsui 9e1d562a1f - tm.h is automatically generated by configure in gnu/dist/gcc,
so egcs/arch/mips/tm.h should not contain any #ifdefs
- Use -DTARGET_{BIG,LITTLE}_ENDIAN_DEFAULT (which are used in egcs-current)
  to switch mipseb/mipsel
2000-02-19 00:44:31 +00:00
soren e4e0e80102 Add luna68k, news68k, prep, sparc64.
Rename pica to arc.
2000-02-18 08:57:05 +00:00
tsutsui 6adeb20d08 Fix object format assignment entry for mips-*-netbsd*. 2000-02-16 11:38:44 +00:00
tsutsui 079fc0c149 Use "uname -p" to determine CPU_TYPE (except arm32). 2000-02-16 11:32:17 +00:00
tsutsui 5c8ea7f9f0 Add mipseb support to egcs distfiles. 2000-02-16 11:28:45 +00:00
tsutsui 9658fcaa61 Add support of mipseb target. 2000-02-16 11:23:48 +00:00
fvdl fe39281ea4 Fixes to the softdep code from Ethan Solomita <ethan@geocast.com>.
* Fix buffer ordering when it has dependencies.
* Alleviate memory problems.
* Deal with some recursive vnode locks (sigh).
* Fix other bugs.
2000-02-14 22:00:21 +00:00
veego 52e395b26c Fix the CMDDIR problem noticed in pr#9409 and while I am here move the
BINDIR before PROG (thats looks nicer).
2000-02-13 22:14:28 +00:00
veego 23b1b424a3 Install smrsh into /usr/libexec and not /usr/sbin. 2000-02-13 21:32:01 +00:00
tron bed192969e We need to redistribute the license terms. 2000-02-08 16:53:37 +00:00
tron 8ff783382c "distribution" target requires "netbsd-proto.cf". 2000-02-08 16:13:26 +00:00
tron 6e7897c5a9 Don't build "sendmail" if "NO_SENDMAIL" is defined. 2000-02-08 14:06:01 +00:00
tron 54896865b3 Build "sendmail" 8.9.3 instead of 8.8.8. 2000-02-08 13:53:01 +00:00
tron ee18b55df8 Initial import of NetBSD build environment for "sendmail" 8.9.3. 2000-02-08 13:45:33 +00:00
tron ea4809da9e Initial import of "sendmail" 8.9.3 sources. 2000-02-07 20:05:21 +00:00
kleink cd4d224a61 (s_common): Convert byte alignment to power of two to record alignment of
the bss section.
2000-02-07 12:25:47 +00:00
kristerw 46e954b5e5 C++ exceptions doesn't work in i386 shared libs when using sjlj exceptions
(as a.out does per default.)  This is because the compiler forgets to
restore the PIC register after a builtin_setjmp (i.e. when catching an
exception.)  This fix is taken from the gcc 2.95 branch.

Fixes PR#9110.
2000-02-01 19:29:33 +00:00
tsutsui c539ff5d84 STRIPPROG -> STRIP 2000-02-01 06:00:35 +00:00
mycroft 4170f63662 Handle arbitrarily long input lines.
(Patch taken from gas.new.)
2000-01-24 19:44:37 +00:00
mycroft 1b4eebafa7 One more .mk bug. 2000-01-24 07:27:15 +00:00
mycroft 3c08240686 Use mkstemp(). 2000-01-24 02:47:51 +00:00
mycroft 4ec77e0d35 Use mkstemp(3). 2000-01-24 02:03:37 +00:00
mycroft fa450d541e More .mk file fallout. *sigh* 2000-01-23 22:19:27 +00:00
mycroft 615ac255bd More .mk file fallout. *sigh* 2000-01-23 22:10:52 +00:00