Commit Graph

2303 Commits

Author SHA1 Message Date
dan
33b0624dcd 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 simonb@ who pointed me at rev 1.4 where he'd
corrected the same wrong assumption.
2006-07-11 07:32:07 +00:00
dan
9c66a2d708 pull in fix for gccpr 28016 from svn rev 114739:
Do not emit uninstantiated static data members.

this addresses C++ issues that broke linkage of programs using several
boost libraries, including monotone.

bump nb version accordingly

discussed with and committed by request of mrg@
2006-07-11 07:22:58 +00:00
ross
43f265ec70 Redefine RS6000_CPU_CPP_ENDIAN_BUILTINS() the same way powerpc does
to eliminate the _BIG_ENDIAN builtin which conflicts with our endian.h

XXX for now, define MASK_PROFILE_KERNEL here XXX
2006-07-10 22:58:58 +00:00
jnemeth
8021a8f195 correct NetBSD capitalisation 2006-07-10 22:51:51 +00:00
ross
a19b59e14b include <string.h> if available 2006-07-10 22:34:32 +00:00
ross
c2a38ad59c fix LP64 issue in os_time 2006-07-10 22:32:48 +00:00
ross
d4e54ee4f4 map host info into gdb_host for powerpc64-*-netbsd 2006-07-10 22:31:24 +00:00
drochner
fbb15488c4 Call ldemul_finish() before lang_check_section_addresses(), as done
in binutils-current, rev.1.224.
ldemul_finish() might change section addresses/lengths, so this change
makes sure it is really the final output which is checked.

This fixes problems loading LKMs on alpha and amd64, reported by
Dave Huang per PR bin/33909. I could reproduce it myself on alpha.
2006-07-10 17:42:16 +00:00
matt
8d5953af19 Define FRAME_POINTER_CFA_OFFSET since it is a constant 0 since VAX *always*
has a valid frame pointer.
2006-07-08 00:29:59 +00:00
mrg
e8f235719e also use the "config/netbsd.h" definition of NETBSD_LIB_SPEC for netbsd. 2006-07-07 00:11:06 +00:00
mrg
ad04044dda define the NetBSD start/end/link specs in terms of the ones from
"config/netbsd-elf.h", not some local definitions (that are wrong.)
2006-07-06 21:39:06 +00:00
mrg
5457f6307c do not use crtsavres 2006-07-06 21:38:14 +00:00
mrg
c3465e58a9 oops, forgot to bump the NetBSD GCC date with the last import. 2006-07-06 15:34:43 +00:00
mrg
9ffa9806b4 make this look slightly more like linux64.h. remove some unused stuff.
don't set a default rs6000_ieeequad.  now libgcc builds.
2006-07-06 10:47:37 +00:00
mrg
eb505c78cc make powerpc64-netbsd:
- not include rs6000/netbsd.h
- include biarch64.h at the start of tm_file, like powerpc64-linux does
- include the linux kernel profiling flag option (though profiling is
  currently busted in general)
2006-07-06 10:24:20 +00:00
mrg
31a7fdbc10 don't set a default rs6000_ieeequad on NetBSD just as Linux. 2006-07-06 10:21:03 +00:00
mrg
4ec585fc16 fix this for non-netbsd targets. 2006-07-06 10:13:52 +00:00
mrg
2ad4576456 do not rebuild .info files in the netbsd tree. 2006-07-06 01:38:51 +00:00
mrg
8b8880930c for armeb, TARGET_ENDIAN_DEFAULT now needs to be set to MASK_BIG_END. 2006-07-06 00:25:34 +00:00
mrg
9dc3b6767c don't need rs6000/netbsd.h twice. 2006-07-03 00:19:08 +00:00
nathanw
91bd36a208 Merge local changes and removed files. 2006-07-02 21:04:40 +00:00
nathanw
668a234ead Import GDB 6.5 2006-07-02 20:21:54 +00:00
nathanw
c8002faec9 Import GDB 6.5 2006-07-02 20:11:53 +00:00
matt
054488ff6f Use tramp.asm, not tramp.S 2006-07-02 02:18:08 +00:00
christos
6975d36437 Fix write kcore support. 2006-07-01 14:54:02 +00:00
mrg
b4a57177e4 update the "building for netbsd cross target list" of defined functions. 2006-07-01 06:00:04 +00:00
skrll
7e7e19dfc2 Pull in fix from binutils-current that allows -shared and -static to be
used together again. This is something that ld.elf_so did/will use.
2006-06-29 19:27:41 +00:00
mrg
f7ccc44eb0 merge GCC 4.1-20060628. 2006-06-28 19:12:29 +00:00
mrg
3b31e3040a import GCC 4.1 branch from 20060628.
this includes new fixes for the these 40 GCC PRs:

