Commit Graph

5480 Commits

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

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

nan is removed from libstdc++ as it's been added to libc. A major bump
is avoided as there are very few (no) examples of linkage against
libstdc++ and not against libc.
2006-04-20 20:14:05 +00:00