Commit Graph

2871 Commits

Author SHA1 Message Date
cgd c586a3a369 strncmp's last argument is of type size_t, not int. 2001-01-16 02:38:52 +00:00
itojun b2ba60b861 no longer need to ship IPv4-only sendmail.cf. 2001-01-15 17:57:44 +00:00
itojun ef39bb4e09 pull DaemonPortOptions modifier for "optional address", from
8.12.x change (Modifiers=O).
this will let us use the same sendmail.cf file on IPv4/v6, and IPv4-only
kernels. (we do not really need netbsd-proto-IPv4only.cf any more)
2001-01-15 17:49:25 +00:00
jdolecek c9803cd367 Put GNU sort back to sleep. R.I.P. 2001-01-13 20:17:13 +00:00
itojun c50639b45e pull the last revision from graveyard. we do not really need to nuke it yet,
as long as we do not visit SUBDIR we don't build it.
2001-01-13 16:42:53 +00:00
jdolecek 4b8c8ba4c1 nuke GNU sort - we use BSD sort now 2001-01-13 10:56:32 +00:00
jdolecek ea53379da3 Switch from GNU to BSD sort. Approved by the Core. 2001-01-13 10:49:06 +00:00
hubertf d3dbb6c178 Xref our "crosscompiling howto" (in htdocs) 2001-01-12 01:43:57 +00:00
lukem 5df30421b7 - don't use LOG_CONS (we don't need smrsh spamming /dev/console if syslogd
isn't up)
- don't use LOG_ODELAY; it's deprecated (the behaviour is the default)
2001-01-11 02:48:11 +00:00
phil e442b478b6 Sync with bc master sources. (post 1.06) 2001-01-11 01:56:21 +00:00
phil 223f8d5da0 Make quiet mode the standard on NetBSD! 2001-01-11 01:53:45 +00:00
phil 09ae8bbd21 Remove getopt{,1}.c from sources. Use NetBSD's versions. 2001-01-11 01:49:47 +00:00
phil def396420d Remove getopt{,1}.c from sources. Use NetBSD's version. 2001-01-11 01:48:00 +00:00
enami 5d9e26fa5b - Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
2001-01-09 08:52:56 +00:00
enami 6ebf26b574 Define variables before it is used. 2001-01-09 08:33:46 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
hubertf 36ece38f58 Document that this is also the frontend for the Objective C compiler
(so "man -k objective" turns up *something*)
2001-01-09 00:25:05 +00:00
itojun 99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun c2cbc35d36 need string.h for mem* prototypes.
XXX not sure if we need to compile getopt{,1}.c in gnu/usr.bin/{bc,dc}...
2001-01-08 08:06:37 +00:00
phil e6550aba7b Update for bc-1.06. 2001-01-08 04:53:59 +00:00
phil 957f1a0095 Finish the import of bc-1.06. 2001-01-08 04:03:30 +00:00
phil 0215b1186b Import bc-1.06 2001-01-08 03:28:58 +00:00
jdolecek 7fe8fd53c7 adapt CPPFLAGS so that readline.h is properly found after it's move
to /usr/include/readline/
2001-01-05 21:17:11 +00:00
lukem bca417d8e4 use %ll_ instead of the less standard %q_ 2001-01-05 03:54:34 +00:00
marcus 1e1528c218 Set proper ELF pagesize for NetBSD. 2001-01-05 02:00:11 +00:00
itojun c732fcc192 upgrade to sendmail 8.11.2. 2001-01-04 12:36:48 +00:00
itojun 8e47aad460 sendmail 8.11.2 2001-01-04 12:21:36 +00:00
itojun 752edea055 add STARTTLS handling - commented out for now. someone with knowledge
please test it.
2001-01-04 12:18:49 +00:00
itojun 0a3745234e sh3 split 2001-01-04 10:43:24 +00:00
itojun 437f6d0b1a do not try to reverse-lookup IPv6 {unspecified,linklocal} addresses.
XXX may not be 100% right, as there are people trying to reverse-lookup
them using multicast DNS.
2001-01-04 10:35:25 +00:00
itojun df319c7c4c sh3 split 2001-01-04 09:22:06 +00:00
itojun 8bd2552493 sh3 split 2001-01-04 09:11:47 +00:00
itojun 8145e73c70 sh3 split 2001-01-04 08:59:24 +00:00
itojun 264cf8dcf3 sh3 split 2001-01-04 08:01:49 +00:00
matt cb70721fea Improve some of the DImode support. Add/improve a bunch more peepholes.
Generate smaller/faster code in general.
2001-01-02 04:33:40 +00:00
matt 647505be57 Fix/optimize a few DImode moves. 2000-12-30 07:35:13 +00:00
matt 83d1ef55c4 Fix/reorder CONST_OK_FOR_LETTER for better optimization. 2000-12-30 07:33:43 +00:00
matt 5b5b167396 Eliminate things that moved to netbsd.h 2000-12-29 22:06:04 +00:00
matt 1fb988a3ee Massive changes to include PIC support including a mostly revamp machine
description.
2000-12-29 21:34:11 +00:00
matt 78172bb22d This now works for a.out using no-pic. Eg. back to where I started from. 2000-12-29 03:40:27 +00:00
matt 2b22fba4b0 Pick up a change from gcc-current. For those targets without call or
call_value, use call_pop and call_value_pop.  (this is needed for vax)
2000-12-29 03:39:14 +00:00
itojun ae3abaf5cd do not visit "conf" if MKSHARE == no 2000-12-29 02:50:35 +00:00
matt d1ff29768d Add a few more cases to print_operand_address (and be more helpful on aborts). 2000-12-28 05:29:25 +00:00
msaitoh 3fbb403b7d fix two bugs.
gcc original rev. 1.89:
	* combine.c (if_then_else_cond): If comparing against zero,
	just return thing being compared.

