matt
f5c0264a5d
New toolchain support for ARM ELF.
2001-08-19 16:05:02 +00:00
mrg
7f85f1f0c3
build & install info documentation.
2001-08-19 14:19:38 +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
tv
dabda76181
For now, just to make sure we don't conflict with an out-of-the-box
...
gcc 3.0 build (as noted by mrg), bump shlib major again, to version 4.0.
There might be a better solution to this kind of thing in the future; I'll
have to think about it.
2001-08-14 01:21:23 +00:00
mrg
5b25536c3b
build libbfd for sparc & sparc64.
2001-08-10 12:42:37 +00:00
mrg
14c389e8b1
regenerate
2001-08-10 12:41:19 +00:00
mrg
5f38c885be
build libstdc++ for sparc & sparc64.
2001-08-10 11:59:50 +00:00
mrg
8375332080
regenerate.
2001-08-10 11:59:22 +00:00
mrg
220ef62d75
with USE_NEW_TOOLCHAIN, install all required libstdc++ headers. this needs
...
toolchain2netbsd to be re-run for each platform. (sparc, sparc64 and i386
updates coming shortly.)
2001-08-10 11:57:48 +00:00
matt
4ce1ea0d33
USE_NEW_TOOLCHAIN powerpc files for libg2c & libstdc++
2001-08-10 06:46:31 +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
mrg
4a850cf2d7
include bsd.own.mk before testing USE_NEW_TOOLCHAIN.
2001-08-09 16:09:52 +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
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
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
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
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
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
matt
3847d1eab8
ARM support for -liberty
2001-07-19 15:30:36 +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
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
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
b1e9e38236
First framework for libiberty, now used by all the toolchain components (so
...
no longer merged with libbfd). Conditional on USE_NEW_TOOLCHAIN for now.
2001-07-18 12:17:15 +00:00
matt
a126663857
Compile fixu* for MACHINE_ARCH of arm
2001-07-13 19:54:28 +00:00
mason
0f5d49210e
Don't build libstdc++ on sparc64.
2001-05-10 12:53:02 +00:00
tsubai
dbe09b485b
sh3 --> sh3eb / sh3el.
2001-02-02 19:32:38 +00:00
enami
6ebf26b574
Define variables before it is used.
2001-01-09 08:33:46 +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
df319c7c4c
sh3 split
2001-01-04 09:22:06 +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
matt
3e50ef53a3
Add <stdlib.h>
2000-07-03 05:05:43 +00:00
matt
cb3d52d53a
Define STDC_HEADERS so it uses mem* instead b* routines.
2000-07-03 05:05:25 +00:00
kristerw
f9d920a4e3
Added netbsdaout.c for i386
2000-05-20 20:30:48 +00:00
thorpej
11e15dda8b
Oops, botched test for GCC 2.9.
2000-05-10 22:39:29 +00:00
thorpej
2b09e161ae
Don't build compiler-related libraries if using GCC 2.9.
2000-05-09 06:23:40 +00:00
msaitoh
52b61c34d2
set MKLINKLIB = "no" only if ${MKPIC} != "no"
2000-03-27 19:15:32 +00:00
mycroft
2ced2ffc7d
Make this at least pretend to work when cross-compiling.
2000-03-26 09:54:28 +00:00
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