Commit Graph

39 Commits

Author SHA1 Message Date
fvdl 0135fe160a x86_64 gcc3 and binutils glue. Not yet used. 2003-09-07 21:24:53 +00:00
mrg 57b205e71d in-tree toolchain support for sh5el. not really tested yet, but it
seems to mostly work..  libcurses.so fails to link with an out of memory
error i haven't looked at yet, and nothing has actually been run..

XXX: gdb53 missing.
2003-09-04 04:34:14 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
thorpej 9ece9fecbc Run mknative to regenerate for binutils 2.13.2.1. 2003-05-26 02:18:01 +00:00
thorpej 590fe82698 Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
2003-04-11 22:46:02 +00:00
mrg bcc7fbc456 regenerate all this files with correct man_MANS and TEXINFO, and 'generated
from' lines.  this should fix set lists problems with missing binutils man
pages and info manual.
2003-03-05 07:19:13 +00:00
mrg 331f9d9c1a update / regenerate for binutils 2.13.2.1 2003-03-01 13:09:11 +00:00
lukem 0ac69ffac4 - use NETBSDSRCDIR as appropriate
- makefile lint (moving NOxx to top of file,
  include <bsd.own.mk> as necessary, ...)
2002-09-19 03:09:31 +00:00
thorpej d0a26f03be Add native toolchain bits for "armeb" (big-endian ARM). 2002-05-20 15:05:07 +00:00
thorpej 2b3592c48e Add armelfb_nbsd linker emulation. 2002-05-20 14:53:54 +00:00
fredette 99db91e2e0 Add m68000-specific `toolchain2netbsd' generated toolchain build/config files. 2002-03-22 00:07:45 +00:00
tv ac1299bdfb New toolchain infrastructure for sh3eb, generated with mknative. 2002-02-27 18:45:14 +00:00
tv b69d8cc8b2 New toolchain framework for sh3el platforms, generated with mknative. 2002-02-27 17:10:09 +00:00
mrg 6bdbccbb59 regenerate. 2002-01-22 15:52:53 +00:00
thorpej 38b00971f1 Update for Alpha emulation change. 2001-12-21 02:03:20 +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
thorpej 74ed46fbb4 Commit the results of running toolchain2netbsd on the Alpha. 2001-12-14 07:12:09 +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
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 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
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
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 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