Commit Graph

5360 Commits

Author SHA1 Message Date
nathanw 4eb9fc62f7 mknative for amd64. 2006-06-02 15:32:09 +00:00
simonb 3eb98d14f3 Change date in the nbX part of the version string to match the date
the nbX change was made.  The original gcc cvs/svn branch date is kept
separately.

After discussion with phone@
2006-06-01 19:21:05 +00:00
christos c377b4c43d More Coverity fixes from Mark D. Baushke. 2006-05-31 15:59:12 +00:00
perry 713a76184e explain why the ordering of MAN= is like it is. 2006-05-31 13:51:48 +00:00
perry 567aeb1815 To make vdiffs for imports simpler, follow the pattern of the original
Makefile.in for listing the files to be installed.

No functional change at all.

Also, remove a spurious tab from after the MLINKS= line
2006-05-31 13:45:46 +00:00
simonb f40854a95b Bump version to nb2 for gcc bug 26565 fix.
Revert date back to gcc branch date of 20060420.
2006-05-31 05:58:41 +00:00
mrg b435d26d50 add insn-modes.h to the list of header files the gen* programs .lo
objects depend on.  now usr.bin/gcc4 is "make -j100" safe.
2006-05-31 05:13:20 +00:00
simonb e8c51d90a5 Pull up gcc svn revision 111934:
PR middle-end/26565
  * builtins.c (get_pointer_alignment): Handle component
  references for field alignment.

Fixes aligned store problems on MIPS described in:
    http://mail-index.NetBSD.org/tech-toolchain/2006/05/16/0002.html
    http://mail-index.NetBSD.org/tech-toolchain/2006/05/17/0001.html
