Commit graph

3317 commits

Author SHA1 Message Date
Tim J. Robbins 20822a0b71 Merge local changes (addition of $FreeBSD$). 2004-07-04 01:07:38 +00:00
Tim J. Robbins c690985767 This commit was generated by cvs2svn to compensate for changes in r131543,
which included commits to RCS files with non-trunk default branches.
2004-07-04 01:03:02 +00:00
Tim J. Robbins 1a9b678f8d Import of GNU regex from GNU grep 2.5.1 (trimmed). 2004-07-04 01:03:02 +00:00
Ruslan Ermilov f97d4ddfed Mechanically kill hard sentence breaks. 2004-07-02 21:53:39 +00:00
Ruslan Ermilov d37ea99837 Removed trailing whitespace. 2004-07-02 19:07:33 +00:00
Tim J. Robbins 5a3af8fce5 Hook strnlen.c up to the build - the i18n patch uses it. 2004-07-02 11:09:55 +00:00
Tim J. Robbins a1c82d5daf Update build infrastructure for sort from GNU coreutils 5.2.1. 2004-07-02 09:34:37 +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
Marcel Moolenaar f8a1406eca We don't have to reach into binutils/doc anymore for inc-hist.diff
The file was repo copied into our doc directory.
2004-06-27 03:33:17 +00:00
Bruce Evans e0345d1748 Fixed world breakage in the NOSHARED=yes case (missing library).
Fixed some style bugs.
2004-06-26 08:48:50 +00:00
David E. O'Brien 88ef5f9abd GDB has moved up one level. 2004-06-25 07:34:56 +00:00
Marcel Moolenaar 9e104bcbfc Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.
2004-06-25 07:15:13 +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
Marcel Moolenaar a855a971e8 Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64
and sparc64.

Note that the debugger doesn't support threading, nor kernel
debugging yet.
2004-06-25 06:48:54 +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
Peter Wemm 20fe68acb9 Revise previous commit - I managed to mess up a 1-line change and broke
amd64 world.  The csu code evalues this Makefile with a different origin.
2004-06-11 00:35:29 +00:00
Peter Wemm aabc36c5b8 The gcc/config/i386/freebsd64.h file neglects to override the default
(bogus, application name space) mcount function name on amd64.  Override
it here instead.

I've done it this way to avoid touching gcc source while 3.4 is in
progress, and this is the smallest, lowest impact I could come up with.
Adding a patch touches about 10-14 lines of Makefile, this touches only 1.
This will likely go away with the 3.4 import.

I spoke with Alexander about this a few days ago, but waited until after
sorting out some of the other bugs in the userland profiling.
2004-06-10 22:18:33 +00:00
Peter Wemm 82d583b4b9 Turn cvs back on after import; that was less painful than I expected. 2004-06-10 19:17:20 +00:00
Peter Wemm 5602449b69 Turn off cvs while import/merging. 2004-06-10 19:02:42 +00:00
Tim Kientzle 020a53a0cc Have /usr/bin/tar be a symlink to /usr/bin/gtar rather
than a hardlink.  This will make it easier for people
to tell which system tar they're currently using.
2004-06-04 00:39:46 +00:00
Alexander Kabaev 4e02989415 Remove componenst which are not part of GCC 3.3 and which are not likely
to get used again in the future.
2004-05-29 04:05:37 +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 b38dafc010 Restore vendor Id. 2004-05-03 10:33:27 +00:00
David E. O'Brien 78b67cd1f8 Tweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patch 2004-05-03 10:29:23 +00:00
David E. O'Brien 774cd1faf6 Gzip assumes 'unsigned long' is 32-bits wide and depends on this.
One thing Gzip does is implicitly by store the size of a file into an
'unsigned long' rather than  explicitly compute the remainder modulo 2^32
(see RFC 1952 section 2.3.1 "ISIZE").  Thus an extracted file size is
does not equal the original size (mod 2^32) for files larger than 4GB.

This manifests itself in errors such as:
	zcat: bigfile.gz: invalid compressed data--length error

PR:		66008, 66009
Submitted by:	Peter Losher <Peter_Losher@isc.org>
Patch by:	tjr
2004-05-02 23:07:49 +00:00
Tim J. Robbins def2bdaaa5 Apply patch from gzip web page to correctly decompress files larger than
4GB on architectures with 64-bit long integers.
2004-05-02 02:54:37 +00:00
David E. O'Brien 8778c50c3d What is CVS doing to me?? 2004-04-21 15:43:26 +00:00
David E. O'Brien 03a6a16fec Add missing unique bits from libI77 v3.3.3's config.h.in.
The GCC developers separated out the configure header between libU77 and
libI77 and FreeBSD didn't keep up with the change.  So now this header needs
to be a superset of both sublib's configuration specification.

Notably this commit causes ftruncate(), fseeko(), and ftello() to be used.

