Commit Graph

2307 Commits

Author SHA1 Message Date
skrll 84e06a9d31 Act as mrg's keyboard and delete gcc 3. 2006-11-19 08:36:54 +00:00
pooka ab2346c4b0 add libpuffs 2006-11-09 01:31:11 +00:00
christos af0800f25f add a netbsd test for having stack protector in libc. 2006-11-08 22:01:36 +00:00
rpaulo 6956c21987 resolve conflicts 2006-11-07 03:09:18 +00:00
rpaulo 3bddbdfb40 Postfix 2.3.4 2006-11-07 02:54:05 +00:00
apb 7de1273d3e Fix some compiler warnings by including some headers and
not defining our own prototype for getenv.
2006-11-01 17:25:30 +00:00
apb 5169559a87 Import gkermit-1.00, from
<ftp://kermit.columbia.edu/kermit/archives/gku100.tar.gz>.

This is a small GPL-licenced version of kermit.

From the "ANNOUNCE" file:

G-Kermit is command-line only (no interactive commands or scripting) and
remote-mode only (no making connections).  It has an extremely simple user
interface, and implements a large subset of the Kermit protocol in a small
amount of highly portable code.
2006-11-01 13:03:53 +00:00
cbiere 4b14bb6309 Changed error message of ENOPROTOOPT to "Protocol option not available". 2006-10-31 00:38:06 +00:00
mrg d8a42ed9c7 merge GCC 4.1-20061021. 2006-10-22 00:41:20 +00:00
mrg 86e81e1a09 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:57:09 +00:00
mrg b738ee7f82 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:45:05 +00:00
mrg 3849e25709 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:40:12 +00:00
mrg 622e071e10 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:29:06 +00:00
mrg 2c32a05a20 import GCC 4.1 branch from 20061021.
includes fixes for these 109 GCC PR's:

 4520 13685 13983 17519 19505 20256 22209 22313 23454 24367 25211