gcc original rev. 1.132:
	* combine.c (combine_simplify_rtx): Don't create an if_then_else
	unless both args are general_operand.
2000-12-27 13:32:09 +00:00
msaitoh 67a8732011 fix a bug from gcc original rev. 1.82
(jump_optimize_1): More accurately detect casesi insns.
2000-12-27 13:25:52 +00:00
msaitoh b2f875eeff apply some fixes from egcs-current
rtlanal.c	gcc original rev. 1.22
rtl.h		rev. 1.67
jump.c		rev. 1.47
	* rtlanal.c (regs_set_between_p): New function.
	* rtl.h (regs_set_between_p): Prototype it.
	* jump.c (jump_optimize): Use it instead of modified_between_p
	in the Sep 2 change.

fixes PR#11696
2000-12-27 13:23:59 +00:00
itojun 107490d839 netbsd has strlcpy/strlcat 2000-12-26 13:11:20 +00:00
itojun eda42ff066 canonicalize ipv6 address before reverse lookup.
From: Ingolf Steinbach <ingolf@jellonet.de>

XXX normally we should not perform reverse lookup for linklocals.
we should really rewrite sendmail to use getaddrinfo/getnameinfo.
2000-12-26 13:08:39 +00:00
jhawk 6f1ea9f65f Fixup comments to account for --{,no-}whole-archive changes. 2000-12-26 01:29:03 +00:00
itojun c9d6668ebc run eqn. PR 11814 2000-12-25 22:39:21 +00:00
matt c30c93b03c Add legitimize_pic_address and the netbsd-elf.h for ELF support. 2000-12-22 16:48:36 +00:00
matt 5b49016829 Add half-pic mode. Default to half-pic mode. 2000-12-22 16:37:37 +00:00
msaitoh bb44231698 fix a range check for 12bit PC relative access 2000-12-22 12:06:27 +00:00
matt 4241925fa2 More merging. Move GO_IF_LEGITIMATE_ADDRESS stuff into vax.c from vax.h.
Extend it to properly deal with indirect and indexed addressing modes.
Add preliminary PIC support.
2000-12-22 06:16:45 +00:00
matt a9c4c35371 Merge in 1st layer of ELF differences. This is a just a cleanup. No ELF
specific changes.
2000-12-22 04:59:35 +00:00
scw 3b11f4ee69 Define "TARGET_PAGE_SIZE=0x2000" so the linker uses an 8KB pagesize
instead of the 4KB default.
2000-12-19 09:37:04 +00:00
mycroft bb747bc663 Clean up MAJOR crack addiction:
--whole-archive and --no-whole-archive are by nature position-dependent.  Make
it so.
2000-12-16 09:29:29 +00:00
msaitoh 7b4b859811 apply gcc original rev. 1.116:
> combine.c (simplify_comparison): Fix typo.

