Commit Graph

2268 Commits

Author SHA1 Message Date
mrg 1d5769dcfc switch over to mrg gzip. 2004-03-26 08:52:26 +00:00
skrll 44e60dd983 Fix forced MKPIC=no builds using the trick suggested by Luke. Thanks! 2004-03-18 19:48:15 +00:00
scw a8bb5642ca Results of mknative run with gcc3.3.3 on sh5el. 2004-03-17 09:02:06 +00:00
jdolecek c370e5310e switch awk to nawk; gawk sources will be removed after some grace period
change blessed by core@
2004-03-13 22:28:47 +00:00
skrll bda33b4f10 NO* variable re-order. No functional change. 2004-03-05 10:55:16 +00:00
wiz de65560a4a Bump PACKAGE_VERSION to 1.11.11 too, for consistency. 2004-03-04 19:57:04 +00:00
skrll d68db0e48c Oops! Remove harmless -DNH=${MKPIC} 2004-03-01 08:52:53 +00:00
wiz 15a3e59b1f Add FreeBSD 5.2 definition for ath(4). 2004-02-29 18:47:12 +00:00
skrll ce461bed68 Fix PR 24593.
XXX NOPIC and MKPIC need separating
2004-02-29 17:05:31 +00:00
skrll 0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
uwe 7a1ea12099 Work around toolchain/22489 (gcc optimization/11937) by compiling
function.c with -O0.
2004-02-22 01:24:25 +00:00
skrll f8314ad5e5 mknative sweep. mainly version string differences and STDC_HEADERs.
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
skrll 7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
skrll b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
simonb 3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
skrll 13145e5f28 Results of re-running mknative for a few MACHINE_ARCHs 2004-02-12 22:34:57 +00:00
mrg 41ba62f48c - some libgcc3/Makefile updates for new mknative
- re-run mknative for ~nearly everyone
2004-02-11 16:22:51 +00:00
mrg 0e4a80d700 regenerate with GCC 3.3.3-pre20040209.
XXX: missing vax, sh3*, hppa
2004-02-11 04:04:02 +00:00
lukem 78f3b1bf18 use uname=${BINOWN} gname=${BINGRP} instead of uname=root gname=wheel 2004-02-09 06:52:34 +00:00
lukem 5ed2a261e5 cosmetic tweaks and MAKEVERBOSE support 2004-02-08 22:23:45 +00:00
lukem 25d2de94fe Document what BROKEN_SPOOLER_FLAGS 'add 16' is for, and add it to the
default broken flags.  groff 1.19 defaulted to this value off, whereas
groff 1.18.1 and earlier defaulted to this being on.  Setting this value
fixes postscript printing to my HP LJ4m.
Note: BROKEN_SPOOLER_FLAGS was previously `7', so we were already enabling
workarounds for other issues...
2004-01-27 01:00:09 +00:00
lukem 01e14c2ace fix previous (MKSHARE=no support) 2004-01-12 01:43:54 +00:00
lukem e7f5146b76 support MKSHARE=no 2004-01-12 01:01:55 +00:00
itojun 88aff973a4 bump version to 1.11.11. sync w/ config.h.in. noted by naoki fukaumi 2004-01-04 18:37:47 +00:00
nathanw 58e744664c Enable alpha kcore support. 2004-01-02 22:42:05 +00:00
jmc ce438b1c67 Needs USETBL or the ms man page comes out wrong. 2003-12-12 06:08:30 +00:00
nathanw 243cf32568 Alpha uses software single-step. Lost in the 5.0->5.3 conversion.
Addresses PR toolchain/23672.
2003-12-11 21:06:27 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
matt cfbf1414f1 initial GCC3 support for VAX. (barely tested). No PIC support (aka no
shared libraries).  This is an initial step to full GCC3 support for VAX.
2003-12-08 03:33:13 +00:00
scw 9867e34ef7 - Work around a gcc3 ICE when building reload1.c at -O2 on sh5:
Compile reload1.c at -O1.

 - Work around a fatal warning when building function.c on sh5:
   Define NOGCCERROR to disable -Werror.
2003-12-07 19:56:59 +00:00
scw a72cb1203e MD glue for binutils on sh5. 2003-12-07 19:42:03 +00:00
simonb affca5fc17 Use -O1 to compile cppmacro.c on ns32k to avoid an ICE. 2003-12-07 12:51:43 +00:00
simonb df1bc575d0 Include gthr-single.h instead of gthr-posix.h on ns32k now. 2003-12-07 12:44:54 +00:00
scw 03aed749f0 Update for gcc 3.3.2 support (with in-tree binutils). 2003-12-07 10:02:45 +00:00
matt ed5964b611 Install the MMX/SSE/Altivec include files that gcc provides. 2003-12-05 18:56:11 +00:00
simonb 3952da3765 Add ns32k binutils 2.14 support. 2003-12-05 12:08:47 +00:00
simonb f0467a5c13 Add ns32k GCC3 support. 2003-12-05 12:05:32 +00:00
mrg 4dd4b4772e regenerate with a working compiler 2003-12-05 04:53:27 +00:00
mrg 51b0c7cbfa regenerate these such that they (mostly) work.. 2003-12-05 02:57:02 +00:00
keihan 3a8b7119a9 netbsd.org -> NetBSD.org 2003-12-04 23:32:37 +00:00
mrg 228f85d62e regenerate non-broken 2003-12-04 14:39:09 +00:00
mrg ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg 18f0c92069 delete these long long obsolete versions 2003-12-03 10:29:32 +00:00
mrg 2aa1a44c7a switch everyone to binutils 2.14. it's confirmed to work on all the
platforms that actually build at the moment...
2003-12-03 10:26:45 +00:00
mrg 099de62e9e new configurations for all supported platforms tested and known working
on these platforms so far:
	- alpha, arm, i386, mipseb, mipsel, sparc64
built but not yet tested on:
	- armeb, sparc, amd64
build errors (mostly not related) on:
	- hppa, m68000, m68k, macppc, sh3el, sh3eb, vax

XXX again this is not everything required; many other changes in
XXX already used files are left out.
2003-12-03 06:53:48 +00:00
nathanw 1a4f33e2db Move _initialize_corelow() back to before _initialize_nbsd_thread() so that
threaded core debugging is enabled.
2003-12-01 17:54:41 +00:00
simonb 9c8a6768e6 Revert 2.14 mknative (with expanded local paths!) while we're forced at
2.13.2.1; needed to get clean -current building again.
2003-11-28 05:16:19 +00:00
simonb d95b3733ab Revert part of binutils 2.14 framework; needed to get clean -current
building again.
2003-11-28 05:14:18 +00:00
mrg d409bb8e80 framework to build binutils 2.14. note lib{bfd,opcodes,iberty} framework
is moving here, keeping everything together.

tested with: vax (old config), mac68k (old config), i386 (new config)
and shark (new config).  tested i386 binaries only so far, but the
system seems to be surviving the self-hosted test.

XXX: note that this isn't *all* the bits required to run a binutils
2.14 world for arm or i386; these will come soon enough...
2003-11-27 15:02:21 +00:00
mrg 8533021b27 gdb 5.0 is gone. 2003-11-27 10:52:02 +00:00
uwe 633913b2b3 Add ifdefed inits for TUI and if 0'ed _initialize_nbsd_thread (not yet). 2003-11-24 01:59:59 +00:00
uwe c9a82b254b DEFAULT_BFD_VEC should be little endian bfd_elf32_shlnbsd_vec. 2003-11-24 01:58:22 +00:00
lukem b7b564a26d add fini.lo to CLEANFILES 2003-11-16 22:49:48 +00:00
lukem 263786182a support MAKEVERBOSE 2003-11-16 16:29:04 +00:00
lukem 59c9b264d0 Use .lo for host tool objects.
Use CPPFLAGS.file correctly (CPPFLAGS.foo.c _not_ CPPFLAGS.foo.o !)
Support MAKEVERBOSE.
Be consistent about make(1) variable use.
2003-11-16 16:24:48 +00:00
matt 8c60671ca9 Add thread support. 2003-11-10 21:59:58 +00:00
matt 0ef98a7702 Make version 5.3nb1 2003-11-10 21:49:14 +00:00
matt e2bf0dc236 Enable nbsd-thread.
Make version 5.3nb1.
2003-11-10 21:48:48 +00:00
ragge 587d7055bd Set optimizing to -O0 for vax (was -O1 before), otherwise awk
gets internal errors when used.
2003-11-08 17:17:59 +00:00
mrg 57ddb40e82 be sure to default to bfd_elf32_bigarm_vec not bfd_elf32_littlearm_vec 2003-11-07 07:31:44 +00:00
mrg 68002eaa4a build ra-colorize.c with -O0 until the bug that causes it to have dozens
of undefined references to local symbols is fixed.
2003-11-05 00:05:48 +00:00
hannken 83bd54e877 Add "target kcore" to gdb53/sparc64.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <christos@netbsd.org>
2003-11-04 19:33:39 +00:00
scw 437384a077 Regen for TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END fix in config.gcc. 2003-11-04 14:46:59 +00:00
wiz 9678ca7caa Install grohtml(1). 2003-11-03 17:05:28 +00:00
hannken 3f72313b8e Add "target kcore" to gdb53/sparc.
Taken verbatim from the old gdb in src/gnu/dist/toolchain/gdb.

Approved by: Christos Zoulas <zoulas@netbsd.org>
2003-11-02 20:59:28 +00:00
uwe 1d729d7bc4 First cut at implementing software single stepping for sh3. We need
it because sh3 ports don't provide PT_STEP.  It is finally possible to
run programs under gdb now, though there are still issues to be
resolved.  It was deemed useful enough to commit early, while the work
is still in progress.  Tested on hpcsh.

Blessed by christos@.
2003-10-31 00:11:27 +00:00
lukem ad700b72aa replace $(SHELL) with ${HOST_SH} 2003-10-28 02:51:56 +00:00
uwe 375b04dc77 Default to the little-endian bfd_elf32_shlnbsd_vec. 2003-10-28 01:58:23 +00:00
mrg e2c8806fcf compile (but not run-time) tested sh3eb-netbsdelf-gdb support. 2003-10-28 01:21:37 +00:00
uwe 398db2f8fd Item 1 - mention that you can configure and build in a scratch
directory, thus saving the trouble of doing distclean and cvs update.

Item 4 - it's defs.mk, not defs.h.

New bullet - in defs.mk set G_BFD_CPPFLAGS from `tdefaults' variable
of the generated bfd/Makefile.
2003-10-28 01:12:11 +00:00
mrg d103a27279 compile-tested sun2 support for GDB 5.3. 2003-10-27 23:56:55 +00:00
mrg 1b3f9cdd10 revert previous 2003-10-27 23:56:14 +00:00
mrg 42f41e65c7 mostly working configuration updates for sun2.
XXX - gcc3/backend/ra-colorize.c gets built wrong and the backend programs
XXX   fail to link.
XXX - mdsetimage & installboot/ffs.c get an unrecogised instruction ICE.
2003-10-27 16:55:32 +00:00
mrg a4697adcfc change "cc -dumpversion" back to "3.3.2", as per old behaviour.
should fix PR#23280.
2003-10-27 16:43:29 +00:00
mrg 2f6aa47ade compile (but not runtime) tested support for armeb-netbsdelf-gdb 5.3 2003-10-27 16:36:19 +00:00
mrg 8d8c032590 add armeb-netbsdelf GCC3 support. (not tested) 2003-10-27 01:37:08 +00:00
wiz 51677832e7 Close parentheses. 2003-10-27 00:57:04 +00:00
christos 94920a3392 Add the declarations in init.c too (mentioned by Christian Limpach) 2003-10-26 17:49:24 +00:00
christos f9f34b91b1 Add a guide on how to add new NetBSD platform support to gdb. Requested by
mrg.
2003-10-26 17:18:04 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem 857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
lukem 414f1003f0 don't need to set SHELL=/bin/sh 2003-10-26 03:49:39 +00:00
matt 6e23d936ae More fixes. 2003-10-25 19:02:07 +00:00
matt 1b7561a047 Add VAX GDB 5.3 support. 2003-10-25 18:24:58 +00:00
matt 3e45a9f0c7 Fix library order so that -static will work. 2003-10-25 18:24:23 +00:00
dmcmahill a2cc19e091 avoid trying to do "for f in ; do ..." which breaks while crosscompiling
on certain non-netbsd host.  Approved by Matthew Green, mrg at netbsd.
2003-10-25 02:42:00 +00:00
seb e8b3aed4d7 Update version reported by gcc -dumpversion: it is now `3.3.2-nb1'
not `3.3.1' as before and neither `3.3.2'.