PR:		22635
2004-04-20 15:33:00 +00:00
David E. O'Brien 43cbe2e9d6 Updated config.h for f77 3.3.3. 2004-04-20 15:09:59 +00:00
David E. O'Brien c3f9b66e7a Add "subscribe out of range" support. 2004-04-20 14:01:29 +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
Ruslan Ermilov aea7b53859 Removed local bits that are now part of the standard mdoc(7) package. 2004-04-16 07:19:13 +00:00
Ruslan Ermilov c75d8c9028 Whitespace nit in previous revision. 2004-04-15 19:13:27 +00:00
Peter Wemm da2f648f0b Update bmake glue for cvs-1.11.15, with apologies to Jacques for messing
up his day.  The *.patch files are still fine for MFC'ing.
2004-04-15 01:54:28 +00:00
Peter Wemm 257229b834 Turn off cvs build for a few hours while importing. 2004-04-15 01:01:07 +00:00
Jacques Vidrine 41b1a98f59 Patch vulnerabilities in the CVS client and server:
A malicious CVS server could cause your CVS client to overwrite
  arbitrary files (CAN-2004-0180).

  When a CVS client uses the `-p' checkout option, the server could be
  fooled into checking out files from outside the given $CVSROOT.

(This patch is applied in an unorthodox manner so as not to complicate
 a later vendor import of CVS.)
2004-04-14 16:40:50 +00:00
Ruslan Ermilov 08ecc50d50 Added FreeBSD 5.2.1, just in case. 2004-04-13 07:12:17 +00:00
Ruslan Ermilov 6570505a8f Added upcoming 4.10 and 5.3 releases.
Reminded by:	marcel
2004-04-13 07:07:46 +00:00
Ceri Davies 9612b1d4c2 Add a new threads category.
PR:		gnu/65209
Submitted by:	Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with:	julian,deischen
MFC after:	1 day
2004-04-05 23:06:16 +00:00
Daniel Harris f7593c8b32 Get rid of a spurious "the".
PR:		64081
Submitted by:	Chris Pepper <pepper@reppep.com>
MFC after:	1 day
2004-03-18 20:36:14 +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
Ruslan Ermilov 45f05f025a Just pass -DCRT_BEGIN as an option to mkdep(1), no need to override
the entire command.
2004-03-06 07:34:51 +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
Ruslan Ermilov 38639d5191 Fixed "make clean". 2004-03-03 17:04:49 +00:00
Andrey A. Chernov 0416b7503d Merge conflicts, upgrade 2004-03-01 08:37:20 +00:00
Andrey A. Chernov 7a39f4da90 Trimmed grep 2.4.2 2004-03-01 08:24:49 +00:00
Andrey A. Chernov cdd3ecb3a1 This commit was generated by cvs2svn to compensate for changes in r126432,
which included commits to RCS files with non-trunk default branches.
2004-03-01 08:24:49 +00:00
Andrey A. Chernov d022c66fd1 Use system getopt_long* 2004-02-28 05:38:45 +00:00
Bruce Evans 72abc018fe Rremoved bogus -static from CFLAGS. Makeworld will add -static in the
correct place if needed and possible.  Self-hosted builds can just use
the system default.
2004-02-26 07:50:56 +00:00
Bruce Evans c561816b66 Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
Makeworld will add -static in the correct place if needed and possible.
Self-hosted builds can just use the system default.

Fixed some nearby style bugs (code unrelated to its comment, and comment
formatting).
2004-02-26 07:08:33 +00:00
Eric Melville 5ee1d75f0a Test data before using it.
Of course, libdialog is still chock-full of similar bugs, but it's been
multiple years and no one has any better suggestions so the bugs will just
be dealt with case-by-case.

PR:	28221
2004-02-26 01:52:39 +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
Andrey A. Chernov 609991e87e Change warning hint to be more useful 2004-02-25 10:56:54 +00:00
Andrey A. Chernov ddde411742 Add upgrade instructions 2004-02-25 02:59:26 +00:00
Andrey A. Chernov a3625ac84d Upgrade to regex from grep 2.4.2 2004-02-25 02:41:15 +00:00
Andrey A. Chernov f88175ccbf Merge conflicts 2004-02-25 02:39:10 +00:00
Andrey A. Chernov 6238c8eac7 Virgin import (trimmed) of GNU regex, from GNU grep 2.4.2 2004-02-25 02:27:50 +00:00
Andrey A. Chernov 9102b423ca This commit was generated by cvs2svn to compensate for changes in r126209,
which included commits to RCS files with non-trunk default branches.
2004-02-25 02:27:50 +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
David E. O'Brien e23f8a5058 Allow to compile with non-GCC compiler. 2004-02-19 20:02:38 +00:00
Andrey A. Chernov 9fecffa391 Install gnuregex.h as wrapper for gnu/regex.h (with warning) 2004-02-18 22:09:34 +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 c66dab6245 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 03:40:32 +00:00
Andrey A. Chernov 275e64c344 Remove getopt*.c, we already have compatible getopt_long() in libc
(cc toolchain use it rarely, so no surprizes should occurse)
2004-02-17 03:18:24 +00:00
Andrey A. Chernov b3529dcd32 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 02:08:03 +00:00
Andrey A. Chernov 3cf745d8c9 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:59:37 +00:00
Andrey A. Chernov 4611c83a7f Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:49:20 +00:00
Andrey A. Chernov 353d3e550f Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:40:25 +00:00
Andrey A. Chernov e27b3bf5e2 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:34:53 +00:00
Andrey A. Chernov c715cc9e20 Remove getopt*.c, we already have compatible getopt_long() in libc 2004-02-17 01:08:34 +00:00
Andrey A. Chernov 123b24e355 Remove getopt*.c, we already have getopt_long() in libc 2004-02-17 00:56:16 +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
Andrey A. Chernov 5f9bc92ce8 Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex
2004-02-16 23:25:49 +00:00
Andrey A. Chernov af210d1ee6 Remove files no longer needed
Switch back to regex.h
2004-02-16 22:56:36 +00:00
Andrey A. Chernov 90fc35042b 1) Remove files no longer needed.
2) Switch back to regex.h
2004-02-16 22:43:05 +00:00
Andrey A. Chernov 0ba1614224 Install regex.h under include/gnu 2004-02-16 22:32:13 +00:00
Tim Kientzle b4435eb7d9 Register libarchive in bsd.libnames.mk and mdoc.local
Submitted by:	ru
2004-02-13 01:14:38 +00:00