Commit Graph

246 Commits

Author SHA1 Message Date
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