Commit Graph

59 Commits

Author SHA1 Message Date
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
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +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
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
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
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
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
scw ec53366faa Add m68k-specific `toolchain2netbsd' generated toolchain build/config files. 2001-11-05 19:10:55 +00:00
matt e42e6e66e6 Updated files from new toolchain2netbsd 2001-10-18 05:42:26 +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
matt f6225f91fb Rebuild USE_NEW_TOOLCHAIN files for vax. Add binutils, etc. .. 2001-09-08 18:26:05 +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
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 318911587e regenerate. 2001-08-15 02:44:58 +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 eda65d255d deal with no TEMPLATE_NAME being defined for a target 2001-08-10 10:39:10 +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 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
enami 5d9e26fa5b - Use PRINTOBJDIR and .WAIT where appropriate.
- Define PARALLEL in gdb/Makefile since multiple yacc might run.
2001-01-09 08:52:56 +00:00
lukem 443a19e035 convert to using .WAIT 2001-01-09 03:13:39 +00:00
mrg 613777800f don't build binutils 2.9.1 for sparc64 -- it causes issues. 2000-10-25 13:00:59 +00:00
tsutsui c539ff5d84 STRIPPROG -> STRIP 2000-02-01 06:00:35 +00:00
pk b18f44cf05 Add explicit dependency on arparse.h, so it can appear timely. 1999-10-10 13:02:32 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tv 33b2b5d5dd Add Texinfo doc. 1999-02-11 16:15:55 +00:00
tv b81603da91 Clean up and use stuff from src/gnu/lib/libbfd. 1999-02-09 19:21:53 +00:00
tv cdb87bd827 Apparently missed this commit. (!) Update binutils build structure to
binutils 2.9.1.
1999-02-06 05:27:42 +00:00
tv 19b7fecf53 Get rid of !powerpc cruft. 1999-02-02 22:05:58 +00:00
itohy d5c73c26a3 Hack "install" for non-root build. 1999-01-07 05:56:30 +00:00
kristerw 3f4b5577f4 Enable strip for a.out too 1998-12-19 23:50:15 +00:00
kristerw c4ae740a91 Enable objcopy 1998-11-21 22:54:34 +00:00
tv 9f8406c6b8 Remove objcopy from all builds until it can be used on all systems.
strip(1) is a specialized objcopy, and has an equivalent on systems which
cannot yet use binutils.
1998-09-14 17:49:21 +00:00
ross 3488d1f3c8 Descend into objcopy if ELF. Tested briefly on alpha and pmax. 1998-09-02 00:06:50 +00:00
tv df83142334 When installing, don't let "install" strip it. Do that part manually. 1998-08-27 23:32:33 +00:00
tv 6438945dcf Don't auto-generate underscore.c; that can be determined easily by
presence or absence of __ELF__.
1998-08-27 20:32:08 +00:00
tv 9973db1544 For ELF systems only, add strip. This gives up a strip binary that's not
third-party, but does unfortunately have a manpage discrepancy across
archs.  XXX.
1998-08-27 02:12:12 +00:00
tv 5e20069f49 Now that targmatch.h is fixed, select the default bfd target via
${MACHINE_GNU_ARCH}--netbsd.
1998-08-22 20:08:21 +00:00
tv 2a5b8c6a08 Pull BFD includes and libs from the right place. (Needs more cleanup.) 1998-08-22 19:03:46 +00:00
thorpej 4974175669 Don't build these programs on the PowerPC; we need to update our binutils
sources before we can do that.
1998-07-29 19:18:26 +00:00