Commit graph

2405 commits

Author SHA1 Message Date
Peter Wemm cd51f0035e Add a temporary indirect patch for gcc when targeting amd64. This is to
give the cvs tree a surviving a 'make world'.  One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables.  The use of '.' causes as(1) to choke
on big files.  Use a simpler form instead.  This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c.  While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with:	kan
Approved by:	re (jhb)
2003-05-24 20:58:47 +00:00
Peter Wemm bd3aef3d0d Set the binutils arch for as/nm correctly on the amd64 platform.
As far as binutils is concerned, the amd64 platform is still called
"x86-64"/"x86_64".  Setting things from ${MACHINE_ARCH} breaks that.

Approved by:  re (scottl)
2003-05-08 06:39:31 +00:00
Jacques Vidrine bc562db930 Enable GSSAPI/Kerberos 5 support (aka `gserver').
MFC after:	1 month
2003-05-05 16:50:42 +00:00
Ruslan Ermilov a2211ce1e0 Fix build on 4.x. 2003-05-02 11:56:43 +00:00
Ruslan Ermilov 7a547773ab Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.
2003-05-02 00:55:52 +00:00
Ruslan Ermilov bc0a8ef662 Update for texinfo 4.5. 2003-05-02 00:51:24 +00:00
Ruslan Ermilov 4edd10842c catman(1) sources now live elsewhere. 2003-05-01 23:48:11 +00:00
David E. O'Brien 8f3bf9945d Lock GCC w/o -m32 into 64-bit mode. 2003-05-01 15:00:46 +00:00
Ruslan Ermilov 80da55ea72 Upgrade to Groff 1.19. 2003-05-01 13:22:21 +00:00
Ruslan Ermilov e3519f9e1c Replace beforeinstall: with plain FILES. 2003-04-30 20:48:03 +00:00
David E. O'Brien 7bf3ceda8b Wrap gperf in NO_CXX as it needs the C++ to compile. 2003-04-27 20:14:05 +00:00
David E. O'Brien a12d8aed9a We're changing the platform name from x86[_-]86 to amd64. 2003-04-26 20:04:38 +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
Ruslan Ermilov 6b09ae934b Removed invasion into these makefiles by the "legacy" stuff;
I have a better fix in the works.
2003-04-12 14:44:49 +00:00
Ruslan Ermilov cc59b11e0f libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.
2003-04-11 18:02:10 +00:00
Warner Losh 30aaff1192 Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
2003-04-05 20:30:30 +00:00
Ruslan Ermilov 4d63e8de71 Mark bits that do not require an object directory as such. 2003-04-01 12:37:54 +00:00
Giorgos Keramidas 0b541a3c80 Document the MAIL_AGENT environment var.
PR:		48277
Submitted by:	Stefan Walter <sw@gegenunendlich.de>
2003-03-26 01:45:20 +00:00
Ian Dowse ea0d04f36e Attempt to automatically read in kernel module symbols when a live
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.

The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.

The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:

	./<module>.ko.debug		./<module>.ko
	$DIR/<module>.ko.debug		$DIR/<module>.ko
	/boot/kernel/<module>.ko.debug	/boot/kernel/<module>.ko

Approved by:	obrien, mp
2003-03-21 00:30:53 +00:00
Dag-Erling Smørgrav dbd7434863 Shorten the URL to the problem-reports article. 2003-03-18 11:12:14 +00:00
Ruslan Ermilov e478cf0a5a Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
Ruslan Ermilov 2587947187 Install the gcov(1) manpage; kernbb(8) references it. 2003-02-24 22:58:19 +00:00
David E. O'Brien 63b117a6b7 I thought groff was wrapped with NO_CXX. Oh well, it is now. 2003-02-24 02:40:56 +00:00
David E. O'Brien 0bc8118778 Some things don't build for PowerPC yet.
List from:	benno
2003-02-21 02:30:51 +00:00
Ruslan Ermilov e50f318170 Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent. 2003-02-14 16:01:58 +00:00
Ruslan Ermilov 6a5c53e7a2 Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by:	phantom
2003-02-14 13:36:16 +00:00
Alexey Zelkin 09ffd02a1b FreeBSD 5.x does not provide libskey anymore, remove reference 2003-02-13 18:23:13 +00:00
Alexey Zelkin d1ada631c0 Add 'libgeom' to list of valid .Lb arguments 2003-02-13 18:21:32 +00:00
Andrey A. Chernov 8bdc8bfff8 Add /usr/local/man as OPTIONAL_MANPATH 2003-02-11 01:04:53 +00:00
Jacques Vidrine 6042ca2e01 Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.
2003-02-10 19:57:56 +00:00
Peter Wemm afa79409ee Finish update for cvs-1.11.5. Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.
2003-01-21 23:00:36 +00:00
Peter Wemm af03f496d0 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00
Peter Wemm e5c3c1793b Update for cvs-1.11.5 import (note to self: gotta fix the version tags) 2003-01-21 22:04:20 +00:00
David E. O'Brien 61de3d8db1 The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00
David E. O'Brien ceb0f624bc Reformat. 2003-01-04 17:51:59 +00:00
David E. O'Brien bff2d4022e Add the ability to debug C++ programs using v2 and v3 of the G++ ABI.
Submitted by:	Peter Edwards <pmedwards@eircom.net>
2003-01-04 17:51:48 +00:00
Max Khon 6fd1035190 GC 'char sigmap[]' (it is no longer used)
Approved by:	obrien
MFC after:	3 days
2003-01-04 17:35:54 +00:00
Giorgos Keramidas b12211fe30 Make minimal changes to point the users to the Texinfo documentation
for more detailed information about sdiff(1).  Hopefully this will
make it easier to find how `interactive merging' works with sdiff.

PR:		docs/30618
Submitted by:	mark@summersault.com
2002-12-14 23:58:49 +00:00
Ruslan Ermilov 8d5d039f80 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +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 3e17ea404e Change the default emulation to elf64_sparc_fbsd. This emulation knows the
correct spelling of our rtld.
2002-12-05 18:25:09 +00:00
David E. O'Brien 978f043ed0 Set WARNS=0 as a temp work around until I can get access to an IA-64 box
to do this right.

Approved by:	RE
2002-12-05 18:24:34 +00:00
David E. O'Brien a91d8d9644 Change the default emulation to elf64_ia64_fbsd. This knows the proper
spelling of our rtld.
2002-12-05 18:23:08 +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 685272c479 Gperf is usable again. 2002-12-04 17:34:21 +00:00
Peter Wemm d54839776d Sigh. Another wrong version string. However, this one isn't used in the
build.

Approved by: re
2002-12-04 00:07:15 +00:00
Peter Wemm 8718d4cd93 Oops. Use the correct version number. The number that was here was the
one that I originally used on freefall etc.

Approved by: re
2002-12-03 21:59:42 +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