21210 22541 25161 26223 26347 26559 27020 27082 27158 27177
27227 27421 27601 27648 27665 27666 27689 27722 27733 27781
27790 27793 27802 27806 27807 27819 27821 27830 27842 27858
27861 27884 27933 27951 27959 28045 28109 28110 28112 28151
2006-06-28 12:10:26 +00:00
mrg
e35e1713f9 allow sh-*-* as a valid sh configuration. now need_64bit_hwint=yes is
set for sh--netbsdelf, and sh3eb works.

XXX: annoyingly, this is needed in both gcc/config.gcc and
XXX: libcpp/configure*, and if just gcc/config.gcc is done, the
XXX: compiler will not work at all..
2006-06-27 02:59:09 +00:00
mrg
c82d87f94d - match sh*-netbsdelf* as well as sh-*netbsdelf*.
- test(1) does not have a == operator; replace it with =
2006-06-26 22:39:16 +00:00
mrg
20e25ea492 consolidate the sh*netbsd* targets into sh*l* and sh*. 2006-06-26 22:33:42 +00:00
mrg
62855b1d65 match 'shle-*' as being a sh platform, and try it's TLS code. with
this shle--netbsdelf configure's almost the same as sh--netbsdelf,
and the only unexpected difference remains in sh--netbsdelf files.
2006-06-26 19:56:17 +00:00
wiz
789f1d2877 Revert last chunk of previous: makes build work again.
Suggested by skrll@, ok moof.
2006-06-26 19:41:01 +00:00
dogcow
62f312bd4b revision 115002 from svn gcc; fixes PR/33816 (on my system, at least.) 2006-06-26 00:33:11 +00:00
mrg
0d6fef01af apply a patch from pa-linux.h. makes branch offsets work properly.
now hp7000 builds userland.  from skrll@.
2006-06-25 05:10:33 +00:00
christos
9f7792294c Reflect reality so I don't get confused on the next import [like I did this
time and imported on the wrong vendor branch!]
2006-06-23 22:45:40 +00:00
christos
831d7fa82a merge conflicts.
XXX: hack configure so that it works with the removal with the tools and
other os's. Perhaps in the future we should not do such cleanup.
2006-06-23 22:44:10 +00:00
christos
88d4285ac6 ftp ftp.gnu.org:/pub/non-gnu 2006-06-23 22:25:51 +00:00
mrg
0a294bff2f oops, powerpc64-netbsd should not include rs6000/netbsd.h. 2006-06-22 21:14:04 +00:00
mrg
1e5c7c79bc initial powerpc64-netbsd GCC configuration. this is only very minimally
tested and is not nearly ready for general use.

based on the 64 bit linux and 32 bit netbsd configurations.
2006-06-22 20:05:44 +00:00
dogcow
444e690921 Remove various dotfiles that wandered their way in. 2006-06-18 08:59:39 +00:00
christos
64bfe27594 One more coverity fix from Mark D. Baushke 2006-06-07 15:10:04 +00:00
skrll
dc4d6d7016 Backport the fix(es) for bootstrap/14992.
--as-needed can only be used with libgcc on Linux so update configure to
only test for --as-needed on Linux.

