Commit Graph

1918 Commits

Author SHA1 Message Date
mrg 6bdbccbb59 regenerate. 2002-01-22 15:52:53 +00:00
thorpej aaa59fa5b0 Need to set NOOBJ= before bsd.own.mk is included. 2002-01-22 00:59:46 +00:00
itojun 815ede9ef4 gzip long filename buffer overrun vulnerability. from 1.2.4 -> 1.2.4b fix
http://www.securityfocus.com/bid/3712
2002-01-15 09:18:15 +00:00
wiz ca93d68d44 then -> than. 2002-01-07 14:47:37 +00:00
thorpej 2135cbaadd Oops, this is NOT a C++ program. 2002-01-01 05:16:18 +00:00
thorpej d68ee9d8e3 Per a suggestion from matthew green, PROG_CXX takes the place of
PROG for C++ programs.
2002-01-01 01:38:25 +00:00
thorpej a156b86123 Set PROG_CXX since these are C++ programs. 2002-01-01 00:27:33 +00:00
thorpej 89b1a9ca73 Introduce 3 new MK* variables that have effect in the USE_NEW_TOOLCHAIN
case:

	MKBFD	If set to "no", disables building of libbfd, libiberty,
		and all things that depend on them (binutils/gas/ld, gdb,
		dbsym, mdsetimage).

	MKGDB	If set to "no", disables bulding of gdb.

	MKGCC	If set to "no", disables building of gcc and the
		gcc-related libraries (libg2c, libgcc, libobjc, libstdc++).

These are useful for building platforms for which either of the following
situations are true:

	(1) You have no userland from which to run toolchain2netbsd
	    in order to build the appropriate toolchain build framework.

	(2) The platform which you are building requires a newer set
	    of tools than are currently in the tree (e.g. x86-64, ia64).
2001-12-31 23:04:11 +00:00
thorpej 0146257365 Set NOMAN correctly. From Andrew Brown. 2001-12-21 08:06:15 +00:00
thorpej 3778dfc4fd Build as "protoize" and "unprotoize" respectively, not "gcc" (!!). 2001-12-21 08:03:35 +00:00
thorpej 38b00971f1 Update for Alpha emulation change. 2001-12-21 02:03:20 +00:00
thorpej 1c899ee8d9 Update for changes to alphanbsd-nat.c. 2001-12-21 01:57:42 +00:00
tv 4c9a2ef7d3 * Add protoize and unprotoize. (Closes PR 6894.)
* Regen files with proper OS names and version numbers.