25468 25519 25636 25636 26435 26504 26570 26719 26764 26881 26969
26983 26991 26991 26993 27075 27184 27226 27287 27287 27291 27334
27363 27428 27489 27490 27537 27558 27565 27566 27616 27639 27681
27697 27721 27724 27768 27793 27793 27795 27827 27878 27889 27893
28029 28075 28136 28148 28150 28162 28170 28187 28207 28207 28218
28221 28238 28243 28247 28257 28259 28267 28283 28286 28299 28386
28402 28403 28418 28473 28490 28493 28621 28634 28636 28649 28651
28677 28683 28726 28814 28825 28862 28900 28924 28946 28952 28960
28980 29006 29091 29119 29132 29154 29198 29230 29290 29323
2006-10-21 22:18:57 +00:00
mrg 1c6384e73d fix a merge-botch from our GCC3 fixes.
TARGET_5200 is TARGET_COLDFIRE now.
2006-10-21 05:31:41 +00:00
drochner b7e3bcb0e5 gcc4/gdb6 work well with dwarf debug symbols (at least in the example
from PR toolchain/25094), so revert the local change which made .stabs
the default
2006-10-19 18:10:38 +00:00
pavel 322d0c4e0a Update to upstream revision 1.24 by Stepan Kasal to fix a typo.
Prompted by PR misc/34850.
2006-10-18 20:46:30 +00:00
uwe 8514c96f9a Recognize SH2E from new binutils (map to sh3e vector). 2006-10-14 22:20:06 +00:00
bjh21 b78535679e Use ADDR_BITS_REMOVE on return addresses pulled from stack frames un
arm_unwind_pc().  This makes stack backtraces on acorn26 work correctly
(assuming you've done "set arm apcs32 0" first).
2006-10-14 10:42:53 +00:00
wiz 29ce0187b9 Sort options in SYNOPSIS. 2006-10-09 21:38:17 +00:00
apb 83863ce48b Man page for rcs2log, obtained from a newer version of cvs.
GPL licenced.  Thanks to rix_h in #netbsd-code.
2006-10-08 21:26:37 +00:00
apb 9a724f1a2d Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Don't use GROFF_CSH_HACK.  It would change the "#! /bin/sh" to just
  ":", and this causes trouble for some shells.  For example, if
  CONFIG_SHELL=/bin/ksh, when the groff build uses ${CONFIG_SHELL} to
  run a script that has been modified in this way, ksh sees the ":" and
  decided to run the script under /bin/sh instead.

* Use SH_SCRIPT_SED_CMD="1s,/bin/sh,${CONFIG_SHELL},"
  to edit the "#! /bin/sh" line, to ensure that scripts
  are always run under the correct shell.
2006-09-29 20:19:40 +00:00
apb 0de1d80a7e Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Use ${CONFIG_SHELL:-/bin/sh} ${rootdir}/move-if-change
  instead of just ${rootdir}/move-if-change.
2006-09-29 20:12:32 +00:00
apb da8e22116c Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Use ${CONFIG_SHELL:-/bin/sh} instead of just /bin/sh when creating
  temporary shell scripts.
2006-09-29 20:11:07 +00:00
apb cb575a16ce Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Add CONFIG_SHELL=$(SHELL) to the environment when invoking genmultilib.
  Due to substitutions made by associated configure scripts, the make
  variable $(SHELL) will actually refer to the environment variable
  ${CONFIG_SHELL}.
2006-09-29 20:10:01 +00:00
apb f90c5ef1d5 Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Explicitly use $(SHELL) to run shell scripts.

* Use SHELL = @SHELL@, not SHELL = /bin/sh.  @SHELL@ will be substituted
  by associated configure scripts, and will actually refer to the
  environment variable ${CONFIG_SHELL}.
2006-09-29 20:08:36 +00:00
matt b23fae2957 Fix problem with cross compiles on LP64 platforms. When splitting a DI
only compare against HOST_BITS_PER_WIDE_INT if TARGET_64BIT is true.
Otherwise, compare against 32 (as would happen on a IPL32 platform).
2006-09-23 19:07:19 +00:00
matt 4a7a5c53dd For thing that get a INTVAL result, make their type HOST_WIDE_INT. 2006-09-23 19:03:43 +00:00
matt 97da8b0449 Use HOST_WIDE_INT instead of long. 2006-09-23 19:00:03 +00:00
skrll 64001ed248 Our hppa userland space register convention isn't as flat as it needs to be
for MASK_NO_SPACE_REGS. The assumption is that sr4-sr7 == process space
id, but we have sr7 = kernel space id (0). This was inherited from
OpenBSD.

If sr4-sr7 == process space id, then

        ldw     %r1(,%r2),%r3
and
        ldw     %r2(,%r1),%r3

are equivlent for all values of %r1 and %r2.

If the right compat stuff is in place we can change the space register
convention and turn MASK_NO_SPACE_REGS back on.
2006-09-22 13:11:57 +00:00
cherry c53d4b12a7 Fix libgcc4 build for ia64
Change #if to #ifdef
XXX: Feed upstream ?
2006-09-21 15:13:02 +00:00
simonb a785bcc908 Remove gprof from the "native only" list so that it can be cross-built. 2006-09-13 02:42:57 +00:00
scw ddf78ea470 Check explicitly for sh5*-*-netbsd* when setting sh_multilibs. 2006-09-04 19:51:26 +00:00
mrg 56937a15b3 port the GCC3 gcc/config/ia64/netbsd.h. only change is to remove a call
to the no longer available/required NETBSD_OS_CPP_BUILTINS_LP64() macro.
2006-09-01 21:56:18 +00:00
rpaulo 955d5b2d54 fix conflicts 2006-08-27 00:47:08 +00:00
rpaulo a41b242909 postfix 2.3.3 2006-08-27 00:37:46 +00:00
matt 59b53ad312 More mips64 toolchain changes. With these changes, the mips64 toolchain
can build a mips64 kernel.
2006-08-26 20:01:29 +00:00
matt 101216a5b7 Back mips N64 changes made to wrong toolchain. 2006-08-26 14:49:56 +00:00
matt 9e051a8002 Add enough configury glue so that src/tools can build a N64 mips toolchain. 2006-08-25 23:35:04 +00:00
mrg 3e326ca14b several fixes to netbsd host support:
- look for sys/param.h, sys/sem.h, sys/ipc.h, sys/ioctl.h,
	  sys/filio.h and sys/uio.h
	- don't look for sys/isa_defs.h.  we never had one.
	- call GLIBCXX_CHECK_POLL, GLIBCXX_CHECK_S_ISREG_OR_S_IFREG and
	  GLIBCXX_CHECK_WRITEV
	- define _GLIBCXX_USE_WCHAR_T, HAVE_NL_LANGINFO, HAVE_ICONV,
	  HAVE_ICONV_CLOSE, HAVE_ICONV_OPEN, HAVE_MODF, HAVE_STRTOF
	  and HAVE_STRTOLD

still broken includes:
	_GLIBCXX_HAVE_S_IFREG, _GLIBCXX_USE_ICONV,
	_GLIBCXX_USE_NLS, _GLIBCXX_HAVE_ISWBLANK,
	_GLIBCXX_HAVE_VFWSCANF, _GLIBCXX_HAVE_VSWSCANF,
	_GLIBCXX_HAVE_VWSCANF, _GLIBCXX_HAVE_WCSTOF
2006-08-23 12:54:35 +00:00
dbj 47fc3d392b remove unused files leftover from old postfix distribution which
now cause filename case conflicts on case insensitive filesystems.
2006-08-18 17:45:05 +00:00
rpaulo 556ac1c9f9 resolve conflicts 2006-08-01 00:12:42 +00:00
rpaulo a9b05de333 postfix 2.3.2 2006-08-01 00:02:30 +00:00
christos 3399020b04 Apply the sanctioned fix for the cvs password problem from Mark D. Baushke. 2006-07-26 14:16:55 +00:00
uwe f482b86d5d gcc4 generated extremely unoptimal code for shifts of 64-bit ints on SuperH.
Pull over a fix from gcc 4.1 branch.

ok mrg@

Author: sayle
Date: Fri Jul 21 13:22:31 2006
New Revision: 115644

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115644
Log:

        PR middle-end/28283
        * expmed.c (expand_shift): Additionally check that the shift_cost
        is not MAX_COST and that INTVAL(op1) is less than MAX_BITS_PER_WORD
        before implementing a LSHIFT_EXPR as a sequence of additions.
        * config/sh/sh.c (shift_costs): Return MAX_COST to inform the
        middle-end that DImode shifts need to be synthesized by expand.


Modified:
    branches/gcc-4_1-branch/gcc/ChangeLog
    branches/gcc-4_1-branch/gcc/config/sh/sh.c
    branches/gcc-4_1-branch/gcc/expmed.c
2006-07-24 23:36:03 +00:00
christos 3dbe70d846 PR/34030: Takehiko NOZAKI: Allways allocate the cvs password returned
in the get_cvs_password() function to simplify the code and avoid leaks.
2006-07-24 18:11:19 +00:00
rpaulo c41010f900 Enable anvil and scache. By popular demand. It's also enabled by default on
postfix distribution.
2006-07-24 16:11:45 +00:00
rpaulo 05fa0e9730 update for postfix 2.3.0 2006-07-19 17:43:23 +00:00
christos 5ad2e5a717 make sure we zero the password before we free it Takehiko NOZAKI 2006-07-19 14:28:03 +00:00
rpaulo 404ed95661 Not used by postfix 2.3.0. Removed due to conflict with postconf awk script. 2006-07-19 01:56:30 +00:00
rpaulo ba10c8855d resolve conflicts 2006-07-19 01:35:39 +00:00
rpaulo e62853d300 postfix 2.3.0 2006-07-19 01:16:27 +00:00
christos 4bfcc501c1 PR/34030: Takehiko NOZAKI: double-free bugs in CVS 1.11.22
Don't free/trash the password if we did not allocate it using scramble().
2006-07-18 16:27:19 +00:00
hubertf b6e86c6a66 bug_report_url: s/netbsd/NetBSD/
OK'd by mrg@
2006-07-12 13:30:17 +00:00
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