2006-05-31 05:10:14 +00:00
tron bc543810da Install mailq(1) and newaliases(1) as links to sendmail(1). 2006-05-31 03:06:47 +00:00
nathanw ea1149c828 mknative run for sparc64. 2006-05-30 21:25:32 +00:00
nathanw d275c70520 mknative run for sparc 2006-05-30 21:24:12 +00:00
tron a36ebd2187 Install manual pages mailq(1), newaliases(1) and sendmail(1) to replace
the removed sendmail manual pages.
2006-05-30 19:32:28 +00:00
christos 2cbaed172f Remove sendmail. 2006-05-30 00:42:29 +00:00
nathanw 9eca809736 More generated files for mipseb 2006-05-29 19:50:12 +00:00
nathanw 8f1f45f7a6 More generated files for arm 2006-05-29 19:50:02 +00:00
nathanw a09a30f8de More generated files for alpha 2006-05-29 19:49:54 +00:00
nathanw 0975b7919f mknative-generated files for powerpc 2006-05-29 19:45:49 +00:00
nathanw e1ac71aab3 mknative-generated files for mipseb 2006-05-29 19:45:09 +00:00
nathanw d17fd32805 mknative-generated files for arm 2006-05-29 19:44:48 +00:00
nathanw 0d8bfa8fa0 mknative-generated files for alpha 2006-05-29 19:44:28 +00:00
nathanw 772c8321d8 mknative-generated files for i386. 2006-05-29 19:43:39 +00:00
nathanw 5b40db0f34 This file is now mknative-generated per arch. 2006-05-29 19:42:37 +00:00
nathanw 5516924be5 These are now per-arch generated by mknative. 2006-05-29 19:35:51 +00:00
nathanw 320fc8a318 Pull in a change from GDB CVS:
2006-01-15  Mark Kettenis  <kettenis@gnu.org>

	* arm-tdep.c (arm_return_value): Change type of readbuf and
	writebuf arguments to `gdb_byte *'.
2006-05-29 19:33:54 +00:00
nathanw 27dd8a33e6 Adapt to mknative. 2006-05-29 19:27:22 +00:00
nathanw 8137e86b46 Add build glue. 2006-05-29 19:26:34 +00:00
nathanw 2eb9131345 These files are now generated by the build. 2006-05-29 19:26:24 +00:00
nathanw e1785c2582 These files are now per-arch. 2006-05-29 19:26:02 +00:00
nathanw 841d7fcb1f Adapt to mknative defs.mk. 2006-05-29 19:20:05 +00:00
nathanw f6ec6161ba Use the mknative-generated headers and defs.mk.
(Largely copied from the analagous Makefiles under src/gnu/lib)
2006-05-29 19:18:56 +00:00
nathanw c892b54d09 Descend into sim unconditionally; let the Makefile there take care of
picking the relevant platforms.
2006-05-29 19:15:30 +00:00
drochner cb566fe802 sync RCS IDs in comments, no functional change 2006-05-27 13:37:04 +00:00
drochner 8bd6a6b9bd reran native-gcc, fixing the COMDAT problem 2006-05-27 12:14:33 +00:00
christos d25db4db59 Coverity fixes from Mark D. Baushke 2006-05-27 03:01:09 +00:00
mrg f421d0c91a regenerate. fixes mipsel HAVE_COMDAT_GROUP 2006-05-26 19:57:29 +00:00
mrg 16c4e2e447 generate new libobjc4 files and regenerate many many others.
XXX: re-running "make native-gcc" some times causes the
XXX: gcc/configure test for COMDAT groups to fail.  a fresh
XXX: configure (ie, with no objdir/.native tree yet) seems to
XXX: fix this.  right now mipsel and alpha have the wrong
XXX: definition in the checked in auto-host.h.
2006-05-24 21:20:32 +00:00
mrg 7a25dd1dc9 in the NETBSD_NATIVE case, don't set a default GCC_EXEC_PREFIX. just add
standard_libexec_prefix to the exec_prefixes for "GCC".  this avoids a
"-iprefix /usr/bin/../libexec/" being passed to cc1* and those searching
in /usr/bin/../libexec/include{,bits/,g++} for headers.
2006-05-24 20:52:14 +00:00
mrg 512fbc0a03 - include <stdlib.h> and <string.h> where appropriate
- s/void volatile/void/ for a funtion return type
2006-05-23 20:11:10 +00:00
mrg 5eebeb71e5 generate options.h like we do for gcc4/backend. so far only seems to
be strictly necessary for powerpc so allow the old MI defs.mk to be
used if a MD one does not exist.  when all platforms are regenerated
this support can be removed along with libobjc4/defs.mk.
2006-05-23 10:59:03 +00:00
skrll 9e33bb5bf7 Copy across the pa/t-netbsd file. Add a CRTSTUFF_T_CFLAGS_S define. 2006-05-21 06:03:55 +00:00
mrg 331828317b mknative generated files for hppa and GCC4. seems to kinda of build, not run-tested. 2006-05-21 00:48:58 +00:00
mrg 8df5948192 make this work: #undef ASM_PREFERRED_EH_DATA_FORMAT and
ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX before defining them.  (XXX should we
use the versions in pa-linux.h?  or what?)

also, convert ASM_FILE_START into TARGET_ASM_FILE_START, using the
pa_linux_file_start version.
2006-05-21 00:43:37 +00:00
mrg e9d0e73f70 generated sh5 mknative GCC4 files. seems to build ok, but as-yet untested. 2006-05-20 20:36:03 +00:00
mrg 041a6c9d7d pull across missing files from GCC3 tree. these don't work yet as they
used old-style GCC3 functions and macros.
2006-05-20 19:21:56 +00:00
mrg bf7f38130a fix merge botch 2006-05-20 11:06:50 +00:00
mrg 4bdc7bbc2d add mknative files for sh3* and GCC4. these build the basics but bomb
out in libc due to the current implementation of va_arg() using lvalue
casts and GCC4 gets very unhappy with lvalue casts.
2006-05-20 09:57:48 +00:00
mrg 75a847818d also -I.../gcc/config. this fixes the sh3 builds. 2006-05-20 09:56:29 +00:00
mrg 4a1ce46a44 mknative files for amd64 and GCC4. not yet known to run. 2006-05-20 04:01:34 +00:00
mrg 61772c2d25 generated sparc and m68k GCC4 mknative files. these are only build
tested and mvme68k was the m68k platform has been built.
2006-05-20 03:54:10 +00:00
mrg 99fe721972 fix a merge-botch for CC1_SPEC32. now we have {} balance. 2006-05-19 22:38:44 +00:00
mrg 173e1af775 generated mknative files for amd64 and GCC4. not tested but a release
build completes.
2006-05-19 18:41:37 +00:00
drochner 7e8ecee6be add alpha native support
(a kernel compiled with gcc4 runs for me, userland untested)
2006-05-19 11:44:24 +00:00
mrg f97e259a75 add generated mknative files for mipseb platforms. evbmips/mipseb gets
to kernels build now (this breaks due to current -current breakage.)

(i guess christos's csu fixes fixed the builds libgcc_s build, which was
missing symbols that i recall as being weak.)

the mips* binaries are as-yet untested.
2006-05-19 05:44:16 +00:00
mrg 804d35c095 GCC4 mknative files for armeb (big endian) and mipsel (little endian.)
armeb builds but mips fails in libgcc_s.so.
2006-05-18 20:20:49 +00:00
mrg 657e5b49ad GCC4 mknative files for arm (little endian) 2006-05-18 20:18:11 +00:00
mrg a702cc5589 regen (just rcsid changes) 2006-05-18 18:43:37 +00:00
mrg 93f5fae775 generate arm (little endian) mknative files. "evbarm" release builds,
but this is 100% untested yet.
2006-05-17 05:52:38 +00:00
mrg e172949eb7 regenerate 2006-05-17 05:33:36 +00:00
mrg d7a5ec3490 install new header mm_malloc.h that the mmx/sse headers use now.
fixes 3rd party app build problems reported by dogcow@.
2006-05-17 03:29:45 +00:00
mrg 09bf9ad8a0 regenerate with fixed mknative-gcc. 2006-05-15 22:10:05 +00:00
nathanw c98620e0ca Generated files for sim/ppc. 2006-05-15 19:14:20 +00:00
nathanw 53dc5d083a PowerPC generated and constructed files. 2006-05-15 19:13:22 +00:00
nathanw b350d93baa Include xmalloc.c for psim. 2006-05-15 19:12:07 +00:00
nathanw f5c91f0e5d Fix up psim build. 2006-05-15 19:11:51 +00:00
nathanw 092b219bf4 i386 generated and constructed files. 2006-05-15 16:39:11 +00:00
nathanw 95e242dd40 MI generated files. 2006-05-15 16:35:40 +00:00
nathanw eb212d66cb GDB 6 reachover build machinery. 2006-05-15 16:31:37 +00:00
christos 1e88acc412 Use id casts instead of void * casts. Suggested by thorpej. 2006-05-15 16:31:21 +00:00
nathanw 958e368bed Pull in a change from GDB CVS:
2006-05-01  Nathan J. Williams  <nathanw@wasabisystems.com>

        * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two
        arguments from void * to gdb_byte *.
2006-05-15 16:16:34 +00:00
nathanw 9c496995db Import GDB 6.4 2006-05-15 14:21:09 +00:00
nathanw 76ae6db36e Import GDB 6.4 2006-05-15 14:11:08 +00:00
nathanw e7275437ab Import GDB 6.4 2006-05-15 14:08:20 +00:00
dogcow 15d9504168 /usr/src/gnu/dist/gcc4 -> ${GNUHOSTDIST} 2006-05-15 13:40:00 +00:00
christos 7a85412dcd We don't need -Wno-error 2006-05-15 04:57:05 +00:00
christos 07252f1516 Casts to appease gcc. 2006-05-14 02:14:33 +00:00
christos ec71107003 Use __UNCONST() when casting away const. 2006-05-14 00:13:31 +00:00
christos e9c9374d31 Fix uninitialized variable. 2006-05-13 23:49:02 +00:00
mrg 0e02d282f4 define ENABLE_EXECUTE_STACK to nothing so that _enable_execute_stack()
isn't the empty function in libgcc2.c, but the netbsd one.  powerpc
seems to work somewhat better now...
2006-05-13 10:38:33 +00:00
uwe e37068ccdf Force building and installing libgcc_pic.a when MKPIC=yes even when
MKPICINSTALL=no, as it is required to build shared libraries.  Move it
to comp-c-lib set to match crtbeginS.o
2006-05-13 01:50:51 +00:00
mrg 6688c1d37d merge the LIBGCC_PICSUFFIX and NETBSD_NATIVE support from GCC3.
now hello.c and hello.cc both work!
2006-05-13 01:49:30 +00:00
mrg f2a1fc4b01 actually, define STANDARD_LIBEXEC_PREFIX as STANDARD_EXEC_PREFIX in
the NETBSD_NATIVE case, since that's what it really is.
2006-05-13 01:48:14 +00:00
mrg 6e5288e9d6 STANDARD_LIBEXEC_PREFIX needs to end with a /. 2006-05-13 01:43:17 +00:00
mrg a281677257 properly build the version string with spaces. 2006-05-13 01:18:37 +00:00
christos fc079150a4 prepend cvs_ to all the x* functions to avoid coverity conflicts with other
programs.
2006-05-12 15:41:53 +00:00
christos 7c8717d509 Revert previous coverity fixes because they were caused by the wrong model
(xstrdup() from xlint was used instead of the locally defined one). Replace
with assertions instead (from Mark D. Baushke)
2006-05-12 15:33:17 +00:00
mrg 3c3bcb101f pull across from GCC3 tree:
- __enable_execute_stack() support
- NetBSD/powerpc specific GCC configury bits.
2006-05-12 01:01:18 +00:00
mrg 014ea08324 - fix #include so that "ppc-asm.h" is found
- make sure tramp.asm is compiled properly
2006-05-12 00:59:32 +00:00
mrg 2d88bcdbb8 - export @enable_shared@ into ENABLE_SHARED (for mknative)
- disable rules for gengtype-yacc.c, gengtype-yacc.h and gengtype-lex.c
- pull across a fix for cygwin building fixincludes from GCC3 tree
- disable %.info rules.
2006-05-12 00:58:25 +00:00
mrg 5cfb97cb39 pull across a patch from GCC3 tree. the comment says it all:
# Use sh specific libgcc-std.ver to avoid exporting some
# lib1func routines which shoud not be called via PLT.
2006-05-12 00:56:35 +00:00
mrg b41d56701a move #include to the start of the line. 2006-05-12 00:55:59 +00:00
mrg 8a15ddadaa add these generated files that really want bison. 2006-05-12 00:54:29 +00:00
mrg 85a901ce95 pull across from GCC3 tree:
>date: 2004/11/30 01:51:13;  author: jwise;  state: Exp;  lines: +21 -3
>As discussed on tech-toolchain@netbsd.org, make cpp refuse to attempt to
>parse a #include'd file which does not pass S_ISREG() if the environment variable
>CPP_RESTRICTED is set.
>
>This is primarily intended for use by programs such as calendar(1) which
>use cpp to parse untrusted user files -- without this change (and the corresponding
>change to calendar(1)), any user can cause a denial-of-service for the daily
>calendar -a run by #include'ing a named pipe.
>
>Many thanks to christos@netbsd for his help in polishing this.
2006-05-12 00:51:13 +00:00
mrg 871b78e87d switch the default model to medlow, from GCC3 tree. 2006-05-12 00:49:49 +00:00
mrg 8ff761d708 use "bv" branching on NetBSD, like on linux. from the GCC3 tree. 2006-05-12 00:47:50 +00:00
mrg 8ff76fa508 force shift target to "long" with "L" prefix, from GCC3 tree. 2006-05-12 00:47:17 +00:00
mrg 43eb93d243 pull across from the GCC3 tree:
>revision 1.2
>date: 2003/10/29 21:25:03;  author: mycroft;  state: Exp;  lines: +40 -11
>As seen on tech-toolchain:
>
>So the problem is thus:
>
>* The {u,}mulsidi3 generate two parallel sets which modify the upper and lower
>halves of the target register.
>
>* life_analysis() does not track subregister modifications -- if you don't
>modify the whole register with a single set, it considers the register
>unused.
>
>The simple, if klugy, solution to this is to stick an explicit clobber in.  It
>seems to work.
>
>While doing this, I noticed that constant folding was not happening for
>32x32->64 multiplies.  This is because the parallel set generated by
>{u,}mulsidi3 cannot be folded at all.  To solve this, I first expand to a
>normal multiply, and then use a define_insn_and_split to convert it to the
>parallel set after CSE and constant folding.
>
>This patch has also been submitted to GCC bugzilla, but who knows if I'll get
>a reply to that.
2006-05-12 00:46:33 +00:00
mrg 7e1fdc3c74 default to stabs, from the GCC3 tree 2006-05-12 00:44:17 +00:00
mrg cc2bf2dacf - define __PIC__ and __pic__ when flag_pic is set.
- add GPLUSPLUS_BACKWARD_INCLUDE_DIR to the INCLUDE_DEFAULTS includes
- define GPLUSPLUS_BACKWARD_INCLUDE_DIR, TOOLDIR_BASE_PREFIX,
  STANDARD_BINDIR_PREFIX and STANDARD_LIBEXEC_PREFIX
- delete NETBSD_LIBGCC_SPEC
- define LIBGCC_PICSUFFIX as "_pic".
2006-05-12 00:43:55 +00:00
mrg 7c427e47b1 pass -Bsymbolic to ld when given -symbolic. 2006-05-12 00:42:13 +00:00
mrg dfa8a9c641 - call this NetBSD GCC.
- use our send-pr URL.
2006-05-12 00:40:57 +00:00
mrg d70944f410 put a couple of "noreturn" warnings under -Wno-missing-noreturn
XXX not really correct, but there is no other way to disable these
XXX warnings currently.
2006-05-12 00:40:21 +00:00
mrg 1fb90918ec pull across support for:
hppa-netbsd
	armeb-netbsd
	ia64-netbsd
	m68010-netbsd
	sparc64-netbsd
from the GCC3 tree.
2006-05-12 00:39:28 +00:00
mrg 8b372f5bf6 pull across the old -isystem-cxx support, but, because "-isystem/bar/foo"
is valid now, -isystem-cxx looks in directory "-cxx", so call it
-cxx-isystem now.
2006-05-12 00:33:26 +00:00
mrg b94442d7df pull over from GCC3 tree:
>PR/29832: J.T. Conklin: libstdc++ missing std::wstring support
>This wonderful patch together with yesterdays wcsftime addition, makes
>us able to use wide strings in c++
2006-05-12 00:25:57 +00:00
mrg c5f4b7b025 undefine "rtx" before re-defining it. 2006-05-12 00:25:04 +00:00
mrg df80da1eff only need to #include "localedir.h" if USE_NLS is defined. 2006-05-12 00:24:43 +00:00
mrg fafcb5dc4d don't include <machine/ansi.h> on NetBSD if inhibit_libc is defined. 2006-05-12 00:24:09 +00:00
mrg 5a7bbee727 #if 0 a warning that has no -Wno-foo flag that (often wrongly) says that
the va_start() is called incorrectly.
2006-05-12 00:20:21 +00:00
mrg 2fded4a2d3 we want a target-libiberty so we can pull mknative info out from it. 2006-05-12 00:19:09 +00:00
mrg a6946cf17d match "sh5". 2006-05-12 00:18:30 +00:00
mrg 33ffc74201 - bump libobjc to version 2.1
- now that OBJCOPTS.file.c works, use it for the objects that need it
- always pass -fno-strict-aliasing -fexceptions like the GCC build does
2006-05-11 23:52:41 +00:00
christos 90463da1f9 Address the remaining Coverity problems from Mark D. Baushke 2006-05-11 17:47:49 +00:00
mrg 9b8d2ce51a s/register//. apply some more "const" to avoid GCC4 warnings. 2006-05-11 10:29:04 +00:00
mrg c7dc676533 cast the functions assignments for gnu_v3_abi_ops.is_destructor_name
and gnu_v3_abi_ops.is_constructor_name as appropriate.
2006-05-11 00:32:21 +00:00
mrg 89318da5dd add the build framework for in-tree GCC4 libraries, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:53:49 +00:00
mrg ef37f7a679 add the build framework for in-tree GCC4 programs, and the mknative
output for i386, sparc64 and powerpc.
2006-05-10 22:48:11 +00:00
mrg 084c052803 quell GCC 4.1 uninitialised variable warnings.
XXX: we should audit the tree for which old ones are no longer needed
after getting the older compilers out of the tree..
2006-05-10 21:53:14 +00:00
skrll 7dd5787d48 Pulls over the changes from gdb mainline to fix the cast lvalues. 2006-05-10 06:18:01 +00:00
mrg 0c37c63edc change (mostly) int to socklen_t. GCC 4 doesn't like that int and
socklen_t are different signness.
2006-05-09 20:18:05 +00:00
mrg 2427b03e9b GCC4 subdir is actually called "libstdc++-v3_4" 2006-05-09 19:29:13 +00:00
tsutsui b367369f5f Remove HACK for m68k ra-colorize.c bug in gcc-3.3.2 since current
self build (with gcc-3.3.3) on hp300 has worked fine without this.

Maybe we could remove this HACK for m68000 too, but I can't confirm it
because it's too slow even on the emulator and it's unlikely to build
whole toolchains on sun2 with its maximum 4MB RAM...
2006-05-08 14:42:22 +00:00
christos cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
wiz 09ca6f5fba Ah well, fix 3.0.1 entry too. 2006-05-03 21:43:31 +00:00
wiz 431c596f83 Fix 3.1 entry. 2006-05-03 21:43:10 +00:00
tron 73502fa292 Add NetBSD 3.0.1 and 3.1 to the list of recognized operating systems. 2006-05-03 20:56:54 +00:00
rpaulo 0dd97d141b Adapt to new html/readme files sync. 2006-04-22 16:05:16 +00:00
rpaulo 0f3bfedda4 Add AAAREADME and DB_README. Keep html files in sync. 2006-04-22 16:04:25 +00:00
rpaulo 94cc274ebe Adapt to our file location and to the files we install.
Discussed with Perry and Wietse Venema.
2006-04-22 12:56:36 +00:00
mrg 294cfe6c44 don't rebuild configure, Makefile.in or config.h.in without explicitly
asking for it.
2006-04-21 03:41:51 +00:00
skrll 61458fa35f Do a mknative run to pick up (for real) the added support for various
features.

nan is removed from libstdc++ as it's been added to libc. A major bump
is avoided as there are very few (no) examples of linkage against
libstdc++ and not against libc.
2006-04-20 20:14:05 +00:00
mrg bd52d17906 initial import of GCC 4.1 branch, from 2006-04-20. list of changes way
too large to list, but see:
	http://gcc.gnu.org/gcc-3.4/changes.html
	http://gcc.gnu.org/gcc-4.0/changes.html
	http://gcc.gnu.org/gcc-4.1/changes.html
for the details.
2006-04-20 10:19:17 +00:00
christos 2aa11212e6 Remove qmqpd again. perry will fix postfix set-permissions 2006-04-17 19:18:59 +00:00
christos f24c5c7519 Add qmqpd 2006-04-17 16:15:40 +00:00
christos 2ab3510195 Add qmqpd. 2006-04-17 16:11:20 +00:00
skrll c0d9bc63a5 Check that a .rodata section description has been provided before putting
orphan sections in it.

Closes PR/33129.
2006-04-17 07:05:17 +00:00
christos 2731b15f5e fix debug build 2006-04-09 02:52:20 +00:00
mrg 0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
rpaulo e75b544db0 resolve conflicts 2006-04-06 23:07:16 +00:00
rpaulo 53d18fe356 Postfix 2.2.10. 2006-04-06 22:55:43 +00:00
christos 6bd51d8bb0 PR/32683: Dieter Baron: gdb/i386 cannot single step of shared library functions.
Indicate that we are in the solib trampoline is when we are in the plt section
(from uwe).
2006-04-03 17:09:58 +00:00
tls bc4c5be2bf Now we use tip-as-cu, not Taylor UUCP cu.
These programs are no longer setuid, and now lock devices with flock,
not file locks in /var/spool/.  They will no longer lock against UUCP
itself unless we modify UUCP to lock with flock, but this seems highly
unlikely to be an issue in the present day.
2006-04-03 02:21:13 +00:00
christos 5a33190720 fix coverity free model. 2006-04-02 00:01:13 +00:00
he 9be7b2d54a After the latest update to <sys/time.h>, struct timezone is no longer
defined if _NETBSD_SOURCE is not defined, so comment out the definition
of HAVE_STRUCT_TIMEZONE.  Fixes build problem for vax.

Even though this file says "auto-generated, do not edit", matt said
"OK" to manually tweaking it.
2006-04-01 20:02:56 +00:00
jmc 36787e1273 Import of gnu make 3.80 for use with gcc4 cross builds.
Downloaded from ftp://ftp.gnu.org/pub/gnu/make/make-3.80.tar.gz
2006-03-29 21:09:18 +00:00
christos 353e39bc1f Add coverity annotations. 2006-03-29 16:06:25 +00:00
christos d94e5901c8 Coverity CID 2429: Don't check for NULL after deref. 2006-03-29 16:02:45 +00:00
christos e4933cdc0d Coverity CID 2496: Uninitialized var. 2006-03-29 16:01:03 +00:00
christos cb5d0e69e7 Coverity CID 1199: Unchecked open. 2006-03-29 15:55:57 +00:00
christos 391f06d4af Coverity CID 2785: Fix memory leak. 2006-03-29 15:53:20 +00:00
phil e3482ab49e Test the name array sizes before using them. 2006-03-28 19:38:44 +00:00
christos 072667be1c Coverity CID 114: If we did not find any symbol table entries, return an
error.
2006-03-26 23:00:35 +00:00
christos 9a25d0519d Coverity CID 115: Don't leak memory 2006-03-26 22:58:44 +00:00
christos d4aabd7a1f Coverity CID 1202: Always return on EOF, otherwise we would try to use
ctab[-1].
2006-03-26 22:50:48 +00:00
christos 2edd64ae3e Coverity CID 927: Check for NULL before de-referencing. 2006-03-26 22:35:07 +00:00
christos ea28a203cf Coverity CID 2361: Avoid possible NULL deref. 2006-03-26 22:20:04 +00:00
christos 600a182b2f Coverity CID 2607: Although use after free is impossible here, clarify code. 2006-03-26 22:15:21 +00:00
itojun 294eae05ea enable all address families (= IPv4 and v6), since NetBSD is IPv6-ready
with the default install.
2006-03-26 01:43:19 +00:00
christos 3f97f7ca72 Apply patch 8.13.5.p0 from sendmail.org; Although we are running 8.13.4,
this applied with mimimal fixes.
2006-03-24 16:09:01 +00:00
christos 85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
christos 6ba3c05c69 Fix krb4 compilation before ejection. 2006-03-20 00:28:44 +00:00
christos ae8f65bfac make krb4 compile before I nuke it. 2006-03-19 22:58:14 +00:00
uwe ff265b0443 In binutils 2.16 new SuperH flags were introduced. Since we still use
old gdb, teach it new flags, so that it can recognize binaries compiled
with new binutils.  For new flags set arch to an approximate superset
that this version of bfd knows about.  This is good enough for gdb.

PR port-sh3/32972
2006-03-07 02:16:23 +00:00
martin d0f2507f92 Sync with r1.5 of configure.in - somehow I seem to have managed to not
commit the equivalent change to this file last time:
"with_cpu" is a property of the target. - reset it for each config.gcc run.
2006-02-27 20:52:21 +00:00
rpaulo 7afb97ea59 resolve conflicts 2006-02-25 22:17:12 +00:00
rpaulo b540f1d62f postfix 2.2.9 2006-02-25 22:04:07 +00:00
simonb 5cfbf7bf76 Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. 2006-02-25 12:04:23 +00:00
jschauma 929e2c5c2d add missing port-ibmnws category 2006-02-20 18:27:19 +00:00
jschauma d252fffd54 add missing port-ia64 category 2006-02-20 18:15:16 +00:00
apb 1045a48c15 Merge the check_child_status function from diffutils-2.8.7.
The rest of the gnu/dist/diffutils tree remains at version 2.8.1.

Fixes PR 23162 from George Michaelson (etcupdate/sdiff report
error on applying merge edits)

Approved by wiz, christos
2006-02-18 22:42:12 +00:00
skrll a105f8f3c9 Pull in my readelf fix from binutils-current for the new EF_SH* flags.
* readelf.c (get_machine_flags): Add logic for missing EF_SH flags.
2006-02-17 13:14:25 +00:00
skrll 6003e126de Fix PR 32076 by using procfs to get details of the file when attaching
to a process.

Discussed (briefly) on tech-toolchain and OK'ed by thorpej.
2006-02-17 07:58:58 +00:00
he 91afe2706a Now that the libiberty config.h was made MD again, we need to instruct
the build of this (only done for old gcc, i.e. vax) to pick up the
config.h file from the new place.
2006-02-16 10:36:24 +00:00
dyoung efce638a8b Do not build .ps files if MKMAN=no, because nbgroff is not available. 2006-02-14 23:37:39 +00:00
wiz 8252aaa6cd Correct option name. From Takuro KUBOTA in PR 32819. 2006-02-13 21:18:35 +00:00
tron 699ad05e6e Remove created file groff_mom(7) in "cleandir" target. 2006-02-12 18:11:54 +00:00
wiz c11d7dc6e6 re-add elvis_syntax, lost in 1.2; spaces -> tab while here. 2006-02-12 01:18:05 +00:00
chs f5e8cd1d2f add a dependency for parallel make. 2006-02-12 01:04:39 +00:00
christos d881eb70dd Find penguin.ps with -I 2006-02-12 00:18:30 +00:00
christos 81cb1ea305 Simplify this:
- don't use suffix rules because they will confuse the ${.ALLSRC} target
  in the install later.
- no need to copy the .ps file locally.
2006-02-11 19:39:01 +00:00
wiz 4cee25b965 Quote .IP argument (IP only takes one). 2006-02-07 20:23:41 +00:00
skrll fcf3319fe8 Pull in a change form binutils-current that removes the gap between text
and data on mips platforms which was dragged over from the Irix defaults.

OK'd by simonb@
2006-02-07 09:10:43 +00:00
wiz fad10e9256 Disable rule to rebuild info file -- texinfo 4.7 is not up to it. 2006-02-06 23:47:36 +00:00
wiz c0c89e9a5b Remove contrib/groffer:
it breaks the tools build during installation, and I have not understood
yet, why. Since it is not needed, we shall just disable it for now.
2006-02-06 18:37:24 +00:00
wiz e873ee3cdc Correct comment. 2006-02-06 18:34:58 +00:00
wiz 3dbb52e8c6 Update for groff-1.19.2. With a little help from FreeBSD. 2006-02-06 18:29:47 +00:00
wiz 6a74fb5c3a Merge groff-1.19.2. 2006-02-06 18:25:47 +00:00
wiz 71531c59e1 Import groff 1.19.2 2006-02-06 18:10:27 +00:00
christos 56e5fb3faa add cvs2netbsd script 2006-02-04 20:16:28 +00:00
skrll d36eb258eb mknative re-run to pick up the binutils version from the sources
imported, i.e. the binutils-2.16.1 release and not the branch that
I worked with originally.

Lot of the changes are due to the update of the mknative script RCSId.
2006-02-04 17:03:02 +00:00
christos bb26d73fba Bye bye cvs 2006-02-04 16:31:25 +00:00
christos 3f2ec09c9f bye bye old cvs. 2006-02-04 16:30:30 +00:00
christos 0a1a311825 descend to xcvs 2006-02-04 16:30:04 +00:00
christos 2cd25f5744 Add all our changes:
- our kerberos support
- nolock
- setuid support / setxid in child
- avoid dangerous commands and only allow admin group to execute them
- selectable CVS directory name
- symlinked repository fixes
- log admin commands in history
- default to ssh instead of rsh
- localid keyword
- null revision on re-added files
- umask fixes
- t flag in log
- don't recursively re-enter signal error handler
- xasprintf in selected places
- ipv6 support
2006-02-04 16:29:55 +00:00
christos 56ece2a214 Add build glue and new config file. 2006-02-04 16:22:53 +00:00
christos c43c5d6f66 Import CVS-1.11.21: See the NEWS files for changes from 1.11.20 2006-02-04 15:52:40 +00:00
martin 77e0dba33e We want "traditional" abi on mips.
From Nick Hudson.
2006-02-04 12:08:22 +00:00
christos c71e1a889d bump version. 2006-02-03 16:30:13 +00:00
christos 663f146299 bump version! 2006-02-03 16:29:34 +00:00
skrll f73b0f41ba ns32k binutils mknative output. Hi Simon! 2006-02-03 16:09:16 +00:00
skrll 5bb4d25b69 Fix merge botch. 2006-02-03 09:24:20 +00:00
skrll 21db48e0fd Pull across fix from binutils-current to allow netbsd sh5 to compile. 2006-02-02 22:43:14 +00:00
skrll ad3568f537 Another conflict I didn't properly resolve. 2006-02-02 22:42:50 +00:00
skrll 7d0a5c3025 Where did that space come from? 2006-02-02 22:39:34 +00:00
skrll 97bb67a75f Oops. Resolve conflict properly.
The standard binutils behaviour wrt to plt entries and relocs is handled
by our dynamic linker so let's do that. Solaris does it this way too.
2006-02-02 22:34:37 +00:00
skrll ef26780071 Make the libiberty stuff MI again. 2006-02-02 22:26:50 +00:00
skrll f8aa39bd9d Run mknative on the new binutils. 2006-02-02 22:22:14 +00:00
skrll 42d4edf85a Pull across the fix for gas/991.
All instructions are assembled correctly with this fix.
2006-02-02 22:19:18 +00:00
skrll 8d40ee0d82 Pull across the fix for ld/1021 and ld/1031.
This has been applied to the binutils_2_16 branch.
2006-02-02 22:14:43 +00:00
skrll 1a673ba65b Resolve conflicts. 2006-02-02 22:03:55 +00:00
skrll ce836c59d8 Resolve conflicts. 2006-02-02 22:03:53 +00:00
skrll 8d2c6a4e34 Import binutils 2.16.1. 2006-02-02 20:58:06 +00:00
skrll 27523fbf84 Import binutils 2.16.1. 2006-02-02 20:47:53 +00:00
skrll a4d3423d48 Import binutils 2.16.1. 2006-02-02 20:37:52 +00:00
wiz 7ddd0cc392 error() already adds a newline at the end, so do not provide one
in its format string.
2006-01-19 17:50:33 +00:00
apb cea5941d78 Two special files that both refer to the same device should be treated
as identical.

PR 30779
Approved by christos
2006-01-14 09:18:17 +00:00
tsutsui ff0f4feb77 Add platforms not yet in groff distribution. 2006-01-11 13:37:53 +00:00
rpaulo f52f811357 Merge postfix-2.2.8. 2006-01-05 02:25:20 +00:00
rpaulo a4f3d9cc74 postfix-2.2.8 2006-01-05 02:14:08 +00:00
rpaulo b55161a942 postfix-2.2.8 2006-01-05 02:10:01 +00:00
rpaulo fa62ffe038 postfix-2.2.8 2006-01-05 02:03:43 +00:00
rpaulo c3cf58ed3d postfix-2.2.8 2006-01-05 02:01:51 +00:00
rpaulo 1a9289c1de Delete the 'auxiliary' directory. 2006-01-05 01:51:54 +00:00
uwe 4224340c16 Handle the case when control transfer instruction jumps to its own
delay slot (e.g. PLT entries use such code).  We can not set the
breakpoint there, as trapa is illegal in the delay slot.  Set the
breakpoint to the next instruction instead.  We are guaranteed to
arrive there, as control transfers are illegal in the delay slot.
2006-01-02 17:35:55 +00:00
uwe 384a271baa 2005-12-31 Valeriy E. Ushakov <uwe@NetBSD.org>
Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
	for R_SH_REL32 in shared objects if the symbol is locally called.

Makes hidden and protected symbols in shared objects work.
This will be committed to the binutils mainline.
2005-12-31 16:23:59 +00:00
christos 1dbc939feb setuserenv -> setuserenviron 2005-12-20 22:54:44 +00:00
rpaulo c03852f5b9 Merge postfix-2.2.6. 2005-12-01 21:56:55 +00:00
rpaulo dcd561871d Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:46:55 +00:00
rpaulo bb277950a4 Import postfix-2.2.6.
Changelog for 2.2.5 -> 2.2.6:

20050806

Workaround: accept(2) fails with EPROTO when the client
already disconnected (SunOS 5.5.1). File: sane_accept.c.

20050815

Workaround: old Solaris compilers can't link an archive
without globally visible symbols. File: tls/tls_misc.c.

20050922

Bugfix: the *SQL clients did not uniformly choose the
database host from the available pool of servers due to an
off-by-one error, so that the "last" available server was
not selected. Leandro Santi. Files: dict_mysql.c, dict_pgsql.c.

20050929

Paranoia: don't ignore garbage in SMTP or LMTP server replies
when ESMTP command pipelining is turned on. For example,
after sending ".<CR><LF>QUIT<CR><LF>", Postfix could recognize
the server's 2XX QUIT reply as a 2XX END-OF-DATA reply after
garbage, causing mail to be lost. The SMTP and LMTP clients
now report a remote protocol error and defer delivery.
Files: smtp/smtp_chat.c, smtp/smtp_trouble.c, lmtp/lmtp_chat.c,
lmtp/lmtp_trouble.c.

20051011

Bugfix: raise the "policy violation" flag when a client
request exceeds a concurrency or rate limit.  File:
smtpd/smtpd.c.

Bugfix (cut-and-paste error): don't reply with 421 (too
many MAIL FROM or RCPT TO commands) when we aren't closing
the connection.  File: smtpd/smtpd.c.

20051013

Bugfix: don't do smtpd_end_of_data_restrictions after the
transaction failed due to, e.g., a write error.  File:
smtpd/smtpd.c.

Cleanup: the SMTP server now enforces the message_size_limit
even when the client did not send SIZE information with the
MAIL FROM command.  This protects before-queue content
filters against over-size messages.  File: smtpd/smtpd.c.

20051105

Workaround: the next-hop logical destination information
for connection caching was reset only after a good non-TLS
connection, so that cached connections to non-TLS backup
servers could suck away traffic from TLS primary servers
(the Postfix SMTP client cannot cache an open TLS connection).
Found during code review. Fixing this requires more change
than is allowed in a stable release.  File: smtp/smtp_connect.c.

20051108

Bugfix: two messages could get the same message ID due to
a race condition. This time window was increased when queue
file creation was postponed from MAIL FROM until the first
accepted RCPT TO.  The window is closed again. Found by
Victor. Files: global/mail_stream.c, global/mail_queue.c,
cleanup/cleanup_message.c. This code is back-ported from
the Postfix 2.3 snapshot release.

20051119

Bugfix: the queue manager did not write a per-recipient
defer logfile record when the delivery agent crashed after
the initial handshake with the queue manager, and before
reporting the delivery status to the queue manager.  Files:
*qmgr/qmgr_deliver.c.

20051126

Log warning when REDIRECT, FILTER, HOLD and DISCARD are
used in smtpd_etrn_restrictions. File: smtpd/smtpd_check.c.

20051128

Bugfix: moved code around from one place to another to make
REDIRECT, FILTER, HOLD and DISCARD access(5) table actions
work in smtpd_end_of_data_restrictions.  PREPEND will not
be fixed; it must be specified before the message content
is received.  Files: smtpd/smtpd.c, smtpd/smtpd_check.c,
cleanup/cleanup_extracted.c, pickup/pickup.c.
2005-12-01 21:36:22 +00:00
skrll 77d152992d Really resolve a conflict. 2005-11-29 15:31:41 +00:00
dbj 8000972bbe . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.
2005-11-24 12:54:29 +00:00
martin eaaec6f3bf As Richard Earnshaw put it: "with_cpu is a property of the target."
Reset it to the default (command line dependend) before each turn
of "config.gcc", so each invocation gets a clean state and only the
changes from the last round persist.

This fixes the build of a sparc toolchain on a sparc64 host.
2005-11-18 08:57:04 +00:00
dsl b9a6294f9c When compiling with -Os put all strings into .rodata.str1.1 (ie byte aligned)
rather than putting those longer than 30 chars into .rodata.str1.32.
Apparantly gcc 3.4.4 has this change...
In spite of everything being compressed, this saves over 13k in the boot
floppies.
2005-11-05 18:29:53 +00:00
martin 35f890192b Oops, forgot this when switching v9 -> ultrasparc as default -mcpu 2005-10-29 20:40:45 +00:00
martin b09509e102 Switch gcc's default for sparc64 from cpu=v9 to cpu=ultrasparc. 2005-10-29 16:40:24 +00:00
jmc 16d1b947b8 Build ncdcs on everything. Allows better set sharing (and we don't exclude
other 'system specific' binaries from other builds ala sunlabel, etc)
2005-10-27 17:39:35 +00:00
rpaulo 53a26667ef Install /usr/share/doc/html/postfix/postfix-logo.jpg too since
HTML documentation needs it.

Discussed with Perry E. Metzger.
2005-10-10 15:34:30 +00:00
chs 34237b749e add a missing dependency (discovered by parallel build). 2005-10-02 17:52:22 +00:00
is 8750386a4d Allow for \H -> "address ..." substitution in PIPE ports. Useful
e.g. for generic UUCP over SSH or SSL... Idea and part of the patch
by Joerg Durchain, has apparently been integrated in Debian for a
while.
2005-09-07 12:38:16 +00:00
rpaulo 237b18c7d5 Revert back to previous version and wait for the next groff import.
Discussed with Thomas Klausner.
2005-09-05 11:42:40 +00:00
he e0b1e3f66d As discussed on source-changes, fix the library specification:
o Add ${LIBSSL} to the DPADD list, it was missing
 o Use -lcrypto and not ${LIBCRYPTO} in LDADD+=
 o Reorder libraries so -lssl comes before -lcrypto
 o Let the postfix libraries and the system libraries have their own
   LDADD+= and DPADD+= lines (this one wasn't discussed)
2005-09-04 22:11:20 +00:00
rpaulo 9dd9c0444a Add FreeBSD 4.11 and 5.4. 2005-09-01 18:39:08 +00:00
tron 251c50b7b1 Fix vulnerability reported in SA16553 using the Red Hat patch. 2005-08-25 10:00:01 +00:00
he 26122ef59f Add libcrypto for the benefit of sun2. 2005-08-21 23:00:12 +00:00
he 1ad3b58c59 We need libcrypto here as well for the benefit of sun2. 2005-08-21 22:56:05 +00:00
he 802a809508 LIBCRYPTO is also needed, fixes build on sun2 (static link only, so far). 2005-08-21 20:26:39 +00:00
rpaulo ff69469b26 Adapted to the new Postfix 2.2.5.
Reviewed by Perry E. Metzger.
2005-08-18 22:30:36 +00:00
rpaulo 5004b6fbea Added an OpenSSL version number check so that we pass the second argument to
d2i_SSL_SESSION() correctly.
From postfix-2.3-20050726.
Suggested by Wietse Venema in private email.
2005-08-18 22:29:08 +00:00
rpaulo 820935b3e1 Resolve conflicts. 2005-08-18 22:06:28 +00:00
rpaulo b4754a63ed Resolve conflicts. 2005-08-18 21:58:59 +00:00
rpaulo 3aaaf2cd89 Resolve conflicts. 2005-08-18 21:46:19 +00:00