Commit Graph

2553 Commits

Author SHA1 Message Date
jdc 80c18fce28 Allow ada-exp.c and c-exp.c to be built when using a read-only source tree. 2006-11-28 13:44:52 +00:00
skrll f509028063 Provide a nbsd_pid_to_exec_file to assist with attach in a similar way
to the change I made to gdb 5.3.

Use on i386. Others to follow.
2006-11-25 16:38:51 +00:00
skrll dc5413fadf More fixes from mknative re-run. 2006-11-25 16:24:42 +00:00
skrll 4e99498a2e Various fixes from mknative re-run. 2006-11-25 16:22:59 +00:00
skrll 768e889c8b Delete more gcc3 stuff. 2006-11-20 17:08:35 +00:00
skrll c68684eefc Use GNUHOSTDIST to reference config.guess instead of an incorrect relative
path.

Fixes PR 35078 from Henning Petersen
2006-11-20 07:13:36 +00:00
he f60bf42ff6 Insert a .WAIT between ppc (which makes -lpsim) and psim itself, in an
attempt to fix the build failures exposed by autobuild doing -j 8.
2006-11-18 20:19:24 +00:00
christos 64f067eaa0 sprinke -Wno-stack-protector 2006-11-12 01:24:44 +00:00
christos 98e199228a Sprinkle -Wno-stack-protector. Gnu programs use too much alloca :-) 2006-11-10 17:36:08 +00:00
christos 2d8fd6a6dd Sprinkle -Wno-stack-protector 2006-11-09 21:27:58 +00:00
christos 5a7bf522f9 Turn on TARGET_LIBC_PROVIDES_SSP; next time someone regenerates them, it will
work fine; it is not worth chewing hours of cpu to rebuild those right now.
2006-11-08 22:03:19 +00:00
skrll 1d68e44fcf Remove the hack that compiles dfa.c with -O1 on hppa. -O2 works fine. 2006-11-01 17:10:36 +00:00
apb 649ed3876d SUBDIR += gkermit 2006-11-01 13:18:03 +00:00
apb 184243bdcc Add reachover build for gkermit. 2006-11-01 13:17:38 +00:00
mrg 6348cc61a8 regenerate mknative-gcc files for powerpc64-netbsd and GCC 4.1-20061021. 2006-10-24 05:57:31 +00:00
mrg e1850e2121 regenerate mknative-gcc files for GCC 4.1-20061021. 2006-10-23 07:01:19 +00:00
mrg 8d4305f309 regenerate mknative-gcc fies for GCC 4.1-20061021.
(some of these are not 100% tested yet, but they are have the
right changes as the tested platforms.)
2006-10-22 23:27:23 +00:00
mrg d7bc6234aa regenerate powerpc and sparc64 mknative files for GCC 4.1-20061021. 2006-10-22 20:01:41 +00:00
apb 4d8a51bb25 Add .y.c and .y.h rules to prevent re-running yacc/bison.
This should fix PR 34196 and PR 34831.
2006-10-21 21:05:57 +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
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 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
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
wiz d6915480eb Do not use tabs in this file -- this breaks output. Use spaces instead. 2006-09-14 23:23:56 +00:00
scw 959fd76ef8 Add gcc4 mknative files for sh5el. 2006-09-04 20:01:28 +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 063c6908bc regenerate with many fixes in libstdc++-v3 configury. 2006-08-24 10:28:07 +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
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
wiz 091ad264de Add libprop. Closes PR 33943 by Nicolas Joly. 2006-07-08 04:44:09 +00:00
mrg 0d145f62a4 regenerate with fixed gcc configury and libc 2006-07-07 08:38:40 +00:00
mrg 2f9635ff9a regenerate with fixed armeb configury 2006-07-06 00:26:39 +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
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
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 15e1fa39fd regenerate 2006-07-02 21:46:28 +00:00
mrg 3056cc0cf1 regenerate 2006-07-02 09:17:20 +00:00
mrg a61b5bf841 regenerate. 2006-07-02 07:04:41 +00:00
mrg 291f9292a5 regenerate 2006-07-02 01:26:32 +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
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 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
mrg 6fb2cf40a5 regenerate. 2006-06-27 03:00:08 +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
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 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
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
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
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 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
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
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
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 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
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 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 e9d0e73f70 generated sh5 mknative GCC4 files. seems to build ok, but as-yet untested. 2006-05-20 20:36:03 +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 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 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 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 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
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
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
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
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
skrll 61458fa35f Do a mknative run to pick up (for real) the added support for various
features.

nan is removed from libstdc++ as it's been added to libc. A major bump
is avoided as there are very few (no) examples of linkage against
libstdc++ and not against libc.
2006-04-20 20:14:05 +00:00
mrg 0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
christos d4aabd7a1f Coverity CID 1202: Always return on EOF, otherwise we would try to use
ctab[-1].
2006-03-26 22:50:48 +00:00
christos 2edd64ae3e Coverity CID 927: Check for NULL before de-referencing. 2006-03-26 22:35:07 +00:00
christos ea28a203cf Coverity CID 2361: Avoid possible NULL deref. 2006-03-26 22:20:04 +00:00
christos 600a182b2f Coverity CID 2607: Although use after free is impossible here, clarify code. 2006-03-26 22:15:21 +00:00
christos 85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
simonb 5cfbf7bf76 Use MKPRIVATELIB instead of NOLINKLIB/NOMAN/NOPIC/NOLINT. 2006-02-25 12:04:23 +00:00
jschauma 929e2c5c2d add missing port-ibmnws category 2006-02-20 18:27:19 +00:00
jschauma d252fffd54 add missing port-ia64 category 2006-02-20 18:15:16 +00:00
skrll 6003e126de Fix PR 32076 by using procfs to get details of the file when attaching
to a process.

Discussed (briefly) on tech-toolchain and OK'ed by thorpej.
2006-02-17 07:58:58 +00:00
dyoung efce638a8b Do not build .ps files if MKMAN=no, because nbgroff is not available. 2006-02-14 23:37:39 +00:00
tron 699ad05e6e Remove created file groff_mom(7) in "cleandir" target. 2006-02-12 18:11:54 +00:00
wiz c11d7dc6e6 re-add elvis_syntax, lost in 1.2; spaces -> tab while here. 2006-02-12 01:18:05 +00:00
christos d881eb70dd Find penguin.ps with -I 2006-02-12 00:18:30 +00:00
christos 81cb1ea305 Simplify this:
- don't use suffix rules because they will confuse the ${.ALLSRC} target
  in the install later.
- no need to copy the .ps file locally.
2006-02-11 19:39:01 +00:00
wiz e873ee3cdc Correct comment. 2006-02-06 18:34:58 +00:00
wiz 3dbb52e8c6 Update for groff-1.19.2. With a little help from FreeBSD. 2006-02-06 18:29:47 +00:00
skrll d36eb258eb mknative re-run to pick up the binutils version from the sources
imported, i.e. the binutils-2.16.1 release and not the branch that
I worked with originally.

Lot of the changes are due to the update of the mknative script RCSId.
2006-02-04 17:03:02 +00:00
christos 3f2ec09c9f bye bye old cvs. 2006-02-04 16:30:30 +00:00
christos 0a1a311825 descend to xcvs 2006-02-04 16:30:04 +00:00
christos 56ece2a214 Add build glue and new config file. 2006-02-04 16:22:53 +00:00
skrll f73b0f41ba ns32k binutils mknative output. Hi Simon! 2006-02-03 16:09:16 +00:00