Approved by mrg@.
2003-10-23 09:59:25 +00:00
skrll a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
wiz c8a5e4585e Enable HAVE_MKTIME manually; the configure script fails since it
checks a weird corner case.
Should fix building platforms without shared libs.
Requested by Chuck Silvers.
2003-10-20 17:07:38 +00:00
lukem 3fc127cd66 Support MAKEVERBOSE
Use ${HOST_SH}
Use BUILDSYMLINKS
2003-10-20 01:15:03 +00:00
lukem 46948f220d * Support MAKEVERBOSE
* Implement GROFFYSRCS, which contain a list of .y files to convert into
  .cpp and _tab.h.  Simplifies .y -> .cpp (et al) .
* Use "realall" target instead of "dependall"/"install" to ensure that
  various files are created correctly.
2003-10-20 00:54:36 +00:00
wiz 5e43ad3add Add 1.4.1 and 1.6.2. 2003-10-19 08:58:52 +00:00
matt 8df2ba29a1 Skip build of {binutils,cvs,gcc compilers,gdb} if
MK{BINUTILS,CVS,GCCCMDS,GDB} == no, respectively
2003-10-18 23:44:46 +00:00
lukem 9da74b23ca Don't auto-frob .y or .l files. 2003-10-16 03:33:28 +00:00
fvdl 9558d5998a Add NetBSD kcore support. 2003-10-14 22:59:59 +00:00
fvdl e67583ab9d NetBSD support for the x86_64 target. 2003-10-14 02:02:17 +00:00
chs 8868d13163 bring over the rest of the IN_SIGTRAMP() hack from the old gdb so that
gdb builds on the sun3.  jason sez "check that in, for now".
2003-10-12 01:05:36 +00:00
enami de00b9ee01 Serialize the build of backend and frontend, since the latter requires
header files created during the former is built.
2003-10-11 05:16:18 +00:00
matt 926373d2c9 Turn on HAVE_GAS_HIDDEN. 2003-10-07 02:19:18 +00:00