Commit Graph

55 Commits

Author SHA1 Message Date
thorpej
2812f0e978 Kludge to make old toolchain builds work again after the NOxxx changes. 2001-12-14 16:55:14 +00:00
thorpej
74ed46fbb4 Commit the results of running toolchain2netbsd on the Alpha. 2001-12-14 07:12:09 +00:00
thorpej
5722ce0152 Make LIB2FUNCS_EH work like the rest of LIB2FUNCS, and clean
up the special rules required to build those objects.
2001-12-12 17:27:50 +00:00
lukem
4c650ea52b we need a .c file to build _eh.{o,so,po} from, so add libgcc2.c back
in as a source for the rules.
2001-12-12 09:30:55 +00:00
lukem
22cf1d253e pull in <bsd.own.mk> after NOLINT is defined, so that MKLINT=no is
correctly determined
2001-12-12 08:58:45 +00:00
tv
8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
thorpej
cf11c3964c Fix building of _eh.o and friends. 2001-12-11 23:43:04 +00:00
jmc
d08eaff246 While gcc may automatically add -fexecptions to c++ code it will only do that
for files named .cc or .C. _eh gets generated into a .c file so we need
explicit rules for it's targets (.o .po and .so) to compile it correctly.

Without this exceptions just plain don't work. Nothing ever gets caught.
2001-12-02 12:23:52 +00:00
jmc
3508f7583d Need -msoft-quad-float on sparc64 as double->int promote to quad math. 2001-12-02 03:06:55 +00:00
tv
8eb663859b Make the .cc->NULL transform do nothing (so that "exception.cc" doesn't
get compiled into "exception" during "make includes").
2001-11-28 14:29:13 +00:00
tv
d5533f8e6c PIC me! PIC me! (libgcc_pic.a)
...And while we're at it, add a profiled libgcc too.

Use the "generate .c files and let <bsd.lib.mk> sort it out" method
for compiling these libraries.  Only one real divergence (-fexceptions)
existed, but exceptions are turned on for C++ code by default in gcc
2.95.3, so this option was redundant anyway.
2001-11-28 04:39:55 +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
ec5a9a312e Add REQUIRETOOLS to make version-specific new toolchain compiler libs fail
to build if USETOOLS is set to "no" by the builder.  (Sanity check; as an
override, USETOOLS may be set to "never", but see warnings in BUILDING.)
2001-10-31 16:27:31 +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
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
14c389e8b1 regenerate 2001-08-10 12:41:19 +00:00
matt
f88f89f0d4 Update/add new files for powerpc with USE_NEW_TOOLCHAIN 2001-08-10 06:44:06 +00:00
mrg
19a0a03e84 install the C++ headers with the new toolchain. 2001-08-09 16:10:56 +00:00
matt
faa73ac4d2 Regen new toolchain ARM ELF files with toolchain2netbsd.
Include libg2c, libobjc, libstdc++ ARM ELF config files.
2001-07-28 06:57:07 +00:00
mrg
4c86457e13 regenerate. 2001-07-26 11:30:07 +00:00
mrg
160521eb33 install the C++ libgcc headers (exception, new, new.h & typeinfo.) 2001-07-26 11:28:21 +00:00
matt
c8e381be8c Adding VAX gcc 2.95.3 (ELF). 2001-07-20 04:59:06 +00:00
matt
5ac8a0b7ba powerpc support for 2.95.3 2001-07-19 22:13:23 +00:00
mrg
4523fd67d7 build a mipsel-netbsd gcc & libgcc. 2001-07-19 18:35:22 +00:00
matt
acfa102212 Rework Makefile (perhaps not optimally) to keep all ojbects in ${.OBJDIR}.
Due to SRCS containing directories, the objects went in those same
directories.
2001-07-19 18:06:19 +00:00
matt
ac07e0c6c6 ARMELF support for libgcc 2001-07-19 15:33:09 +00:00
mrg
3963922c9b build a sparc libgcc 2001-07-19 15:16:39 +00:00
tv
178c5459ad Another missing ${.CURDIR}. 2001-07-19 12:51:05 +00:00
mrg
8666107a13 build a sparc64 libgcc. 2001-07-19 12:39:26 +00:00
mrg
ba4c57fc10 opdel.o needs to be built with -DL_op_delete, not -DL_op_del. add a special
rule for this...
2001-07-19 06:14:27 +00:00
tv
d370057cd9 Add a missing ${.CURDIR}. 2001-07-18 20:20:01 +00:00
tv
0b01c492fb i386 libgcc makefile bits from toolchain2netbsd. 2001-07-18 18:29:17 +00:00
tv
f59cc167de Add build structure for the new gnu/dist/toolchain/gcc based libgcc, preserving
old structure for now in an .if based on USE_NEW_TOOLCHAIN.
2001-07-18 18:29:02 +00:00
matt
a126663857 Compile fixu* for MACHINE_ARCH of arm 2001-07-13 19:54:28 +00:00
itojun
99b0df5333 use MACIHNE_CPU to determine architecture-dependent source code directory.
is use of exists(foo) safe enough?
TODO: many other places to fix
2001-01-08 08:29:59 +00:00
itojun
8bd2552493 sh3 split 2001-01-04 09:11:47 +00:00
itojun
8145e73c70 sh3 split 2001-01-04 08:59:24 +00:00
matt
c18fd403d1 Add __udiv_w_sdiv for VAX. gnupg requires it. And since it's a libgcc
function it makes sense to put it in libgcc.
2000-11-20 05:47:41 +00:00
msaitoh
8ca9f7f132 fix one of the two fixunsdfsi with fixunssfsi 2000-08-21 14:05:25 +00:00
msaitoh
e2509d0d3e add _fixunsdfsi.o and _fixunsdfsi.o when MACHINE_ARCH= sh3 or arm26 2000-08-17 00:28:07 +00:00
shin
ac9896415f remove MIPS SOFTFLOAT. 2000-03-05 05:41:03 +00:00
takemura
cdabc2eb91 Hpcmips needs completely FPU instruction free user land.
XXX, this modification is kinda ad-hoc.
1999-09-29 13:19:13 +00:00
drochner
7ccfa38c7a make this build after mips->mipse? transition 1999-02-24 17:18:26 +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
mrg
009d565122 fix style nit in previous. 1998-11-23 09:29:56 +00:00