Commit Graph

355 Commits

Author SHA1 Message Date
shin ac9896415f remove MIPS SOFTFLOAT. 2000-03-05 05:41:03 +00:00
matt b9db4a8140 Add rudimentry VAX COFF support. enough so objdump, size, nm, etc. are happy
but no near enough for gas or ld.
2000-01-11 05:48:27 +00:00
msaitoh bec61173c4 libbfd for NetBSD/sh3 1999-12-26 19:48:00 +00:00
eeh b18e309569 Allow building of PIC or profiling libraries to be disabled. 1999-11-27 23:46:09 +00:00
wrstuden 6a4a304da0 Add rs6000coff_vec, which adds aixcoff-rs6000 support. Used with fixcoff. 1999-11-23 02:08: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
sommerfeld 65bfbb747a If target is BFD64, define -DBFD_TARG_64 on command line.
If BFD_TARG_64 is defined, set BFD_ARCH_SIZE to 64 even on 32-bit platforms.
(BFD_ARCH_SIZE is an attribute of the target, not (just) the host platform)

This is intended for building 32bit->64bit cross libbfd's (e.g.,
x86->alpha or x86->sparc64)
1999-08-01 04:25:39 +00:00
kristerw 9873bbaebf Don't define USE_MMP. Applications using libbfd assumes that the
memory is malloc:ed and tries to free() it...
1999-06-25 23:04:40 +00:00
kleink 5b44632935 Shuffle around vectors for ELF on m68k. 1999-04-30 14:41:38 +00:00
thorpej 6d2943920a Make it a tad bit easier to bootstrap an a.out system to ELF. Introduce
a BOOTSTRAP_ELF Makefile variable that, when set (e.g. in the environment),
builds a targeted-to-ELF toolchain without requiring OBJECT_FMT to be set
to "ELF" (which affects how e.g. libraries are built).

This basically means you don't need fake crtbegin.o and crtend.o files to
be present in /usr/lib while bootstrapping the toolchain.
1999-03-17 00:46:35 +00:00
ragge 87b768a236 DEFUALT_VEC -> DEFAULT_VEC. Thanks, Ken Wellsch. 1999-03-07 10:43:59 +00:00
tv d793874bfe Turn off the mipselnetbsd a.out vector, for now. 1999-03-03 13:23:34 +00:00
tv a3effc3cd4 We also want to read core files. (oops.) 1999-02-26 22:53:14 +00:00
drochner 7ccfa38c7a make this build after mips->mipse? transition 1999-02-24 17:18:26 +00:00
drochner 536eb455f4 ${MACHINE_ARCH} == "mips" loses anyway, so remove this case 1999-02-24 17:17:29 +00:00
lukem 868ca23db4 remove NOPROG (nothing uses it). however, set MKOBJ=no if appropriate 1999-02-13 23:53:56 +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
tv 3e2114fabc Provide a definition of CPP for gen-params that works with DESTDIR. 1999-02-11 18:20:58 +00:00
tv 838e0a1db3 Add Texinfo doc. 1999-02-11 17:37:34 +00:00
tv f30eb3400a Nuke gcc 2.8 tests now that the tree requires egcs/gcc 2.8, and add
Texinfo doc for iostream.
1999-02-11 17:30:46 +00:00
tv 71cc33263d Add "mipselnetbsd_vec" to mipse[bl]. 1999-02-10 17:53:50 +00:00
tv 79734e08d0 This is no longer here. 1999-02-09 17:48:43 +00:00
tv 3cf7289326 It's libbfd now, not bfd. 1999-02-09 17:48:13 +00:00
tv c172eeaa1b Move libbfd compile environment to "libbfd" subdir, with the changes:
- no includes are installed any more, nor any .a libraries
- a unified libbfd can be built if BFD_UNIFIED is set in mk.conf (will
  support dumping/examining objects from all NetBSD architectures of equal
  or lesser pointer size)
1999-02-09 15:57:53 +00:00
tv 942ddff25b Fix up ELF sources list. 1999-02-02 22:16:57 +00:00
tv 939670a527 Re-enable libbfd on all platforms including PowerPC. (Will re-enable
individual bfd dependent programs one at a time, as they are verified.)
1999-02-02 20:46:37 +00:00
tv 5accb47df8 It's now called "aout-arm32.c" with a dash. 1999-02-02 20:31:07 +00:00
tv 3677e2d7cb Update to binutils' bfd 2.9.1. 1999-02-02 20:00:39 +00:00
tv 16d7798441 Turn off bits of the toolchain from building on a recursive make: binutils,
bfd, gas.new, ld.new, gdb, gprof; in anticipation of the binutils-2.9.1
import.
1999-02-02 17:45:02 +00:00
eeh 433b3e50de sparc64 also needs 64-bit BFD. 1999-01-23 20:51:57 +00:00
tv ef1a003862 Significantly reduce code size of programs which use string, complex,
or the Allocator heavily.  (For common types, these are already
instantiated in libstdc++, and do not need implicit instantiation.)
1999-01-19 15:27:24 +00:00
kristerw 9c2a161620 Enable use of mmap. 1998-12-30 01:19:18 +00:00
tv 6acc855e3e Add bfd targets used by other binary emulations that NetBSD recognizes:
- a.out-i386-bsd
- a.out-i386-freebsd
- coff-i386
1998-12-28 20:39:54 +00:00
tv 8c88ddc66a Add dependency to _arch.mk file on targets.{o,so,po}. 1998-12-28 20:38:50 +00:00
tv 1343ef3796 GC old gcc 2.7.2.2. 1998-12-12 23:44:22 +00:00
mrg 009d565122 fix style nit in previous. 1998-11-23 09:29:56 +00:00
mrg d55e9c12a6 build a sparc64 libbfd. 1998-11-23 09:23:30 +00:00
mrg 80cc7163d4 need the extra objs on sparc64 (at least, that is what a cross compiler did for libgcc) 1998-11-23 09:22:22 +00:00
matt d7585142e2 Include VAX instruction disassembly support into bfd. (XXX case[lbw] still
needs to be done.)
1998-10-29 17:31:10 +00:00
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