Commit Graph

5526 Commits

Author SHA1 Message Date
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
mrg d32c431bcc - use PROG not PROG_CXX
- link with -lm -lsupc++

as discussed in the audit-trail for PR#26714, now fixed.
2006-10-09 08:32:53 +00:00
apb 8371d48da2 Install the man page for rcs2log. 2006-10-08 21:27:21 +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
skrll ef1caed8be Add m68k gdb mknative output. Untested. 2006-10-07 08:16:46 +00:00
plunky c2f3e8c67b Override the lex rules after <bsd.prog.mk> to prevent the reachover build
from trying to build arlex.c in a readonly filesystem
2006-10-05 20:40:12 +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 9130d905da Use ${HOST_SH} instead of the host system's /bin/sh wherever possible:
* Pass MAKE and CONFIG_SHELL in the environment to configure scripts
  that are run as part of the gcc3 and gcc4 build.
2006-09-29 20:14:10 +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
drochner a007a48303 make this build with ro srcdir: ignore yacc-generated files in dist 2006-09-27 18:37:41 +00:00
mrg 27ffbf35e9 add a link to www.NetBSD.org/Gnats/, as suggested in PR#10628. 2006-09-24 06:09:29 +00:00
mrg 2b2c191ef8 be explicit about the need for a subject: header. should handle PR#10628. 2006-09-24 06:06:23 +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
wiz df07ad58a8 Install aliases(5) from postfix, since the sendmail one is gone,
but we refer to it from various other man pages.
2006-09-19 20:10:22 +00:00
cherry ebd1964a09 Bootstrap for ia64 2006-09-14 23:48:28 +00:00
wiz d6915480eb Do not use tabs in this file -- this breaks output. Use spaces instead. 2006-09-14 23:23:56 +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 959fd76ef8 Add gcc4 mknative files for sh5el. 2006-09-04 20:01:28 +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 481ac4be37 Change PROG to xcvs and PROGNAME to cvs.
Builds xcvs binary but installs using cvs filename.