LTU, LEU, GTU, "LEU" -> LTU, LEU, GTU, "GEU"
2000-12-15 23:42:22 +00:00
fair c98044f7d2 add port-dreamcast 2000-12-15 00:01:53 +00:00
simonb 3ebe38e227 Use the ASM_OUTPUT_COMMON() and ASM_OUTPUT_LOCAL() macros from gcc
2.95.2's m68kelf.h.  Fixes problems with the size of common objects.

From Charles Hannum.
2000-12-14 06:38:50 +00:00
mycroft e1a74529ae Don't do the default exclusions in the `flat' profile on Alpha. (We don't
on any other platform, either.)
2000-12-13 01:06:03 +00:00
is f06406d722 uuchk is not program-called; it is called by the administrator to check the
configuration file.
2000-12-11 15:49:07 +00:00
itojun d27da0bebf avoid twists with alloca. 2000-12-11 00:23:00 +00:00
scw 4c12d23bdb Fix C++ static ctors/dtors by providing the same macros as defined
in i386/netbsd-elf.h.
2000-12-09 20:38:04 +00:00
perry 1dd5f18a93 add abounce.c 2000-12-09 17:35:05 +00:00
perry 20de67075f resolve conflicts 2000-12-09 17:28:45 +00:00
perry ca6f4b24f7 Import 19991231 Patch Level 12. Numerous bug fixes. 2000-12-09 16:52:26 +00:00
wiz 55262eb5e6 Fix last commit. Problem reported by Matthias Scheler. 2000-12-08 19:21:55 +00:00
itojun 08a6189997 fix incorrect #ifdef nesting, in NetBSD version dependency check. 2000-12-08 16:35:40 +00:00
scw 36f2e9920b Set the emulation target to m68kelfnbsd. 2000-12-07 22:46:04 +00:00
scw e8c320c691 Update EMULS.m68k with "m68kelfnbsd" also. 2000-12-07 11:31:51 +00:00
kleink 9cee15bd12 In the ELF toolchain, use __mcount instead of mcount. 2000-12-07 10:14:08 +00:00
scw bacceeaa17 Use the "m68kelfnbsd" parameter file for ELF on MACHINE_ARCH=m68k. 2000-12-07 08:18:35 +00:00
scw cd966245c4 New parameter file for m68k-elf on NetBSD.
This is basically a copy of the stock "m68kelf.sh" file, with
TEXT_START_ADDR set to something a bit more reasonable for NetBSD.
2000-12-07 08:16:21 +00:00
itojun 2cd477ca56 be aware of KAME kernel-internal form returned on SIOCGIFCONF.
(patch sent to sendmail.org)
should fix the following issue:
http://mail-index.netbsd.org/netbsd-help/2000/11/28/0006.html
2000-12-07 06:31:51 +00:00
itojun 9dd871079e correct use of struct in6_addr (patch submitted to sendmail.org) 2000-12-07 06:26:56 +00:00
wiz 476ef21c46 Drop .info from direntry, so that `info gawk' works. 2000-12-05 14:56:43 +00:00
scw 72ae106334 Build gas.new if BOOTSTRAP_ELF is defined, regardless of MACHINE_ARCH. 2000-12-05 09:59:31 +00:00
scw 7da3267228 Need to check for __m68k__ with the m68k ELF toolchain... 2000-12-03 17:24:00 +00:00
jmc bc58fd4841 libbfd is ../../lib/libbfd. not ../../lib/bfd 2000-11-28 22:33:49 +00:00
wiz 779cdb4e70 Improve error output if executable file format isn't recognized. 2000-11-28 18:44:46 +00:00
matt c18fd403d1 Add __udiv_w_sdiv for VAX. gnupg requires it. And since it's a libgcc
function it makes sense to put it in libgcc.
2000-11-20 05:47:41 +00:00
mrg eab3144daf don't build these (binutils 2.9.1) tools on sparc64. 2000-11-17 06:51:35 +00:00
simonb da198db71e Update the output counter so "gzip -dv" show meaningful results for
decompressing bzip2 files.
2000-11-17 01:32:27 +00:00
simonb 87db6e6fc9 Recognise .bz2 as a valid suffix. 2000-11-17 01:31:26 +00:00
thorpej a464410d30 If NBSD_EXEC_PREFIX is set, use it to set MD_EXEC_PREFIX rather
than going with just "/usr/libexec/".

XXX This wouldn't be so gross if the GCC people would give
up their #undef habit.
2000-11-09 06:27:07 +00:00
thorpej a883aea587 If the COMPILER_EXEC_PREFIX make variable is set, define
NBSD_EXEC_PREFIX="<COMPILER_EXEC_PREFIX>/usr/libexec/"
in the CPPFLAGS.
2000-11-09 06:25:52 +00:00
itojun c2d7c0e321 gettextize works only if we have /usr/pkg/share/aclocal/gettext.m4 and friends,
and it does not make sense to install it.
From: Matthias Scheler <tron@zhadum.de>
2000-11-08 16:26:46 +00:00
wiz 29a60e8ab7 Undo last change for now. 2000-11-08 00:08:29 +00:00
jdolecek f3fb930deb use uname -p and uname -m to get machine architecture and
machine type, falling back to /bin/arch, /bin/machine if they
exist and uname didn't return anything.
This solves bin/10614.
2000-11-06 15:46:38 +00:00
itojun e9ea23788b MKNLS should only control installation of files under /usr/share/locale. 2000-11-06 15:35:25 +00:00
itojun 59e63e0152 MKNLS should control installation of /usr/share/locale files only. 2000-11-06 15:30:49 +00:00
itojun e3ec4c0463 MKNLS should control installation of /usr/share/locale only.
(we may want to have additional variable to control libintl-readiness)
2000-11-06 15:29:18 +00:00
itojun b04b150e28 s/make/${MAKE}/ 2000-11-04 15:38:32 +00:00
dan 29d4a62dee Don't prepend $DESTDIR to BINDIR, this is done elsewhere in the prog
install target.
2000-11-03 07:07:58 +00:00
veego 1699547a1d s/DISTDIR/DESTDIR/ 2000-11-02 20:17:01 +00:00
matt 37ed1c481f Add entries for VAX specific a.out relocs so that objdump can print them. 2000-11-02 16:34:32 +00:00
matt d87584c459 On VAX, JMPTAB reloc use EXTERN as a type bit. However, they are always
EXTERN so we always need to emit them.  This fixes various problem with
using JMP instruction in libc and libm.
2000-11-02 16:14:37 +00:00
itojun c1a719c0e4 visit gettext 2000-11-02 12:32:04 +00:00
itojun ef14cfbe4b build framework for GNU gettext. will be overridden whenever
Todd's BSD licensed gettext implementation comes in.
2000-11-02 01:09:01 +00:00