David E. O'Brien
dbff1be7a8
Be consistent in quoting.
2006-07-22 14:37:17 +00:00
Ruslan Ermilov
a35d88931c
For variables that are only checked with defined(), don't provide
...
any fake value.
2004-10-24 15:33:08 +00:00
David E. O'Brien
7d0fc2f49e
MAJOR cleanup of the Bmake framework.
...
This includes removing all vestiges of the old not-really supported
ability to build cross tools targeting non-FreeBSD systems, such as
m68k Lynx and NetBSD. Move as much duplicated code from platform
Makefiles into the shared Makefiles. Add a simple mechanism for
specifying ELF 'ldscripts'. Also share as many .h files as possible
(now a single bfd.h vs. one per platform).
2004-07-08 17:05:34 +00:00
David E. O'Brien
264ea182b8
With tmm's latest change to the sparc64 dynamic loader, we can remove this
...
hack to binutils and use the stock sparc64 sources.
2004-06-20 09:46:13 +00:00
Marcel Moolenaar
dad12fe587
Add the necessary branding of ELF files. This is relatively easy to
...
achieve on ia64, because we need to generate the ELF64/ia64 code and
simply tag elf-fbsd-brand.c at the end of it.
This hasn't actually been tested beyond trivial compilation testing.
A buildworld has been started and it's time I wait for my changes to
loop back to my local repo anyway. I'll get back to this in a couple
of hours...
2004-06-19 21:14:10 +00:00
Marcel Moolenaar
831f4a372e
Add bfdwin.c to SRCS. The file contains support for mmap(2) windows
...
into a BFD. It's included in stock BFD on the platforms I checked
(i386 and ia64).
2004-06-19 20:50:57 +00:00
Marcel Moolenaar
5b728dfd69
Move the elf32-target.h and elf64-target.h targets from the MD
...
makefiles to the centralized makefile. This not only reduces
duplication, it also makes the MD quirks stand out better and
thus improves maintenance.
2004-06-19 20:37:38 +00:00
Marcel Moolenaar
690258427d
Update to binutils 2.15:
...
o BFD_VERSION_DATE now reflects the release date of 2.15,
o BFD_VERSION now has the correct version number.
Previous values reflected 2.14.92 from a week prior to release.
While here, fix a whitespace (tab) nit.
2004-06-19 19:44:19 +00:00
Marcel Moolenaar
e6535bde1e
Update to binutils 2.15:
...
o HAVE_SEEKO and HAVE_TELLO are defined now. These are used in bfdio.c.
o HAVE_STRTOULL is defined now. This is used in bfd.c.
2004-06-19 19:25:33 +00:00
Marcel Moolenaar
d84675107c
Update to binutils 2.15.
2004-06-19 18:52:31 +00:00
David E. O'Brien
d8a921c775
Commit a crude hack so we get sparc64 snapshots working again with a
...
stable ld.so. We need to revisit the rtld-elf/sparc64/rtld_start.S
rev. 1.5 and rtld-elf/sparc64/rtld_machdep.h rev. 1.5, which was
suppose to allow stock Binutils 2.13 (and later) to be used.
2004-06-17 16:08:20 +00:00
David E. O'Brien
e223c68bfc
Updated Bmake framework for Binutils 2.15.
2004-06-16 07:09:44 +00:00
David E. O'Brien
cd4db58afd
Revert rev 1.21 which configured with --enable-64-bit-bfd.
...
GDB 5.2 can't handle a 64-bit BFD on a 32-bit host.
We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.
2004-04-18 16:09:33 +00:00
David E. O'Brien
b35979bc2e
Configure as --enable-64-bit-bfd.
2004-03-18 04:45:29 +00:00
Johan Karlsson
ca9c567178
Fix style bug in last commit,
...
add a tab after WARNS?=.
While I'm here fix other style bugs.
Submitted by: bde (libbdf/Makefile)
2004-02-25 13:12:51 +00:00
Johan Karlsson
7ff8c436d3
style.Makefile(5):
...
Use WARNS?= instead of WARNS=
For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.
Approved by: obrien (binutils maintainer)
Tested by: make universe
2004-02-24 19:23:33 +00:00
Alexander Kabaev
08cbb1d115
Temporarily turn off -Werror for these components.
2003-07-11 05:24:32 +00:00
David E. O'Brien
9c3f1b326f
bfd_elf32_i386_freebsd_vec is the only 32-bit vector we really need.
...
ar and nm aren't very smart when faced with multiple applicable vectors.
2003-07-01 17:29:48 +00:00
David E. O'Brien
584a637fee
The AMD64 Hammer bits.
2003-04-26 03:28:21 +00:00
David E. O'Brien
0d6a130e24
Remove first attempt at x86-64 bits. We're going to call it "amd64" now.
...
Sponsored by: Microsoft
2003-04-26 03:24:26 +00:00
David E. O'Brien
52678bf874
We need to support the bfd_efi_app_ia64_vec vector for loader support.
...
Submitted by: Marcel
Approved by: RE
2002-12-05 18:27:22 +00:00
David E. O'Brien
51c79e7572
Don't dike out ELF_DYNAMIC_INTERPRETER, we need this copy now.
...
This should have been committed with ia64/bfd.h rev 1.6.
Approved by: RE
2002-12-05 18:19:18 +00:00
David E. O'Brien
de726134c8
Remove the ancient PEI cruft that is useless.
2002-12-02 10:50:38 +00:00
David E. O'Brien
f0c6e880d6
We can handle the bfd_elf32_i386_vec vector at the same time as the
...
bfd_elf32_i386_freebsd_vec. This may help in intra-branch building.
2002-12-02 10:01:18 +00:00
David E. O'Brien
517870e5ec
We can handle the bfd_elf64_alpha_vec vector at the same time as the
...
bfd_elf64_alpha_freebsd_vec. This may help in intra-branch building.
2002-12-02 10:00:44 +00:00
David E. O'Brien
176b5bb70f
Cleaner support of a DEFAULT_VECTOR.
2002-12-02 09:59:05 +00:00
David E. O'Brien
eda37098d9
Update for the Binutils 2.13.2 20021127 snapshot import.
2002-12-02 09:54:40 +00:00
David E. O'Brien
bf12a49e7c
Handle the "HAVE_" defines via the VECS list.
2002-12-02 09:53:59 +00:00
David E. O'Brien
fb248dce89
Update for the Binutils 2.13.2 20021127 snapshot import.
...
Among other things, we don't need to redefine ELF_DYNAMIC_INTERPRETER here.
2002-12-02 09:49:57 +00:00
David E. O'Brien
597e16e012
We HAVE_STPCPY now.
2002-10-20 07:50:20 +00:00
David E. O'Brien
b2e2b36d0b
Take a guess at what WARNS level will make this compile on ia64.
2002-10-14 00:05:49 +00:00
David E. O'Brien
cf56436d17
Update for 2.13 10-Oct-2002 import.
2002-10-12 04:38:20 +00:00
David E. O'Brien
4b7b08da18
Shut up GCC, don't shadow Version 6 standard functions.
2002-10-12 04:06:13 +00:00
David E. O'Brien
1a941a4b0d
The 2.13-almost.1 import was done on 10/10, not 11/10.
2002-10-12 00:18:25 +00:00
David E. O'Brien
786590e77d
Update for 2.13 10-Oct-2002 import.
2002-10-12 00:17:34 +00:00
David E. O'Brien
20109e1f9a
witch over to the new FreeBSD bfd vec and emulation
2002-10-11 09:36:20 +00:00
David E. O'Brien
6551b26de7
Switch over to the new FreeBSD emulation and bfd vec
2002-10-11 09:31:55 +00:00
David E. O'Brien
32a4457271
Really update for 2.13 10-Oct-2002 import. (this time for sure Rocky)
2002-10-11 06:48:16 +00:00
David E. O'Brien
4f376ae1bf
Update for 2.13 10-Oct-2002 import.
2002-10-11 06:28:05 +00:00
David E. O'Brien
0e7fe4f6c0
There is need to have a special BINUTIL_ARCH when we can use our more
...
common place TARGET_ARCH.
2002-09-22 05:29:37 +00:00
Mike Barcroft
8e91c039a7
This isn't quite ready for WARNS=3 in the sparc64 case.
...
Noticed by: sparc64 tinderbox
2002-07-16 16:10:39 +00:00
David E. O'Brien
da87c431b3
The AMD x86-64 Hammer bits.
2002-05-18 11:57:01 +00:00
David E. O'Brien
d4dfcdb535
Update to Binutils 2.12.0 and stick to the native emulation for now.
...
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.
2002-05-17 03:43:47 +00:00
David E. O'Brien
79b40253a4
Update to Binutils 2.12.0 release.
2002-05-17 03:43:09 +00:00
David E. O'Brien
16444b7a38
We aren't quite ready to switch emulations and loose the
...
override ELF_DYNAMIC_INTERPRETER requirement.
Has a good eye: jmallet
2002-05-15 09:01:03 +00:00
David E. O'Brien
91c7467999
We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
...
(not to mention these bits are still at the 2.9.1 level)
2002-05-15 08:33:41 +00:00
Ruslan Ermilov
46f8fdc34e
Removed now unused INTERNALSTATICLIB.
...
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.
2002-05-13 11:09:07 +00:00
David E. O'Brien
615836eeac
Update to Binutils 2.12.0 release.
2002-03-20 23:05:19 +00:00
David E. O'Brien
26830c9316
Update for binutils_2_12_anoncvs_20020221.
2002-03-15 07:45:18 +00:00
David E. O'Brien
b0627fcc77
Tune WARNS for Alpha.
2002-03-14 02:24:25 +00:00
David E. O'Brien
d46d3a1c02
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 18:49:37 +00:00
David E. O'Brien
e2c76cd6de
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 05:35:18 +00:00
David E. O'Brien
985e77de7b
I missed adding a file that was needed on the Alpha (and will be needed
...
on x86_64 also.
Submitted by: ru
2002-02-04 17:06:30 +00:00
David E. O'Brien
5cc5c73a03
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 19:12:51 +00:00
David E. O'Brien
65136367b7
Special case the foreign platform vs. the native one.
2002-01-28 19:08:29 +00:00
David E. O'Brien
69c3ab3a81
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 19:07:31 +00:00
David E. O'Brien
de52820198
Support cross building from 64-bit machines.
2002-01-28 19:00:11 +00:00
David E. O'Brien
31b63f3e33
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 18:58:59 +00:00
David E. O'Brien
90b3020b4f
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-28 18:52:26 +00:00
David E. O'Brien
a1a1118a96
Change the way the version strings are handled.
2002-01-27 22:47:22 +00:00
David E. O'Brien
04f69e4432
Upgrade to a Binutils 2.12.0 snapshot.
2002-01-27 13:10:59 +00:00
David E. O'Brien
c3b0e33288
Style fixes.
2002-01-27 13:04:21 +00:00
David E. O'Brien
e1a1c7d331
Add files new with 2.12.0.
2002-01-27 13:03:58 +00:00
David E. O'Brien
f6181588d5
We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it.
2001-10-15 03:10:48 +00:00
David E. O'Brien
e1382dde0b
Binutils 2.11.2 build framework for the FreeBSD/IA-64 target.
2001-10-15 02:13:26 +00:00
David E. O'Brien
5c73b63da5
We can easily share a single config.h file across all FreeBSD platforms,
...
which reduces the upgrade effort.
2001-10-14 01:24:07 +00:00
David E. O'Brien
51a64fa24f
Update for Binutils 2.11.2.
2001-10-14 01:08:32 +00:00
David E. O'Brien
b164377e77
We support sparc64, not plain sparc.
2001-10-14 01:00:29 +00:00
David E. O'Brien
bbd7c7f077
Clean up the formatting.
2001-10-14 00:58:59 +00:00
David E. O'Brien
c46eebd508
Upgrade to Binutils 2.11.2.
2001-06-29 07:49:41 +00:00
David E. O'Brien
e3ffd96636
Upgrade to Binutils 2.11.2.
2001-06-26 18:20:46 +00:00
David E. O'Brien
0644c58328
Upgrade to Binutils 2.11.0.
2001-06-01 05:30:31 +00:00
David E. O'Brien
f99372a0e4
Upgrade to Binutils 2.11.0.
2001-05-28 09:19:47 +00:00
David E. O'Brien
370d222b7f
Remove MIPS support.
...
It has rotted quite badly and no one has provided updates for it.
2001-04-11 00:12:48 +00:00
David E. O'Brien
04f9b2d551
Upgrade to Binutils 2.10.1.
2000-11-15 21:29:55 +00:00
David E. O'Brien
bacaa92f40
Updated 2.10 headers.
2000-05-22 08:40:17 +00:00
David E. O'Brien
e22c5813c4
Tweaks to match those done in the Binutils mainline code.
2000-05-22 08:33:03 +00:00
David E. O'Brien
7f3d7f20f8
Pull the switch and activate our Binutils to a snapshot of the up and
...
comming 2.10 release.
2000-05-22 08:09:42 +00:00
Steve Price
2b3c840334
Add sparcnetbsd support and cleanup style so that this looks nearly
...
identical to Makefile.sparc.
2000-04-16 23:42:25 +00:00
Steve Price
e3163f8ce0
Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
...
sparc64.
2000-04-16 23:39:46 +00:00
Steve Price
c720912e54
Add support for sunos_big_vec to support 'make world's on Solaris
...
boxes.
2000-04-03 03:51:46 +00:00
Steve Price
eb0bd3c3d2
Add support for the sunos_big_vec format as well.
2000-04-03 03:48:49 +00:00
Steve Price
5e59c5460c
First cut at the (non-contrib) bits needed to build the binutils
...
distribution for FreeBSD/Sparc64.
Reviewed by: obrien
2000-04-02 22:36:56 +00:00
Marcel Moolenaar
ecc4dcbd82
s/MACHINE_ARCH/TARGET_ARCH/g
...
The target machine is represented by TARGET_ARCH. MACHINE_ARCH always
represents the host machine. When TARGET_ARCH is not defined, it is
assumed to be equal to MACHINE_ARCH. This means that we're building a
native toolset by default. We're creating cross-compilation tools when
MACHINE_ARCH != TARGET_ARCH.
TARGET_ARCH is defined when building binutils as part of the bootstrap
build and is set to reflect the architecture we're currently cross-
building. With this change binutils is ready for cross-building.
1999-12-17 15:50:45 +00:00
Marcel Moolenaar
2205071966
Make binutils for Alpha work on i386 machine, by properly defining
...
whether the host machine has a 64-bit long or not.
1999-11-12 16:53:58 +00:00
John Birrell
53149093a0
Add support for additional architectures.
1999-11-06 21:38:41 +00:00
John Birrell
015520102a
Add support for additional architectures.
1999-11-06 21:28:22 +00:00
John Birrell
2e734fae4e
Teach binutils how to understand NT format objects and libs. This is useful
...
for those who want to objdump --disassemble things that they're not
supposed to. 8-)
1999-11-06 21:09:40 +00:00
John Birrell
3ba3ae906a
Add a BINUTILSDISTDIR hook to provide a path to a full binutils release
...
outside the contrib files that FreeBSD distributes. This for use by
those who want to work on porting FreeBSD to additional architectures.
1999-11-06 21:04:46 +00:00
Peter Wemm
9b7a44a60e
$Id$ -> $FreeBSD$
1999-08-27 23:37:10 +00:00
Warner Losh
7408d8ff34
Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.
...
Unlike the unisex architecutres we've had so far, mips is bisexual.
These tools can produce either byte sex, and the compiler/make
determines the proper gender to use. Otherwise, we'd have to have had
mipsel and mipseb in all the places that we have just mips. And there
are other complications with doing that (binutils doesn't like to
build mips tools without both byte genders, it seems).
Introduced BINUTIL_ARCH so that other bisexual architectures can a
generic mechanism.
We cannot just define MACHINE_ARCH as mips because we need to
differentiate big and little endian types of binaries. Discussions on
freebsd-arch have hashed out this issue (and the parallel libc
issues). NetBSD is moving towards mipsel and mipseb for their two
flavors of mips ports (in time for 1.4, if this change hasn't already
been accomplished).
I've been building i386 worlds with this tree for a three months with
these files in place with no ill effects.
1999-03-01 04:01:57 +00:00
John Polstra
e8f80c1aca
Fix GDB so that it can handle ELF core dumps.
1998-09-14 22:49:02 +00:00
Doug Rabson
1fdfa7ab3c
Update alpha configuration files and remove i386 target from
...
libbinutils/config.h - it is declared in the arch Makefile.
1998-09-07 08:18:34 +00:00
John Polstra
34d2198035
Update for import of binutils-2.9.1.
...
Submitted by: Doug Rabson <dfr>
1998-09-06 23:01:53 +00:00
Bruce Evans
ae33d52efb
Don't use beforedepend or give dependencies on generated headers explicitly.
...
Just put generated headers in SRCS.
1998-06-04 06:50:58 +00:00
John Birrell
beb33165cb
Add cross-architecture support.
1998-05-04 21:16:46 +00:00
John Polstra
98ad0dae72
Give up on a.out support in binutils. It has too many problems to
...
be worth much effort. Install all i386 binutils programs in
"/usr/libexec/elf". Disable a.out support in libbfd. It's too
dangerous to leave it in. Some of the utilities think they can
handle a.out, but they generate bad object files.
1998-03-30 02:21:27 +00:00
John Polstra
66f259f3f5
Disable support for the a.out-i386-bsd target. Everything it can do
...
seems to be supported in the a.out-i386-freebsd target. When both
are present, there are sometimes complaints of "ambiguous file
format."
1998-03-14 01:40:31 +00:00
John Birrell
38bc294e8d
Configure bfd for elf64, elf32, and aout. Yes alpha can handle i386
...
formats. No i386 can't handle alpha formats. 8-)
1998-03-12 12:29:20 +00:00
John Birrell
06e95425f7
This file was generated on i386, so it has been moved to the i386
...
sub-directory. It differs from the alpha version.
1998-03-12 05:31:34 +00:00