Commit Graph

3185 Commits

Author SHA1 Message Date
mrg 4ccab74b56 enable dwarf2 exception handling. 2001-08-09 16:08:46 +00:00
mrg 8655405d18 call this GDB 5.0-nb1 2001-08-09 16:07:20 +00:00
itojun 3c86caea97 sync wth 20010228-pl04. 2001-08-09 08:10:17 +00:00
itojun 48a8a26166 postfix 20010228-pl04 2001-08-09 07:59:02 +00:00
tsubai e89a6ab2cd Add powerpc-*-netbsd support. 2001-08-08 21:33:45 +00:00
wiz 7a1835dd36 Fix typo. 2001-08-08 14:59:26 +00:00
tv b15841eee9 Add MKPIC=no explicitly for old-toolchain build structure, to avoid shlib
version mismatch with new toolchain.
2001-08-07 03:28:07 +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 1ac83e35b9 Add gdb bits (but not yet gdbserver/gdbreplay). 2001-08-06 23:26:28 +00:00
tv 1b95f4bdaf Cast &readline_line_completion_function to a (Function *) to make it the
proper fully qualified ANSI type.

XXX: Cast it again to a (void *) because libedit's readline emulation thinks
that rl_completion_entry_function should be a (CPFunction *) -- perhaps more
correct, but it breaks compatibility.  libedit might be better to change to
conform to what readline wants.
2001-08-06 22:50:07 +00:00
tv 13eedd3c97 Update nm and tm files to <> include syntax too. 2001-08-06 22:37:30 +00:00
tv 6d6211445a Use <> instead of "" for including the common xm-nbsd.h, to avoid possible
include path confusion (since these files are named the same but in
different directories).
2001-08-06 22:16:57 +00:00
tv 9bc2e4cc45 Don't make init.c depend on $(INIT_FILES); this causes a build of all .o's
before grepping through .c's can begin.  Instead, depend on Makefile.
2001-08-06 21:37:30 +00:00
tv 55613cc1a4 Add mips support from gnu/dist/gprof. 2001-08-06 20:13:28 +00:00
tv 8066c02b8c ldfile.h now needs to be included before ldemul.h. 2001-08-06 20:05:48 +00:00
tv bae83eee9b Merge manpage changes for gprof from gnu/dist/gprof. 2001-08-06 20:05:16 +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 29c91043c8 Add bits for gcov and gprof; strip version number from target_alias in ld
before going into defs.mk.
2001-08-06 19:58:25 +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 51bac62604 Add binutils fragments. 2001-08-06 19:33:11 +00:00
tv 362f95d733 Add new toolchain binutils build structure. 2001-08-06 19:11:59 +00:00
tv fa1ff75b0b Add a missing const to squelch a gcc warning/error. 2001-08-06 18:00:55 +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
tv e9a42fcb22 Re-add these files; they're needed by the old-toolchain bfd build until
that has been nuked.
2001-08-06 15:49:42 +00:00
tv a70f325713 BFD library for new toolchain. Currently uses the non-unified layout; once
several architectures are available, I'll test and add the unified layout
bits.
2001-08-06 15:47:17 +00:00
tv 6acda9b510 Remove a = to += transform for libbfd. 2001-08-06 15:31:23 +00:00
mrg a630fd8b23 dwarf2 exceptions work on sparc & sparc64 now. 2001-08-05 18:45:57 +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
thorpej 7b96659b6c Add ldmxcsr/stmxcsr insns. 2001-08-03 00:44:39 +00:00
bjh21 d019eb1665 Correct resolution of R_ARM_REL32 relocations. They were being resolved
relative to the start of the section rather than the location of the
relocation.  This made differences of two symbols in different files stop
working.

I believe GCC never generates this kind of relocation, which is why this bug
hasn't surfaced before.

This patch has been sent to <bug-gnu-utils@gnu.org>.
2001-08-02 23:35:00 +00:00
thorpej 528686cb43 Add the "fxsave" and "fxrstor" insns. 2001-08-02 18:47:09 +00:00
itojun 3d03bdc5ce sync with 8.11.5. 2001-08-01 03:27:31 +00:00
itojun bb79953585 sendmail 8.11.5 2001-08-01 02:49:58 +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 36dc943f75 Change ARM-ELF to LP64 friendly types. 2001-07-28 07:42:28 +00:00
matt 71986448fd Don't make libstdc++ with old toolchain on ARM ELF 2001-07-28 06:59:02 +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
matt ee544f340c Remake with toolchain2netbsd 1.3 2001-07-28 06:51:59 +00:00
eeh 508945a491 Let profiling binaries be built without requiring special options. 2001-07-27 23:05:11 +00:00
eeh 905da8170b Build the sparc64 compiler for a change. 2001-07-27 23:01:22 +00:00
mrg e662284883 include <unistd.h> on NetBSD to get vfork() prototype (rename) 2001-07-26 17:18:39 +00:00
mrg c9a8c7833a build new sparc & sparc64 fortran libraries. 2001-07-26 11:40:26 +00:00
mrg 7aa1593d24 build new sparc & sparc64 objective c libraries. 2001-07-26 11:36:05 +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 9edddea9c5 Nuke -D__KPRINTF_ATTRIBUTE__ 2001-07-26 07:27:59 +00:00
assar aba70549ed fix merge left-overs 2001-07-25 17:40:09 +00:00
assar e4ab707ade update build infrastructure for texinfo 4.0 2001-07-25 16:47:50 +00:00
assar 017bc8c2e8 merge texinfo-4.0 2001-07-25 16:46:19 +00:00
assar dac62dcd99 Import texinfo 4.0 2001-07-25 16:20:30 +00:00
aymeric 6919941456 include <link_aout.h>, which is needed at least when building a cross-linker 2001-07-25 11:59:22 +00:00
aymeric d2b58bf21f Make it possible to compile a cross-linker by just defining TARGET_MACHINE_ARCH
to the desired architecture.