* Clean up toolchain2netbsd somewhat, to get it ready to be cross-host
  compatible (more work to be done here, but it's getting closer).

* Add framework for gdbreplay and gdbserver, but hold off on enabling these
  by default until low-nbsd.c is verified to work everywhere.
2001-12-19 23:54:16 +00:00
tv 14691f972b Remove COPTS+=-g. This should be set by the builder, not this Makefile. 2001-12-19 21:55:48 +00:00
thorpej 3faae759ba Allow a new-toolchain build to be done without actually building
the target "native toolchain" if BOOTSTRAP_NEW_TOOLCHAIN is set.

This is important if you don't have any userland at all, and you're
trying to make one from which you can run toolchain2netbsd.
2001-12-15 03:37:36 +00:00
thorpej 74ed46fbb4 Commit the results of running toolchain2netbsd on the Alpha. 2001-12-14 07:12:09 +00:00
thorpej 4c49d5310f No need to explicitly pull in bsd.own.mk. 2001-12-13 00:31:39 +00:00
thorpej 2152080e67 No need to pull in bsd.own.mk explicitly. 2001-12-13 00:30:28 +00:00
lukem 1b6c4afd64 move NOxxx= 2001-12-12 23:53:31 +00:00
lukem ad15078862 move NOxxx= 2001-12-12 23:46:45 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej 59ee8a3dfb Update for new sparcnbsd-nat.c 2001-12-11 04:04:35 +00:00
thorpej ed865aec36 Make absolutely sure that MACHINE is no in the environment when
the linker scripts are generated.
2001-12-11 03:56:24 +00:00
thorpej 4cb0691e2a Set G_EMUL to elf32lmip. 2001-12-11 03:55:47 +00:00
thorpej cebf842aa6 Update for changes to sp64nbsd-nat.c 2001-12-10 23:19:59 +00:00
gmcgarry b44fadc911 Add mipsel gdb build framework from mipseb. Compile-tested only. 2001-12-10 06:32:45 +00:00
gmcgarry 28cc8c307b Add G_GCOV_OBJS so gcov compiles. 2001-12-10 06:16:01 +00:00
rafal 9307d1bdb2 Add toolchain2netbsd generated files for gdb build on mipseb. 2001-12-05 05:50:43 +00:00
rafal 9b61c2acc2 Fix up `netbsdY' or `netbsdZ' in various places where toolchain2netbsd
stripped netbsd1.5[YZ] to netbsd[YZ].  toolchain2netbsd should probably
be whacked to DTRT as well.
2001-12-05 05:49:41 +00:00
martin 9bf1f40cf9 Back out replacing gawk by nawk - James Chacon already fixed gawk for
sparc64.

Sorry, next time I'll catch up with mails first.
2001-12-03 22:28:19 +00:00
martin ea1d800137 Hack: do not build gawk on sparc64 - it is known to not work when compiled
with the new toolchain.
2001-12-03 22:14:09 +00:00
thorpej b4b165d516 Add _initialize_ser_tcp 2001-11-29 18:02:00 +00:00
thorpej c32284d957 Add ser-tcp.o (manually; it was a simple change). 2001-11-29 08:36:14 +00:00
thorpej 642335f1b2 Add i386nbsd-tdep.o (added manually; it was a simple change). 2001-11-29 08:35:09 +00:00
jmc 0aba719980 A few things to make r/o source trees work that might have timestamps on the
dist .y and .c files reversed.

1. Move the .y.c and other assorted implicit rule overrides out of Makefile.inc
   and into local Makefile's. The system Makefile (bsd.sys.mk) sets up .l.c and
   .y.c rules so unless these come after all inclusions they just get ignored.

2. Add @true as the command for any of the rule overrides. Otherwise make
   still bails complaining about not knowing how to build the requisite .c or
   .h file.

This obviously wasn't tested before as it couldn't have worked as-is.
2001-11-26 18:19:47 +00:00
thorpej 21abbf17cd Add _initialize_armnbsd_nat() (didn't bother re-running the script;
this was a pretty simple manual change).
2001-11-20 02:59:46 +00:00
perry 2d02e3afad UNPRIVILEGED->UNPRIVED 2001-11-19 05:05:06 +00:00
simonb 23be609b8c New toolchain files for mipsel.
From Rafal's commit for mipseb (which applies here too):
 WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
 shared libs built by this toolchain WILL NOT WORK without either a whack
 to BFD to fix that or a patch to ld_elf.so to work around it.  I need to
 chase the binutils folks on this issue still.
2001-11-17 04:41:44 +00:00
tv 9f22792e0b No need for ${CPP}; just compile the .S if m68k || i386.
Formatting cleanup.
2001-11-13 17:26:52 +00:00
tv 6cb9463f87 Build *_tab.h as part of DPSRCS to make "make depend" work correctly. 2001-11-13 17:01:23 +00:00
tv 1cdd48fab3 Build .y.cc correctly. The .h file is supposed to be "foo_tab.h", not
"foo.tab.h", and now no longer exists in gnu/dist/groff to avoid conflicts.
2001-11-12 17:09:45 +00:00
tron 679b5ba134 Add new category "toolchain". 2001-11-11 21:14:15 +00:00
rafal 9f74cbc2da Oops, last round checked in make droppings here. Check in the actual
toolchain2netbsd generated files, though this is as of yet untested.
2001-11-08 08:20:31 +00:00
rafal f317d28b1a New toolchain files for mipseb. Mainly toolchain2netbsd output with some
changes to configuration stuff to (a) recognize `mipseb', and (b) build a
BE-default GCC on mipseb.  gprof and gdb still not done.

WARNING: Binutils 2.11.2 (maybe earlier) changed the MIPS ABI, so any
shared libs built by this toolchain WILL NOT WORK without either a whack
to BFD to fix that or a patch to ld_elf.so to work around it.  I need to
chase the binutils folks on this issue still.

That said, the new toolchain seems to work quite well once the ABI change
is worked around/fixed -- I'm committing from a machine running a user-
land built with the new compiler.
2001-11-08 07:21:53 +00:00
simonb 1adc8dd435 Don't rebuild "fini" _every_ time make(1) is run; avoids a complete
rebuild of f771 all the time.
2001-11-08 00:13:53 +00:00
scw ec53366faa Add m68k-specific `toolchain2netbsd' generated toolchain build/config files. 2001-11-05 19:10:55 +00:00
matt 37a2ed9298 Updated ARM defs.mk 2001-10-27 05:46:02 +00:00
matt e1c1698075 Regen from toolchain2netbsd 2001-10-23 16:53:45 +00:00
fredb 8dd298e978 Get the information for the "Release" field via running "uname" on the
host that's doing the filing (with a suitable comment for non-usual
cases), as suggested by Don Yuniskis in PR 14217 and lukem on tech-pkg.
Also closes PR's 13938, 14104.
2001-10-23 14:29:07 +00:00
matt e42e6e66e6 Updated files from new toolchain2netbsd 2001-10-18 05:42:26 +00:00
jmc e5447065e5 Add cpp.1 as an MLINK 2001-10-17 05:39:04 +00:00
tv e2fa0e8e96 CLEANFILES has to be set before including <bsd.prog.mk> to make sure that
clean/cleandir does its job (this should be fixed).  Work around it, and
fix some parallelism problems.
2001-10-08 23:18:11 +00:00
tv c88b6a3e03 Deal brute-force with parallelism. In order to accomodate breaking the
build in the middle and restarting on another platform (requiring atomic
host tool builds), and keep parallelism, the ".lo" rules can't be used
at all.  Instead, compile all host .c files directly into executables.
2001-10-08 22:56:31 +00:00
tv 68c509655a Single-target subdir builds no longer work at all since the introduction
of "dependall" and .WAIT; add a .WAIT here and nuke the dependencies for now.
2001-10-08 22:27:34 +00:00
aymeric fa554f783e shut up newer gcc warning about (actually mutually exclusive)
"possibly uninitialized" variables.
2001-10-08 22:11:31 +00:00
aymeric 866fad714d fix an obvious bug when loading sun relocatable objects.
When was this code last triggered?
XXX I didn't run the code, was looking for something else.
2001-10-08 22:09:20 +00:00
tv bf8eb2fc2d Generate ldcripts as "native" for a native linker. However, disable
installation into /usr/share/ldscripts at the moment, as the scripts will
no longer be shareable on all targets.  This will be tweaked at a later
date to generate "cross style" scripts for all targets (native ones are
compiled into the ld binary) so that they will indeed be shareable.