I've manually added the change to configure until I get the right set of
autofoo tools.
2006-06-05 12:40:07 +00:00
skrll
f93fb46540 Merge gcc 3.3.6 2006-06-05 12:25:58 +00:00
skrll
549c70ea2b Import gcc 3.3.6.
144 gcc bugs were fixed between 3.3.3 and 3.3.6.
2006-06-05 10:59:57 +00:00
mrg
6eca184761 bump NetBSD date 2006-06-03 07:40:16 +00:00
mrg
291b71d314 merge GCC 4.1.1-20060602. 2006-06-03 07:17:11 +00:00
mrg
ac4333ea1b import GCC 4.1 branch from today. it includes these bugs fixed since
our last 4.1 branch import, plus a few other changes:
	c/27718 26242 c++/27451 c/26818 tree-optimization/26622
	target/27758 middle-end/27743 middle-end/27620
	tree-optimization/27549 tree-optimization/27283
	target/26600 c++/26757 driver/26885 tree-optimization/27603
	rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
	rtl-optimization/27335 target/27421 middle-end/27384
	middle-end/27488 target/27158 bootstrap/26872 target/26545
	tree-optimization/27136 tree-optimization/27409 middle-end/27260
	tree-optimization/27151 target/26481 target/26765
	target/26481 tree-optimization/27285 optimization/25985
	tree-optimization/27364 c/25309 target/27387 target/27374
	middle-end/26565 target/26826 tree-optimization/27236
	middle-end/26869 tree-optimization/27218 rtl-optimization/26685
	tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
	mudflap/26789
2006-06-03 05:43:09 +00:00
mrg
6346714276 import GCC 4.1 branch from today. it includes these bugs fixed since
our last 4.1 branch import, plus a few other changes:
	c/27718 26242 c++/27451 c/26818 tree-optimization/26622
	target/27758 middle-end/27743 middle-end/27620
	tree-optimization/27549 tree-optimization/27283
	target/26600 c++/26757 driver/26885 tree-optimization/27603
	rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
	rtl-optimization/27335 target/27421 middle-end/27384
	middle-end/27488 target/27158 bootstrap/26872 target/26545
	tree-optimization/27136 tree-optimization/27409 middle-end/27260
	tree-optimization/27151 target/26481 target/26765
	target/26481 tree-optimization/27285 optimization/25985
	tree-optimization/27364 c/25309 target/27387 target/27374
	middle-end/26565 target/26826 tree-optimization/27236
	middle-end/26869 tree-optimization/27218 rtl-optimization/26685
	tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
	mudflap/26789
2006-06-03 05:31:50 +00:00
mrg
761e8f140b import GCC 4.1 branch from today. it includes these bugs fixed since
our last 4.1 branch import, plus a few other changes:
	c/27718 26242 c++/27451 c/26818 tree-optimization/26622
	target/27758 middle-end/27743 middle-end/27620
	tree-optimization/27549 tree-optimization/27283
	target/26600 c++/26757 driver/26885 tree-optimization/27603
	rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
	rtl-optimization/27335 target/27421 middle-end/27384
	middle-end/27488 target/27158 bootstrap/26872 target/26545
	tree-optimization/27136 tree-optimization/27409 middle-end/27260
	tree-optimization/27151 target/26481 target/26765
	target/26481 tree-optimization/27285 optimization/25985
	tree-optimization/27364 c/25309 target/27387 target/27374
	middle-end/26565 target/26826 tree-optimization/27236
	middle-end/26869 tree-optimization/27218 rtl-optimization/26685
	tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
	mudflap/26789
2006-06-03 05:21:35 +00:00
mrg
1083f0866d import GCC 4.1 branch from today. it includes these bugs fixed since
our last 4.1 branch import, plus a few other changes:
	c/27718 26242 c++/27451 c/26818 tree-optimization/26622
	target/27758 middle-end/27743 middle-end/27620
	tree-optimization/27549 tree-optimization/27283
	target/26600 c++/26757 driver/26885 tree-optimization/27603
	rtl-optimization/14261 rtl-optimization/22563 middle-end/26729
	rtl-optimization/27335 target/27421 middle-end/27384
	middle-end/27488 target/27158 bootstrap/26872 target/26545
	tree-optimization/27136 tree-optimization/27409 middle-end/27260
	tree-optimization/27151 target/26481 target/26765
	target/26481 tree-optimization/27285 optimization/25985
	tree-optimization/27364 c/25309 target/27387 target/27374
	middle-end/26565 target/26826 tree-optimization/27236
	middle-end/26869 tree-optimization/27218 rtl-optimization/26685
	tree-optimization/26865 target/26961 target/21283 c/26774 c/25875
	mudflap/26789
