Commit Graph

498 Commits

Author SHA1 Message Date
John-Mark Gurney
b5fbf2189d remove these vestiges of gdbserver.. It hasn't built in a long time, and
now really belongs in gdb, not binutils..  Plus, these don't resemble what
the new gdbserver looks like.
2006-03-31 00:37:42 +00:00
David E. O'Brien
01950bb64f Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them.

Reviewed by:	marcel,imp
Desired by:	ache
2005-02-14 12:10:14 +00:00
Ruslan Ermilov
6fa13ec06f Scheduled mdoc(7) sweep. 2005-01-09 19:54:23 +00:00
Ruslan Ermilov
83c7ade90a NOSHARED -> NO_SHARED 2004-12-21 09:59:45 +00:00
Ruslan Ermilov
e653b48c80 Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +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
Alexander Kabaev
aa8ad7aad0 Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x. 2004-07-28 05:39:04 +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
Marcel Moolenaar
861492f7ea Removed. It was used for building gdb docs, which we don't do here
anymore.
2004-06-27 03:34:54 +00:00
David E. O'Brien
88ef5f9abd GDB has moved up one level. 2004-06-25 07:34:56 +00:00
Marcel Moolenaar
2d4b977b2d Remove building gdb info files. The gdb info files are built as part
of building gdb itself, which has been decoupled from binutils for
as much as is reasonable.
2004-06-25 06:55:49 +00:00
David E. O'Brien
29d4ba3f47 Turn back on the building of GDB info files. 2004-06-23 04:36:04 +00:00
David E. O'Brien
c041ca55ad This should be the right set of docs sources. 2004-06-21 18:23:51 +00:00
David E. O'Brien
13aa0cfc8a Disable building of GDB info files until the gdb6 upgrade is finished. 2004-06-21 18:09:20 +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
David E. O'Brien
34d55919fb Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build
framework wants.
2004-06-20 01:44:58 +00:00
Marcel Moolenaar
209205620c Update to binutils 2.15. 2004-06-19 23:18:14 +00:00
Marcel Moolenaar
7905213dd1 Seperately add regex.c and splay-tree.c to SRCS. They are both needed
by gdb(1). While here, sort SRCS.
2004-06-19 22:22:42 +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
98c20d02c0 Disable gdb from the build due to the impending binutils 2.15 import.
GDB 5.12 cannot consume the 2.15 bfd and libiberty.
2004-06-16 05:19:00 +00:00
David E. O'Brien
9232e635e0 Sperate out the MD parts of kvm-fbsd to get rid of the #ifdef maze.
Also quiet some warnings by tweaking the included headers.
2004-06-11 16:09:38 +00:00
David E. O'Brien
c337dbb2f2 Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp. 2004-05-10 17:45:51 +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
David E. O'Brien
7863752724 I accidently spammed rev. 1.18, back out rev 1.19. 2004-03-17 18:38:07 +00:00
David E. O'Brien
77047bb3e7 Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including
<gnu/regex.h> vs. just <regex.h>.
2004-03-17 07:40:42 +00:00
Ruslan Ermilov
51a23805f8 gasp(1) isn't linked with -lgnuregex, and it doesn't need <gnu/regex.h>
either.

Reviewed by:	obrien
2004-03-15 07:19:41 +00:00
Andrey A. Chernov
7e433f006b Back out attempt to bypass contrib's getopt.h on the way,
it makes cross-build fail.
Prefer invisible incorrect -current build to visible failure.
2004-03-05 16:12:31 +00:00
Andrey A. Chernov
a11a407515 Move -I${DESTDIR}/usr/include/gnu up, before
-I${DESTDIR}/usr/include to pick correct regex.h
2004-03-05 01:47:03 +00:00
Andrey A. Chernov
44fc52d2ac Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right
getopt.h (as workaround until it will be removed from contrib)
2004-03-04 20:36:18 +00:00
Andrey A. Chernov
d022c66fd1 Use system getopt_long* 2004-02-28 05:38:45 +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
Andrey A. Chernov
49b4df9afb Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu 2004-02-17 05:38:45 +00:00
Andrey A. Chernov
d43efc232b Remove old explicit -I${DESTDIR}/usr/include/readline
it is no longer needed
2004-02-17 00:06:33 +00:00
Andrey A. Chernov
850f4391cd Switch back to regex.h 2004-02-16 23:46:39 +00:00
Andrey A. Chernov
8e142fb9dc Formally switch back to regex.h (not sure it ever needed here - libgnuregex
is not used)
2004-02-16 23:38:37 +00:00
Ruslan Ermilov
3d99503552 Removed all the complexities when installing the strip(1) binary.
Submitted by:	bde
2004-02-06 09:25:59 +00:00
Ruslan Ermilov
1154360eaa strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk. 2004-02-05 19:54:56 +00:00
David E. O'Brien
b7300254ae Discontinuation of an action that now fits on one. 2004-01-27 05:01:08 +00:00
David E. O'Brien
bd064b9335 Fix problem where kgdb misses trap frames.
Reported by:	iedowse
2004-01-26 09:18:47 +00:00
David E. O'Brien
014256a1e7 Use proper name. 2004-01-26 09:17:26 +00:00
David E. O'Brien
a7376656a5 style.Makefile(5) 2004-01-26 06:10:26 +00:00