Should fix PR bin/14114, pkg/14122, and related issues.
2001-10-04 17:46:22 +00:00
wiz 456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
matt f6225f91fb Rebuild USE_NEW_TOOLCHAIN files for vax. Add binutils, etc. .. 2001-09-08 18:26:05 +00:00
wiz 798e998541 Add (commented out) some language-related FILES that could also
be installed.
2001-09-02 23:00:30 +00:00
wiz b47aecd969 Install some more locale files. 2001-09-02 22:55:58 +00:00
wiz dac7d101b7 Reduce diff to config.h created by texinfo-4.0. 2001-09-02 22:18:51 +00:00
wiz e405b87d8f Normalize man page handling: Man pages are now done in the same dir as the
program they are referring to, instead of being all done in the main
Makefile.
2001-09-02 22:16:58 +00:00
matt 33ebc9435e Regenerate so that ${DIST} is not expanded. 2001-08-30 01:31:49 +00:00
matt 61cb93c98c Commit NEW_TOOLCHAIN files. Do not attempt to use these unless you know
what you are doing!
2001-08-28 07:08:54 +00:00
thorpej bef08d29d9 Also accept (and ignore) -export-dynamic (already accepted --export-dynamic). 2001-08-26 00:02:46 +00:00
wiz 1e378c4c12 precede, not preceed. 2001-08-20 12:00:46 +00:00
matt 87cdecebcb Update new toolchain that now toolchain2netbsd has been
run natively on an ARM ELF system.
2001-08-19 17:48:49 +00:00
matt c757135288 When making the ldscripts, set MACHINE to "". elf.sc makes bad scripts
if MACHINE is set.
2001-08-19 17:19:46 +00:00
matt 4af2f898e7 preliminary new toolchain support for ARM ELF. 2001-08-19 16:21:21 +00:00
matt cd345950b6 Prelim ARM ELF support for binutils. 2001-08-19 16:18:59 +00:00
mrg 05a8e5fe04 build & install info & man page documentation. 2001-08-19 14:23:55 +00:00
mrg c5716adacf copy across our gcov.1 from egcs. 2001-08-19 14:22:24 +00:00
mrg 21207fbaae build c89 from gnu/usr.bin. 2001-08-19 14:21:02 +00:00
wiz a0831b3afc Doesn't need libz: File compression handling is done by forking gzip. 2001-08-18 14:50:03 +00:00
wiz 4b5fcdbfec Use our getopt_long. 2001-08-18 14:48:55 +00:00
mrg e6de26d11c include ../../Makefile.inc to set BINDIR. 2001-08-16 16:59:24 +00:00
mrg 318911587e regenerate. 2001-08-15 02:44:58 +00:00
tv 5e6e5d8bf4 Nuke; this was never set up to be built. 2001-08-14 07:28:46 +00:00
tv 8f264ae2fc Regen. 2001-08-14 05:18:26 +00:00
tv 75c2396dcc Regen. 2001-08-14 05:14:59 +00:00
mrg feaf6caf3c build sparc & sparc64 binutils & gdb. 2001-08-10 15:35:37 +00:00
mrg 82f7a2e6a2 build in gcc directory as well. 2001-08-10 12:34:45 +00:00
mrg a9c88b6f92 don't build in here if USE_NEW_TOOLCHAIN. 2001-08-10 12:33:55 +00:00
mrg 8d54deacdd regenerate. 2001-08-10 12:01:48 +00:00
mrg eda65d255d deal with no TEMPLATE_NAME being defined for a target 2001-08-10 10:39:10 +00:00
wiz 7a1835dd36 Fix typo. 2001-08-08 14:59:26 +00:00
tv 16083edcc0 Add new toolchain gdb build structure, in new subdir to go along with
gdbserver and gdbreplay in the future.
2001-08-06 23:28:53 +00:00
tv e7ad5cd6ce Turn this off on USE_NEW_TOOLCHAIN. 2001-08-06 20:01:23 +00:00
tv 3db6f60ffe Use target_alias without a release number; toolchain2netbsd strips this now. 2001-08-06 20:00:02 +00:00
tv 923efdf600 Add gprof. 2001-08-06 19:59:39 +00:00
tv c3c7f78d4f Add gcov. 2001-08-06 19:46:12 +00:00
tv 1ba4ad89e1 Turn this off on USE_NEW_TOOLCHAIN temporarily. 2001-08-06 19:36:58 +00:00
tv aff074824e Install ldscripts into /usr/share/ldscripts. (Currently non-unified, so the
install will only add scripts for the current target to /usr/share/ldscripts.
This will be fixed to build all applicable scripts for all NetBSD targets.)
2001-08-06 19:34:22 +00:00
tv 362f95d733 Add new toolchain binutils build structure. 2001-08-06 19:11:59 +00:00
tv 763f361733 Disable these in the case of USE_NEW_TOOLCHAIN (the new versions are
moving into the gnu/usr.bin/binutils directory to reflect GNU's
encapsulation of these packages).
2001-08-06 15:56:07 +00:00
enami c48795553f Remove a hack to copy grep.info to build it from grep.texi. 2001-08-03 14:42:35 +00:00
tv b852eb128e Revert previous. The building of the new toolchain will be determined by a
top-level automatic setting of USE_NEW_TOOLCHAIN when the rest of the stuff
is committed, and the top-level bootstrap is in place.
2001-07-30 16:04:18 +00:00
matt ee544f340c Remake with toolchain2netbsd 1.3 2001-07-28 06:51:59 +00:00