Note that this is for the old ld of the old toolchain.
2001-07-25 11:58:04 +00:00
itojun ff1a865b9f there's no binmail(1). PR 13549 2001-07-25 00:16:04 +00:00
tv 87c9b9136c Add missing dependency on ${G_md_file} for host tools, noticed by matt@. 2001-07-24 21:16:08 +00:00
tv f6709db6c6 Add new toolchain build structure for libg2c, libobjc, and libstdc++.
Note that old build system still exists under .if conditionals; this
will be removed once all platforms are using the new toolchain.
2001-07-24 19:44:47 +00:00
tv b224b62a84 Add config segments for libg2c, libobjc, and libstdc++. 2001-07-24 19:39:52 +00:00
mrg eb80d6af65 s/SPARC/UltraSPARC/ in a comment. 2001-07-22 12:20:29 +00:00
mrg 041c56a6d7 fix LINK_SPEC 2001-07-21 13:48:40 +00:00
mrg febe7ce944 - clean up more after <mips/elf.h> lossage, including killing the forced
support for "__main" (really __gccmain for mips), and the ctors/dtors
lists associated with this.
- add -G to SWITCH_TAKES_ARG(), so `-G 0' works as well as `-G0'
- add support for .init, .fini and .rodata (const) sections (basically
merging the generic ELF support with the MIPS support.)

kernel links and runs happily now.
2001-07-20 18:15:33 +00:00
matt 593fff9e8d Default elf32 for vax to have a NetBSD OSABI. Allow for Linux/VAX to get
an Linux OSABI.
2001-07-20 11:57:48 +00:00
matt cdb827bd00 Fix the polarity of a test. 2001-07-20 07:12:06 +00:00
matt e2fd07f958 Fix another warning. 2001-07-20 05:21:50 +00:00
matt 1cf42fcda9 Fix warning. 2001-07-20 05:16:56 +00:00
matt c8e381be8c Adding VAX gcc 2.95.3 (ELF). 2001-07-20 04:59:06 +00:00
mrg 5877244037 set MIPS_DEFAULT_GVALUE to 0. undefine DWARF_FRAME_REGNUM,
DWARF_FRAME_RETURN_COLUMN and INCOMING_RETURN_ADDR_RTX so GCC doesn't think
we have dwarf2 unwind info support.  now this mostly works, though c++
exceptions seem to bus error...
2001-07-19 23:43:37 +00:00
mrg b82cf772de don't do dwarf2 eh if not DWARF2_UNWIND_INFO 2001-07-19 23:41:12 +00:00
matt 5ac8a0b7ba powerpc support for 2.95.3 2001-07-19 22:13:23 +00:00
mrg 337651a310 make this actually work: use <mips/elf.h> and <netbsd.h>, plus a few
little twiddles.
2001-07-19 18:37:38 +00:00
mrg 4523fd67d7 build a mipsel-netbsd gcc & libgcc. 2001-07-19 18:35:22 +00:00
matt 77315351bc Fix a warning (missing const). 2001-07-19 18:31:57 +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
matt 3847d1eab8 ARM support for -liberty 2001-07-19 15:30:36 +00:00
matt 15d3102358 Initial 2.95.3 support for ARM-ELF. 2001-07-19 15:27:16 +00:00
mrg c88bdb3273 build a sparc (elf) gcc 2.95.3 2001-07-19 15:20:13 +00:00
mrg 4acc89ca46 build sparc libiberty. 2001-07-19 15:17:59 +00:00
mrg 3963922c9b build a sparc libgcc 2001-07-19 15:16:39 +00:00
matt 8251c8dd77 Don't emit JUMP_SLOT at all (match behave of gas-current for arm). 2001-07-19 14:55:51 +00:00
mrg ac4b8b619b mipsel libiberty. 2001-07-19 13:46:14 +00:00
mrg 96b4d81d72 sparc64 libiberty. 2001-07-19 13:45:09 +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
mrg 4331a0fffa freshly generated sparc64 config that seems able to build a working c & c++
compiler....  now we just need binutils & gdb :)
2001-07-19 00:54:24 +00:00
tv 0dfc6a96e1 These two files make .PATH:ing a PITA, because they have the same names as
those in libU77.  These versions aren't used anymore; nuke 'em.
2001-07-18 20:42:58 +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
tv 652e52ca13 Use g++spec.c, not cppspec.c. (Thinko.) 2001-07-18 18:25:29 +00:00
tv 77c3a78e27 Regen. 2001-07-18 18:17:58 +00:00
tv f94113d0f7 Add CCCP_OBJS to the getvars list for gcc/Makefile. 2001-07-18 18:17:20 +00:00
tv f392296088 Fix BINDIR/MKMAN. 2001-07-18 14:02:43 +00:00
tv 75050b108b Add cpp and cpp0. 2001-07-18 14:02:26 +00:00
tv 9bfd60ec3d Add frontend /usr/bin/cpp (now a real binary) and /usr/libexec/cpp0
(formerly /usr/libexec/cpp).
2001-07-18 14:01:14 +00:00
tv 8ee0a1461c Fix links and manpages. 2001-07-18 14:00:11 +00:00
tv 865939c423 Make "make depend" work correctly. 2001-07-18 13:59:17 +00:00