Commit Graph

316 Commits

Author SHA1 Message Date
matt 89f233dee8 Not all architecures are IEEE math. Don't define IEEE_drem on VAX. 1998-10-20 18:11:04 +00:00
tv 38d1dc7ea7 Only build on gcc 2.7.x. 1998-10-14 15:05:30 +00:00
christos 0291468ee4 Fix reversed test 1998-09-27 18:48:10 +00:00
christos a4aadf1ce4 Make this work as intended (when we don't have egcs or gcc-2.8x then
include the c++ builtin crap). Although libgcc2.c does not compile
properly with the old compiler so this does not work.
1998-09-27 18:05:10 +00:00
tv a2e65ee4f1 Nuke libg++, leaving only libstdc++ for GCC 2.7-based systems. 1998-09-13 22:23:02 +00:00
tv cd40dfec9f Use tconfig.j to get the proper type definitions. 1998-09-13 20:32:04 +00:00
tv c60c781fa3 Remove asprintf() and vasprintf(), and bump sparc back to 32 bits (until
gdb is updated, at least).
1998-08-29 16:09:56 +00:00
tv 5cc01b9a2b Add NetBSD rcsids. 1998-08-28 22:38:25 +00:00
tv 7eeb6fe5fd Don't try building anything in here on gcc 2.7 bootstrap. 1998-08-28 22:36:56 +00:00
tv 7fc231d281 Move some things from SRCS to OBJS so as not to build them at depend time. 1998-08-28 19:05:54 +00:00
tv a6542a91dc Update libiberty to the one shipped with egcs. Minor number
bump--interfaces added, but none changed or removed.
1998-08-28 16:47:13 +00:00
tv 6c55ff04c2 Re-enable egcs libraries: libg2c, libgcc, libobjc, libstdc++. 1998-08-28 15:34:24 +00:00
tv aa06e255fa Update to egcs 1.1-snap's libstdc++. Now shlib version 2.0. Now requires
"make includes" before "make" like other libraries.
1998-08-28 15:31:29 +00:00
tv e7e7954ff4 Install Obj-C includes, found by <veego@netbsd.org>. 1998-08-27 21:37:52 +00:00
tv 705363981e Bah; nuke "machine/" from bfd include path. This shouldn't have been part
of the commit (or part of the Makefile, for that matter).
1998-08-24 16:32:48 +00:00
frueauf 781d14e780 Add missing \, pointed out by Frederick Bruckman <fb@enteract.com>. 1998-08-23 20:57:45 +00:00
simonb 32a1e28254 Add missing \ to the end of a few lines. 1998-08-23 04:42:33 +00:00
tv 2ddcde0613 Use "long long" as the 64 bit quantity to satisfy gdb. 1998-08-22 20:32:02 +00:00
tv e8efde1ec4 For the benefit of gdb, include <sys/types.h> unconditionally. 1998-08-22 20:24:31 +00:00
tv d46528eaba ELF systems still need a file-based workaround for "libbfd.c" as that
would otherwise generate the wrong "libbfd.so".
1998-08-22 19:39:23 +00:00
tv 4a51dc3df9 Revamp the libbfd build process. Massive cleanup, enable 64 bit support
on SPARC, and use includes (or dynamically built ones) from dist.
1998-08-22 19:02:10 +00:00
tv b22efa9a4b Clean bfd.h on "make clean". 1998-08-21 21:12:19 +00:00
tv 053c6819b7 Automatically generate bfd.h. 1998-08-21 21:11:02 +00:00
tv f122239ef3 Use a pointer, not an array, for bfd_target_vector, working around our
linker bogozity.  (So that the array can grow and shrink without
relinking.)
1998-08-21 02:06:09 +00:00
tv 82f867274b Kill HOST_CFLAGS and justify NOLINT. 1998-08-18 17:42:59 +00:00
tv df595c72cd Be pedantic; use "${OBJC}" to find the ObjC compiler.
Depend all instances of sendmsg.{o,so,po} on runtime-info.h.
1998-08-18 17:38:38 +00:00
tv 0f38668150 Depend shared and profiled objects on g2c.h. 1998-08-18 17:26:36 +00:00
tv 00a8c57db1 Add libg2c (the new name for libf2c). Builds fine, though has some nits
on LP64 that need working out.
1998-08-18 17:25:32 +00:00
tv ee336ece94 Add libobjc as a separate component of egcs. Now also has a shared
library (rather minimally sized).
1998-08-18 14:02:35 +00:00
tv 17698d8b59 Add libgcc from gnu/dist/gcc (egcs 1.1 snapshot). 1998-08-17 17:06:59 +00:00
tv 3817858f82 Turn off the egcs bits while the 1.1 import and build verifications are
taking place.
1998-08-16 17:16:00 +00:00
tv a66a06cd19 libf2c is now libg2c in egcs 1.1. 1998-08-16 17:13:48 +00:00
thorpej c4bd81c249 Do not build this version of libbfd on the PowerPC. 1998-07-29 19:04:16 +00:00
tron b3c53533a0 Add "beforedepend" target to fix PR lib/5862. 1998-07-29 11:05:26 +00:00
tv dfeb862ca8 Add definitions for mipseb and mipsel, and remove mips. Map Pmake's
MACHINE_ARCH definition of mips to mipsel.
1998-07-27 01:03:48 +00:00
mycroft 8321e6eb66 No need for libreadline any more. 1998-07-25 11:21:24 +00:00
mycroft ab77ad5ad3 We don't need this any more. 1998-07-25 11:20:40 +00:00
mycroft dde7581d31 This file is not used. 1998-07-25 05:37:13 +00:00
thorpej 84c26d49f4 Add elf32-i386 target. 1998-07-18 01:00:17 +00:00
thorpej e97c021b99 Update to match config.bfd. 1998-07-12 19:15:21 +00:00
thorpej 33872f4fd5 Update for change to m68k4k NetBSD target. 1998-07-12 19:09:29 +00:00
thorpej 2921f683ae Add elf32-m68k support. 1998-07-12 18:53:31 +00:00
tv 3c9123a555 Add ELF32 support for reading and writing. ELF64 not yet working (may
require import of 2.9.1 first).
1998-07-01 02:12:11 +00:00
tv 1f999e261f Increment minor version to indicate addition of proper ar(1) support. 1998-05-25 20:24:37 +00:00
tv f970339892 Fix botched assumptions about alignment of data elements: files are
aligned, but on word-at-filesize bytes instead of word-at-filedatasize
bytes.  That's actually a bug in binutils 2.8.1 wrt 4.4BSD archives that is
fixed here.
1998-05-25 18:57:23 +00:00
tv da925af9ad Integrate NetBSD arm32 diffs for gdb. Now compiles and works `out of the
box'.  Use new GNU_ARCH remapper.
1998-05-22 17:17:59 +00:00
tv 170952480e Make archives work for both 4.4BSD a.out and SVR4 ELF style archives:
introduce a flag that tells bfd not to align ar(1) headers on word
boundaries.
1998-05-22 14:08:22 +00:00
tv 296206fdb8 Workaround nm and .c.a bogons by renaming libbfd.c to lib_bfd.c explicitly 1998-05-22 03:26:28 +00:00
tv f5f26ced19 Enable building libbfd for arm32, and use new source files. 1998-05-19 19:59:58 +00:00
mycroft 0b01550a65 Run gen-params to build _G_config.h at build time. 1998-05-06 11:59:09 +00:00
tv 24dc95d50d Add the .cc(.NULL) overrid used for libgcc 1998-04-12 14:18:41 +00:00
veego 7eff266c41 Add a cleandir target to the clean target. 1998-04-12 13:59:28 +00:00
tv cd87299ab8 add NOLINT 1998-04-10 19:35:22 +00:00
tv 09339bcf7b Fix fix for compiling under gcc 2.7. 1998-04-09 01:32:08 +00:00
tv 263bb693f0 Make libstdc++ skip build without bombing if the bootstrap compiler is gcc
2.7 and not egcs.
1998-04-09 00:06:09 +00:00
tv 38aa1f3401 Build gcc stuff unless USE_EGCS is set (transitional mechanism) 1998-04-09 00:05:14 +00:00
tv 24d49e55a0 Some sources and includes missing, and stl includes install directly into
/usr/include/g++ (not /stl).
1998-04-08 23:39:05 +00:00
tv 07b4e86106 Reengineering of libf2c as a single library (which g77 expects). Includes
a GNU-like "config.h" to make the librare correctly compatible with
NetBSD.
1998-04-03 21:04:33 +00:00
tv 92af5566c0 Remove split libf2c, in preparation for a properly merged libf2c. 1998-04-03 16:32:27 +00:00
mrg 3ada186343 build a shared library, new major version from old. XXX 1998-04-02 05:56:34 +00:00
mrg a2f0e60db6 add shlib_version files 1998-03-31 02:56:43 +00:00
mrg 7d1a6f60e4 support for building fortran libraries. 1998-03-30 03:06:39 +00:00
mrg 85e2ec8154 add fortran library support. 1998-03-30 03:00:19 +00:00
mrg 6e7bb89951 building libstdc++ from the egcs sources in gnu/dist/gcc... 1998-03-29 11:40:13 +00:00
cgd 3319009221 thise gdb doesn't build on the arm32, so don't build it or its libraries. 1998-03-16 18:30:44 +00:00
jonathan 12986acb08 Mips uses ELF. Add !defined(__mips) to the toolchain-dependent
``#ifndef __alpha''s in  _G_config.h and to the source in libg++2netbsd.
1998-02-26 02:26:27 +00:00
mellon c8ddea2651 Names have no underscores both on Alpha and on mips (from Jonathan) 1998-02-25 18:06:24 +00:00
cgd 0924c4443d Make sure the reason that NOLINT is set is documented. Additionally
in places where it should be set (or has to be set right now), do so.
1998-02-19 02:17:05 +00:00
mycroft bfea7a2499 Nuke echo_objdir from orbit. 1998-02-14 20:57:21 +00:00
gwr 77f5bb0a92 Fix pasto. OPCODE_SRCS=... dis-buf.o disassemble.o
was supposed to list the .c files.  Does now.
1997-11-14 04:33:10 +00:00
phil c9b92bdc9a ns32knetbsd_vec -> pc532netbsd_vec 1997-10-29 03:45:40 +00:00
thorpej b3c0946338 Build bfd and readline on the Alpha, too. 1997-10-27 00:25:05 +00:00
is 4f39b41b04 Workaround for Sparc alignment problem. From PR 3417 by Krister Walfridsson.
XXX Somebody should look deeper into this.
1997-10-26 14:46:31 +00:00
lukem 0c77c25043 use CPPFLAGS instead of CFLAGS 1997-10-25 09:27:04 +00:00
thorpej 86ed76b106 Need to -I. to get generated .h files (needed for Elf targets). 1997-10-25 01:50:36 +00:00
cjs 1a41da404a Don't compile bfd, readline on alpha. 1997-10-23 18:15:04 +00:00
ragge c700804dcb Fixes to make new gdb compile on vax. 1997-10-20 12:44:24 +00:00
jonathan 19cafbfa6c Clean out 64-bit targets from TDEFAULTS and BFD_BACKENDS. 1997-10-19 10:44:54 +00:00
gwr 89befe9159 Remove 64-bit targets from SELECT_VECS also 1997-10-19 04:14:01 +00:00
jonathan 80d7cee8ca Disable 64-bit BFD support on mips as noted in _mips.mk:
Cannot support 64-bit targets  with gdb 4.16.
 They assume that  BFD_ARCH_SIZE is 64, but that causes bfd_vma_addr
 to be a 64-bit int. GDB uses bfd_vma_addr for CORE_ADDR, but also
 casts CORE_ADDRS to ints, which loses on 32-bit mips hosts.
1997-10-19 02:52:24 +00:00
gwr 03272e0c4b Add: bfd readline 1997-10-18 18:13:35 +00:00
gwr 8f88f65275 Minor cleanup 1997-10-17 20:51:25 +00:00
gwr c9dfda4a6e Add ARCH_DEFS 1997-10-17 20:06:59 +00:00
gwr 5892b616fc Use ARCH_DEFS 1997-10-17 20:01:26 +00:00
gwr ab898530e5 Take a stab at this. 1997-10-17 19:58:55 +00:00
gwr f2bea0bb9f Take a stab at this. 1997-10-17 19:18:59 +00:00
gwr 23c4260d7c BFD_BACKENDS are *.c files 1997-10-17 19:17:27 +00:00
gwr 9a9a4dd10f cosmetic 1997-10-17 18:50:45 +00:00
gwr 7e4cd33f27 Need BFD_ARCH_SIZE=64 on mips 1997-10-17 18:45:54 +00:00
jonathan 212b5c610f Initial BFD support for the mips, with these targets:
bfd_elf{32,64}_{big,litte}mips_vec, ecoff{big,little}_vec
1997-10-17 08:30:21 +00:00
gwr d8012a8607 Fix missing dependencies on elf{32,64}-target.h 1997-10-10 16:06:22 +00:00
gwr 5e963aa0dd Initial support for the Alpha, with these targets:
bfd_elf64_alpha_vec, ecoffalpha_little_vec
1997-09-26 18:25:33 +00:00
gwr 576d2489e9 Define SRCS rather than OBJS so make depend works. 1997-09-26 15:59:40 +00:00
gwr a53b58b220 Use <bsd.lib.mk> 1997-09-26 15:05:10 +00:00
gwr 20b3817ab1 BSD-style build infrastructure for readline-2.1 1997-09-26 02:53:21 +00:00
gwr 99bb0eafe5 remove old comment 1997-09-26 02:43:34 +00:00
gwr 738eb4fcb7 BSD-style build infrastructure for binutils/bfd 1997-09-26 02:38:49 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
mycroft 342631d43f Fix minor biff in previous. 1997-05-07 07:57:56 +00:00
mycroft fd8daf980e Add .MAKE to the .OBJDIR hacks, so they work with `make -n'. 1997-05-07 07:15:34 +00:00
thorpej 9d7af91ffa Fix a botch in the last change made (to accomodate the PowerPC), pointed
out by Chris Demetriou <cgd@netbsd.org>
1997-04-20 20:20:12 +00:00
thorpej 59d5b749b4 Define _G_NEED_STDARG_H - needed for NetBSD/powerpc's varargs/stdarg
implementation.
1997-04-16 20:42:46 +00:00
christos 0aad9d4378 Makefile cleanups 1997-03-24 22:02:40 +00:00
veego 5fd45e1ff6 changes for bsd.lib.mk: s/PICFLAG/CPICFLAGS/ 1997-03-16 15:45:15 +00:00
mikel b0b6c886f4 install *.cc headers from libstdc++/st[dl]; from Steven J. Dovich in
PR lib/2488.
1997-02-07 07:14:02 +00:00
cgd 60bc771353 convert genclass makefile to standard 'just install the shell script' form,
a la /usr/bin/true's makefile and others like it.  It's simpler than
what was here before, and more correct in terms of providing the variables
that the .mk files expected.
1996-12-22 20:46:06 +00:00
pk cb7f6e2af3 Include c++rt.o when building shared library in libstdc++/Makefile 1996-12-22 13:37:30 +00:00
pk 051d8d1895 Include c++rt.o when building shared library 1996-12-22 13:35:51 +00:00
cgd 1a7d5b7fdf don't bother trying to lint c++ libraries, since lint can't deal with
c++ and a lint library containing only the C functions is pretty
much useless.
1996-12-20 01:04:17 +00:00
cgd 8ac4f8973d re-enable libg++ on the Alpha 1996-12-17 21:33:20 +00:00
cgd b02b09670a on the Alpha, don't include c++rt0.o on the link line. (1) it doesn't
exist, and (2) its purpose on the link line is taken care of automatically
by the library-building process.
1996-12-17 21:32:26 +00:00
phil 6a4e12cde0 Patch from cgd to make these work on the alpha. 1996-12-17 19:35:00 +00:00
phil b98fb70d78 Removing files that are not in libg++ 2.7.2 because the functions got
moved to libio.
1996-12-17 19:28:50 +00:00
phil 9d6cf59d37 Fix conflicts in libg++ 2.7.2 import. 1996-12-17 19:14:14 +00:00
phil 1496ef1851 Import of libg++ 2.7.2. 1996-12-17 18:55:08 +00:00
thorpej 46ac224706 Use ${INSTALL}. 1996-10-18 02:52:59 +00:00
mrg 5a73459f3e don't create directories here; let mtree do it 1996-05-22 02:05:52 +00:00
mrg b27f618724 don't create directories here; let mtree do it 1996-05-22 01:48:54 +00:00
phil a964fa9b57 Back out the change to include libio and libiostream. 1996-05-16 21:03:24 +00:00
phil 0534b81c29 Install includes from libio and enable building and installation of libio and
libiostream.  Some functions are duplicated in libio, libiostream and
libstdc++.  If needed, we can remove duplicated functions later.
(Fixes PR 2390)
1996-05-15 22:56:13 +00:00
jtc c63d7d5d2e Use 'includes' instead of 'beforeinstall' target to install headersUpdate libg++2netbsd to match 1996-04-25 01:16:07 +00:00
phil d012169278 Fix problems with which and where includes are installed. 1996-04-08 02:45:55 +00:00
phil 208dd8b0cc Adding librx to libg++ tree. (Closes PR 2271 and 2298.) 1996-04-04 23:33:45 +00:00
veego b9f085f78f Restore a local change from our old libg++ to fix a compile warning 1996-03-13 23:07:35 +00:00
phil 4de8058449 Added / in cmp path for /usr/include/g++/stl. (To match libg++2netbsd and
be correct.)
1996-03-11 17:22:42 +00:00
thorpej e311fddd2a Fix installation of header files. 1996-03-11 04:58:22 +00:00
thorpej a039d62135 s/ALLSRC/IMPSRC/ so that we don't try to compile header files. From
Gary D. Duzan <gary@wheel.tiac.net>.
1996-03-11 02:38:44 +00:00
phil 14b81cb599 Removing old libg++. 1996-03-09 00:36:34 +00:00
phil 84a13b4cb6 Removal of old libg++. 1996-03-09 00:28:43 +00:00
phil 03548c36c3 Deleting old libg++. 1996-03-09 00:25:38 +00:00
phil 30eeb22555 Fix typo in comment. 1996-03-09 00:20:44 +00:00
phil b55390258b Conflict resolution for 2.7.1 import. 1996-03-09 00:18:56 +00:00
phil 357744cd54 Import of libg++-2.7.1. 1996-03-09 00:00:51 +00:00
mycroft c4bba69708 Adjust for new G++ name mangling convention.
From Niklas Hallquist, PR 1557.
1996-02-08 03:43:31 +00:00
thorpej b634b9d5ac Fix really rediculous typo I introduced. 1996-01-05 08:30:45 +00:00
thorpej 2583d55c05 Use getrlimit() instead of vlimit(), like BSD/OS and OSF/1 do. 1996-01-01 19:40:48 +00:00
chopps 0dd5a89778 fix scoping and other related problems reported in pr#1859 1995-12-30 03:32:18 +00:00
thorpej d6886078f2 Don't define MAXFLOAT if __NetBSD__ is defined. Mark this XXX. Hopefully,
we won't have to worry about it when libg++ is upgraded.  This is necessary
for libg++ to compile with -Werror.
1995-12-16 01:03:33 +00:00
christos 99fc0f40d9 Parallel make fixes 1995-10-22 21:04:42 +00:00
cgd a12c29d63c if NetBSD, include sys/cdefs.h and don't define __P here. 1995-04-29 05:32:40 +00:00
cgd 0f099d92af changes to make the src/gnu code compile happily on the alpha:
Mostly casts here and there to kill warnings or bugs.  occasional
addition of prototypes and/or changes to bring protos into scope.
1995-04-23 08:35:30 +00:00
cgd b0c276cd95 don't build libg++ on the alpha 1995-04-23 07:50:21 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
jtc 1766d4483b Use ${BINOWN} and ${BINGRP}. 1995-01-12 19:06:53 +00:00
deraadt 6e34e2ecbe Can't do `#ifdef BSD' unless we've pulled in <sys/param.h> 1994-09-18 02:57:08 +00:00
mycroft 5156a7b075 Do something more intelligent when compiling into ${DESTDIR}. 1994-07-06 04:06:27 +00:00
cgd 97e0e0acd1 don't strip the script. pointed out by Duncan McEwan <duncan@comp.vuw.ac.nz> 1994-06-30 07:12:10 +00:00
jtc e11807daea Use new support for *.sh files in <bsd.prog.mk> to simplify Makefile.
Don't add ${DESTDIR} when replacing PROTODIR in script.
1994-06-28 05:39:53 +00:00
cgd 8a42d9035d bump version number 1994-03-27 11:12:53 +00:00