Go to file
Jim Blandy 50d7492f14 Patch from Will Schmidt <willschm@us.ibm.com>:
These changes enable support of PPC64 architecture.
* config/powerpc/ppc64linux.mh: New file.
* config/powerpc/ppc64linux.mt: New file.
* config/powerpc/tm-ppc64linux.h: New file.
* ppc64-linux-tdep.c: New file.
* configure.host: Add clause for powerpc64-*-linux*
* configure.tgt: Add clause for powerpc64-*-linux*
* elfread.c (record_minimal_symbol_and_info): If
DROP_TEXT_NAME_PREFIX_CHAR is #defined, then drop a leading
instance of that char from the names of text symbols.
(elf_symtab_read): If SKIP_DATA_IN_OPD is #defined, ignore data
symbols in the .opd section.
* ppc-linux-nat.c (PTRACE_XFER_TYPE): Change the default for this
to 'long'.
(PPC_PTRACE_POKEUSR_3264, PPC_PTRACE_PEEKUSR_3264,
PPC_PTRACE_POKEDATA_3264, PPC_PTRACE_PEEKDATA_3264): Provide
default definitions for these.
(ARCH64): New macro.
(ppc_wordsize_pid): New function.
(kernel_u_size): Handle 64-bit case.
(ppc_register_u_addr): Same.
(fetch_register): Use the *_3264 requests when
debugging a 64-bit process from a 32-bit GDB.
(store_register): Same.
(GDB_MAX_ALLOCA, child_xfer_memory, udot_info): Copied from
infptrace.c.
(_initialize_ppc_linux_nat): New function, to register our copy of
the udot_info command.
* ppc-linux-tdep.c (TDEP): New macro.
(ppc64_linux_svr4_fetch_link_map_offsets): New function.
(read_memory_addr): Copied from rs6000-tdep.c.
(ppc64_linux_convert_from_func_ptr_addr): New function.
* rs6000-tdep.c (skip_prologue): Recognize more instructions for
saving the 'lr' and 'cr' registers; don't just pre-emptively mask
in the 'st' opcode as soon as we see an 'mflr' or 'mfcr' opcode.
Recognize more instructions for updating the stack pointer, and
loading the TOC pointer.
(registers_powerpc64, registers_a35): New register tables.
(rs6000_gdbarch_init): Register the 64-bit solib functions.
* solib-svr4.c (solib_break_names): If SOLIB_BREAK_NAME is
#defined, include an entry for it.
(enable_break): Call CONVERT_FROM_FUNC_PTR_ADDR when trying to
guess the linker's base address.
* config/powerpc/tm-linux.h
(ppc64_linux_svr4_fetch_link_map_offsets,
ppc64_linux_convert_from_func_ptr_addr): New declarations.
2003-05-13 00:08:58 +00:00
bfd This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
config This commit was manufactured by cvs2svn to create branch 'kettenis- 2003-03-08 00:00:32 +00:00
contrib New directory. Created to contain a copy of the texi2pod.pl script so that 2002-07-03 11:20:13 +00:00
cpu This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
etc 2003-01-02 H.J. Lu <hjl@gnu.org> 2003-01-02 20:51:02 +00:00
gdb Patch from Will Schmidt <willschm@us.ibm.com>: 2003-05-13 00:08:58 +00:00
include This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
intl comment typo fixes 2002-01-21 14:03:27 +00:00
libiberty This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
mmalloc 2002-11-28 Elena Zannoni <ezannoni@redhat.com> 2002-11-28 16:46:31 +00:00
opcodes This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
readline This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
sim This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
texinfo This commit was manufactured by cvs2svn to create branch 'kettenis- 2003-03-08 00:00:32 +00:00
.cvsignore Add MMIX support 2001-10-30 15:20:14 +00:00
ChangeLog This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
config-ml.in This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
config.guess This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
config.if This commit was manufactured by cvs2svn to create branch 2003-02-02 23:00:07 +00:00
config.sub This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
configure This commit was manufactured by cvs2svn to create branch 2003-04-19 14:43:51 +00:00
configure.in This commit was manufactured by cvs2svn to create branch 2003-04-19 14:43:51 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:11 +00:00
COPYING.LIBGLOSS 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
COPYING.NEWLIB 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
djunpack.bat * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst 2000-05-08 15:13:30 +00:00
gettext.m4 * gettext.m4: Test po/POTFILES.in exists before trying to read. 2001-10-03 01:46:25 +00:00
install-sh 19990502 sourceware import 1999-05-03 07:29:11 +00:00
libtool.m4 This commit was manufactured by cvs2svn to create branch 2003-04-19 14:43:51 +00:00
ltcf-c.sh 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-01 12:01:26 +00:00
ltcf-cxx.sh This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
ltcf-gcj.sh This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
ltconfig This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:43:09 +00:00
MAINTAINERS This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
Makefile.def This commit was manufactured by cvs2svn to create branch 2003-03-03 20:50:21 +00:00
Makefile.in This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
Makefile.tpl This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
missing 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs 19990502 sourceware import 1999-05-03 07:29:11 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-build.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-configure 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-install 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README 19990502 sourceware import 1999-05-03 07:29:11 +00:00
README-maintainer-mode Add note about inability to use "make distclean" in maintainer mode. 2001-03-23 18:06:17 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:11 +00:00
src-release This commit was manufactured by cvs2svn to create branch 'jimb- 2003-05-09 16:41:43 +00:00
symlink-tree gcc adopts symlink-tree, refer more to libiberty. 2001-12-05 10:07:09 +00:00
ylwrap 19990502 sourceware import 1999-05-03 07:29:11 +00:00

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.