2006-06-03 05:11:23 +00:00
mrg
bd88defe28 delete GCC2.95.3 sources. 2006-06-02 22:17:11 +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
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
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
christos
2cbaed172f Remove sendmail. 2006-05-30 00:42:29 +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
christos
d25db4db59 Coverity fixes from Mark D. Baushke 2006-05-27 03:01:09 +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
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
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
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
99fe721972 fix a merge-botch for CC1_SPEC32. now we have {} balance. 2006-05-19 22:38:44 +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
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
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
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
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
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
skrll
7dd5787d48 Pulls over the changes from gdb mainline to fix the cast lvalues. 2006-05-10 06:18:01 +00:00
christos
cd037c90cb Coverity fixes upstream from Mark D. Baushke 2006-05-04 15:39:34 +00:00
rpaulo
0dd97d141b Adapt to new html/readme files sync. 2006-04-22 16:05:16 +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
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
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
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
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
phil
e3482ab49e Test the name array sizes before using them. 2006-03-28 19:38:44 +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
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
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
wiz
8252aaa6cd Correct option name. From Takuro KUBOTA in PR 32819. 2006-02-13 21:18:35 +00:00
chs
f5e8cd1d2f add a dependency for parallel make. 2006-02-12 01:04:39 +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
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
christos
bb26d73fba Bye bye cvs 2006-02-04 16:31:25 +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
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
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
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
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
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
b09509e102 Switch gcc's default for sparc64 from cpu=v9 to cpu=ultrasparc. 2005-10-29 16:40:24 +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
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
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
rpaulo
a5c1167790 Resolve conflicts. 2005-08-18 21:33:04 +00:00
rpaulo
259d7fd128 Import Postfix-2.2.5. 2005-08-18 21:07:25 +00:00
rpaulo
f55b2b19ea Import Postfix-2.2.5. 2005-08-18 21:00:20 +00:00
rpaulo
802682af7a Improved wording and removed double whitespaces. 2005-08-18 12:25:56 +00:00
skrll
784c9344e8 Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes
from me.
2005-08-17 07:13:32 +00:00
nathanw
55bd561796 nbsd_thread_resume(): make sure that we've been passed a thread ID in
ptid before invoking the suspend-all-but-this-thread logic. Otherwise,
when passed an LWP (as a result of 1.15 making LWPs the primary
identifier of live execution contexts), we try to suspend everything,
which goes poorly.
2005-08-16 22:07:12 +00:00
peter
a9b411c198 Change all .Xr config 8 to .Xr config 1, following the recent move of
config from usr.sbin -> usr.bin.

Reviewed by wiz.
2005-06-20 13:25:23 +00:00
tron
e1ec153e47 Backout the last two revisions. These changes should have been applied to
"src/gnu/usr.bin/groff/tmac/mdoc.local". Pointed out by wizd(8) in
private e-mail.
2005-06-02 15:44:20 +00:00
tron
87269b5e72 Add NetBSD 4.0. 2005-06-02 15:26:43 +00:00
thorpej
c3fe994ea5 Disable the man subdirs. We don't need them for tree builds, and they
can break the tools builds due to timestamp issues.  Discussed with Luke
Mewburn.
2005-05-30 01:32:44 +00:00
agc
b67ff462a3 Now that rl_callback_handler_install's argument has been fixed to conform
to the readline interface, no need to cast it erroneously for libedit.
2005-05-27 15:34:16 +00:00
skrll
313049f061 Allow AS and OBJDUMP to override the detected assembler and objdump. 2005-05-20 07:08:07 +00:00
christos
25a293877a Don't be pedantic about requiring things to be ordinary files. Handle
character special devices specially so that eg. nm /dev/ksyms works.
2005-05-16 03:24:44 +00:00
thorpej
a790d15184 Resolve some more conflicts. 2005-05-16 02:11:04 +00:00
christos
b290747a50 Fix the second place where the CHAR_MIN test was used. 2005-05-02 03:54:24 +00:00
christos
0534825a44 Simplify the previous patch. 2005-05-02 00:45:08 +00:00
riz
e09f32d58e Only test if a char is >= 0x00 when CHAR_MIN is < 0, so gcc doesn't
warn about the comparison always being true.  Fixes build for macppc
target.

Problem noted by me, analysis and fix from Thomas Klausner.

Approved by wiz.
2005-05-01 16:21:07 +00:00
christos
593f2057dc Avoid compiler bug on 64 bit machines. 2005-04-29 16:00:31 +00:00
christos
e43cef87fc Merge conflicts. 2005-04-29 15:20:13 +00:00
christos
e770a46755 ftp ftp.gnu.org 2005-04-29 15:05:03 +00:00