Commit Graph

443 Commits

Author SHA1 Message Date
obrien
fbca8f8acd Properly quote the lib path. 2003-08-19 17:30:46 +00:00
obrien
33c986fdf5 Stage 3 of dynamic root support, con't.
'ld' should also search /lib for dynamic libraries.
2003-08-17 21:45:26 +00:00
obrien
28d3a70cba s/x86_64/amd64/g where possible. 2003-08-17 20:53:21 +00:00
ru
0de4aa01fa The as(1) manpage was missing on i386 and amd64. 2003-08-14 14:43:29 +00:00
kan
a886ff4dbd Temporarily turn off -Werror for these components. 2003-07-11 05:24:32 +00:00
obrien
8f11363180 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
obrien
032b6e9b7e Add elf_i386_fbsd emulation.
Obtained from:	p4
2003-07-01 17:12:55 +00:00
ru
18ac6e463e Don't build separate annotate.info, it's already part of gdb.info. 2003-07-01 14:04:08 +00:00
obrien
a153395cfd Update the target. 2003-06-26 16:13:36 +00:00
obrien
7ea86c6d90 Remove MAINTAINER lines. 2003-06-14 19:32:52 +00:00
peter
61de490e30 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
obrien
eaf1cac7ff The AMD64 Hammer bits. 2003-04-26 03:28:21 +00:00
obrien
5928fa1306 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
ru
c007500913 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
ru
e97478a535 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
imp
b0693a4cbc 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
iedowse
2c7df26ff6 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
ru
d9d1f68412 Fixed CLEANFILES.
Submitted by:	cron
2003-02-25 15:41:49 +00:00
obrien
92a70e3695 The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.
2003-01-21 06:12:56 +00:00
obrien
8e7de77cd0 Reformat. 2003-01-04 17:51:59 +00:00
obrien
e5da2f409c 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
fjoe
cdf147a0df GC 'char sigmap[]' (it is no longer used)
Approved by:	obrien
MFC after:	3 days
2003-01-04 17:35:54 +00:00
obrien
0f38a89788 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
obrien
187ddd39e8 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
obrien
670a912740 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
obrien
6e64f0f07b Change the default emulation to elf64_ia64_fbsd. This knows the proper
spelling of our rtld.
2002-12-05 18:23:08 +00:00
obrien
159ed8ed93 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
obrien
9cab8331e5 Remove the ancient PEI cruft that is useless. 2002-12-02 10:50:38 +00:00
obrien
a8a1c25ee7 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
obrien
75c01c7c09 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
obrien
b782c9f5b6 Cleaner support of a DEFAULT_VECTOR. 2002-12-02 09:59:05 +00:00
obrien
b3183ee084 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:54:40 +00:00
obrien
fb0963495c Handle the "HAVE_" defines via the VECS list. 2002-12-02 09:53:59 +00:00
obrien
1f73f7da62 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
obrien
55d1c0f001 Update for the Binutils 2.13.2 20021127 snapshot import. 2002-12-02 09:45:51 +00:00
obrien
09e9e5550d We now have insque(). 2002-12-02 09:44:59 +00:00
obrien
61b3e093cf Binutils 2.13.2 is WARNS=2 clean for all our architectures. 2002-12-02 09:41:35 +00:00
obrien
6e6e1626c0 Update for the 2.13.2 2002-11-27 snapshot import. 2002-12-02 09:40:02 +00:00
ru
7920e22cea Take __FreeBSD_version into account when BOOTSTRAPPING. 2002-11-13 13:49:29 +00:00
mp
87d8bcb4ce Add support for sparc64 kernel debugging.
Submitted by:	tmm
2002-10-21 21:36:36 +00:00
obrien
25eef24259 GDB 5.2.1 doesn't build on sparc64 right now. 2002-10-20 21:42:55 +00:00
obrien
63bd46464d We HAVE_STPCPY now. 2002-10-20 07:50:20 +00:00
obrien
b6ff61943b Take a guess at what WARNS level will make this compile on ia64. 2002-10-14 00:05:49 +00:00
mp
372f065cc6 Remove dependency on version.in for version information.
Submitted by:	obrien
2002-10-12 21:23:53 +00:00
mp
a03dd822b1 Fix function parameter lists to be correct and eliminate compiler warnings. 2002-10-12 18:08:44 +00:00
obrien
1411aacb26 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:38:20 +00:00
obrien
99a0609081 Update for 2.13 10-Oct-2002 import. 2002-10-12 04:24:35 +00:00
obrien
c8a413b441 Shut up GCC, don't shadow Version 6 standard functions. 2002-10-12 04:06:13 +00:00
obrien
21dc3119fa Talk about punting and not going to any trouble to DTRT:
contrib/binutils/include/getopt.h
	/* Many other libraries have conflicting prototypes for getopt, with
	   differences in the consts, in stdlib.h.  To avoid compilation
	   errors, only prototype getopt for the GNU C library.  */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.
2002-10-12 03:55:09 +00:00
obrien
ac0491b37e Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.
2002-10-12 03:04:42 +00:00