Another fix for case-insensitive file systems, approved by Christos.
2006-08-31 22:31:45 +00:00
mrg eb4b398a46 regenerate. (largely from dsl@, thanks.) libstdc++ should support
wide characters properly again now, for everyone.
2006-08-28 09:26:59 +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 063c6908bc regenerate with many fixes in libstdc++-v3 configury. 2006-08-24 10:28:07 +00:00
mrg 4f8b9b11de regenerate with recent wchar/iconv fixes. 2006-08-23 20:47:02 +00:00
mrg fb8e7a5b18 regenerate with partly-fixed gcc4/libstdc++-v3 configury. 2006-08-23 12:55:01 +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 2e90509055 Install postfix-manuals.html. 2006-08-14 21:35:38 +00:00
christos c7f3802937 default to ssh. 2006-08-11 19:02:37 +00:00
tron 7595743fb0 Add NetBSD 5.0. 2006-08-08 08:30:11 +00:00
riz 28e4bae07d Bump default to 4.0 2006-08-08 05:42:24 +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
tsutsui a7be7dcdc1 MKDEBUG -> MKDEBUGLIB 2006-07-23 03:27:09 +00:00
rpaulo 840793ef61 Enable Dovecot SASL support in smtpd.
Discussed with Perry.
2006-07-20 01:00:52 +00:00
rpaulo a320656c9d Include libxsasl. 2006-07-19 23:53:11 +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 7c9edc22f1 framework for postfix 2.3.0 2006-07-19 02:04:43 +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
tron 85fccc00b0 Remove C++ sources which are linked into the build area in "cleandir"
target. This fixes problems when trying to build another architecture
in the same source tree without using object dirs.
2006-07-16 19:54:21 +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 459b0bb03d set up native build for powerpc64 2006-07-10 23:16:34 +00:00
ross 78811b2bfb Support powerpc64 2006-07-10 23:06:51 +00:00
ross 028c9feb3f build simulator for powerpc64 2006-07-10 23:01:56 +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
wiz 091ad264de Add libprop. Closes PR 33943 by Nicolas Joly. 2006-07-08 04:44:09 +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 0d145f62a4 regenerate with fixed gcc configury and libc 2006-07-07 08:38:40 +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 049148f698 for PowerPC64, use -mlong-double-128 when building libgcc. 2006-07-06 21:39:44 +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 2f9635ff9a regenerate with fixed armeb configury 2006-07-06 00:26:39 +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
nathanw 300e182521 Rearrange slightly to pick up dependancies better. 2006-07-04 21:48:20 +00:00
tron 720f8f8c5b Remove "gcc-vers.texi" in "cleandir" target. 2006-07-04 18:28:00 +00:00
tron 0eda04c460 Remove "cs-tconfig.h" in "cleandir" target. 2006-07-04 18:26:18 +00:00
nathanw 89279db7f6 Remove redundant (and now conflicting) old bfd.h. 2006-07-03 15:33:34 +00:00
nathanw 302a8a8f01 Regenerate for GDB 6.5. 2006-07-03 00:34:33 +00:00
mrg aacdf51747 regenerate 2006-07-03 00:24:45 +00:00
mrg 9dc3b6767c don't need rs6000/netbsd.h twice. 2006-07-03 00:19:08 +00:00
nathanw ab4dec7536 Regenerate for GDB 6.5. 2006-07-03 00:01:25 +00:00
mrg 700bddfd36 regenerate 2006-07-02 23:05:45 +00:00
mrg 3b92ffadb2 these aren't used and probably won't be so clean them up. 2006-07-02 22:35:51 +00:00
mrg 09ffbd262e regenerate 2006-07-02 22:23:09 +00:00
mrg e5c6e6a9ab regenerate 2006-07-02 22:12:09 +00:00
mrg 15e1fa39fd regenerate 2006-07-02 21:46:28 +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
mrg 3056cc0cf1 regenerate 2006-07-02 09:17:20 +00:00
mrg a61b5bf841 regenerate. 2006-07-02 07:04:41 +00:00
matt 054488ff6f Use tramp.asm, not tramp.S 2006-07-02 02:18:08 +00:00
mrg 291f9292a5 regenerate 2006-07-02 01:26:32 +00:00
mrg a9550b25ec regenerate 2006-07-01 21:55:44 +00:00
mrg 96a5a9b8ad regenerate. 2006-07-01 21:48:00 +00:00
mrg 4fd452c734 build cc1{,obj,plus}-checksum.c properly. pre-compiled headers use it. 2006-07-01 19:06:50 +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
mrg e7473eb25e regenerate these. 2006-07-01 05:53:13 +00:00
mrg 5f4bf87665 mknative binutils for powerpc64 2006-06-30 22:48:14 +00:00
mrg 9eade63ded don't build _mulsc3.o, _muldc3.o, _mulxc3.o, _multc3.o, _divsc3.o,
_divdc3.o, _divxc3.o or _divtc3.o for vax, since they depend on
__builtin_inf which does not exist there.
2006-06-30 12:01:57 +00:00
mrg 93720dafdf mknative files for vax / gcc4. 2006-06-30 11:59:36 +00:00
mrg 50ee1514c8 regenerate mknative for armeb. 2006-06-30 03:00:34 +00:00
mrg 5842bdbd43 run mknative for powerpc64. 2006-06-30 02:54:50 +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 6fb2cf40a5 regenerate. 2006-06-27 03:00:08 +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 dfd0a157a5 regenerate for arm 2006-06-26 20:40:41 +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
mrg 0d4ef31ba8 regenerate arm, sh3el (now properly working) and sh3eb (not yet
properly working.)
2006-06-26 19:54:03 +00:00
wiz e34dc7a23f Update version numbers to sync with latest import. 2006-06-26 19:49:46 +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
mrg b94c4de11c change ggc-none.o to build-ggc-none.o in G_BUILD_RTL.
(avoids running mknative 16 times...)
2006-06-25 03:10:01 +00:00
mrg 2e81d433f5 clean gcov-iov{,.h} and insn-preds.c.
fix dependancies for build-ggc-none.lo and ggc-none.o.
2006-06-25 03:08:54 +00:00
mrg c1f26e8c41 regenerate hppa mknative files. this mostly works but i have to
compile significant portions of the tree at -O1 instead of -O2, and
sometimes -Os/-O0 is required, and others none works.  i'd guess that
some instructions in the .md file are generating more assembler than
they claim to be since all these errors are due too large offsets.

but fixing that is work for someone else, or at least another day :-)
2006-06-24 12:58:42 +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
christos d150ecb1e1 add HAVE_GDB transitional build variable. 2006-06-23 21:51:42 +00:00
mrg 5378eb2368 factor out the unwind.h building code. use it for libgcc itself (needed
when there is no libgcc_s.)

add dependancies for the generated arch/defs.mk to optionlist.
2006-06-23 17:27:08 +00:00
mrg 9dcea3dbff add GCC4 mknative files for sun2. seems to build ok.. 2006-06-23 07:48:45 +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
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
dogcow 444e690921 Remove various dotfiles that wandered their way in. 2006-06-18 08:59:39 +00:00
skrll 19e53faf30 More files changes in mknative re-run. I'm still cheating with
src/tools/gcc/Makefile
2006-06-12 11:45:33 +00:00
skrll 09e99a2e51 Re-run mknative for the gcc 3.3.6 import. There's a bit of cheating going
on here - mainly the use of an old src/tools/gcc/Makefile.
2006-06-12 08:00:22 +00:00
rillig 2e91b4b8d5 The shell variable $@ should never be used without surrounding "quotes". 2006-06-09 10:11:44 +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 314025d505 add ${G_md_file} files as dependancies for tm-preds.h and insn-pred.h.
this should fix some build problems that happened with UPDATE=1 and
the newer GCC 4.1.
2006-06-04 04:37:47 +00:00
mrg 98983484cf remove a comment that isn't really valid. 2006-06-04 02:30:56 +00:00
mrg 100e6c8e21 actually use the local generated options.h rather than the empty version
from the libgcc build dir.  this should fix powerpc build issues.
2006-06-03 22:40:38 +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
mrg db19e89e04 remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
mrg d91ef09809 make GCC3 work for vax - without shared library support. 2006-06-02 20:00:37 +00:00
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