No description
Find a file
Clinton Popetz 7f6d05e83e Add XCOFF64 support.
bfd:
	* Makefile.am (coff64-rs6000.lo): New rule.
	* Makefile.in: Regenerate.
	* coff-rs6000.c (xcoff_mkobject, xcoff_copy_private_bfd_data,
	xcoff_is_local_label_name, xcoff_rtype2howto,
	xcoff_reloc_type_lookup, xcoff_slurp_armap, xcoff_archive_p,
	xcoff_read_ar_hdr, xcoff_openr_next_archived_file, xcoff_write_armap,
	xcoff_write_archive_contents): No longer static, and prefix with _bfd_.
	(NO_COFF_SYMBOLS): Define.
	(xcoff64_swap_sym_in, xcoff64_swap_sym_out, xcoff64_swap_aux_in,
	xcoff64_swap_aux_out): New functions; handle xcoff symbol tables
	internally.
	(MINUS_ONE): New macro.
	(xcoff_howto_tabl, xcoff_reloc_type_lookup): Add 64 bit POS
	relocation.
	(coff_SWAP_sym_in, coff_SWAP_sym_out, coff_SWAP_aux_in,
	coff_SWAP_aux_out): Map to the new functions.
	* coff64-rs6000.c: New file.
	* libcoff.h (bfd_coff_backend_data): Add new fields
	_bfd_coff_force_symnames_in_strings and
	_bfd_coff_debug_string_prefix_length.
	(bfd_coff_force_symnames_in_strings,
	bfd_coff_debug_string_prefix_length): New macros for above fields.
	* coffcode.h (coff_set_arch_mach_hook): Handle XCOFF64 magic.
	Set machine to 620 for XCOFF64.  Use bfd_coff_swap_sym_in instead
	of using coff_swap_sym_in directly.
	(FORCE_SYMNAMES_IN_STRINGS): New macro, defined for XCOFF64.
	(coff_set_flags) Set magic for XCOFF64.
	(coff_compute_section_file_positions): Add symbol name length to
	string section length if bfd_coff_debug_string_prefix_length is
	true.
	(coff_write_object_contents): Don't do reloc overflow for XCOFF64.
	(coff_slurp_line_table): Use bfd_coff_swap_lineno_in instead of
	using coff_swap_lineno_in directly.
	(bfd_coff_backend_data): Add _bfd_coff_force_symnames_in_strings
	and _bfd_coff_debug_string_prefix_length fields.
	* coffgen.c (coff_fix_symbol_name, coff_write_symbols): Force
	symbol names into strings table when
	bfd_coff_force_symnames_in_strings is true.
	* coffswap.h (MAX_SCNHDR_NRELOC, MAX_SCNHDR_NLNNO, GET_RELOC_VADDR,
	SET_RELOC_VADDR): New macros.
	(coff_swap_reloc_in, coff_swap_reloc_out): Use above macros.
	(coff_swap_aux_in, coff_swap_aux_out): Remove RS6000COFF_C
	code.
	(coff_swap_aouthdr_in, coff_swap_aouthdr_out): Handle XCOFF64
	changes within RS6000COFF_C specific code.
	(coff_swap_scnhdr_out): Use PUT_SCNHDR_NLNNO, PUT_SCNHDR_NRELOC,
	MAX_SCNHDR_NRELOC, and MAX_SCNHDR_NLNNO.
	* reloc.c (bfd_perform_relocation, bfd_install_relocation):
	Extend existing hack on target name.
	* xcofflink.c (XCOFF_XVECP): Extend existing hack on
	target name.
	* coff-tic54x.c (ticof): Keep up to date with new fields
	in bfd_coff_backend_data.
	* config.bfd: Add bfd_powerpc_64_arch to targ_arch and define
	targ_selvecs to include rs6000coff64_vec for rs6000.
	* configure.in: Add rs6000coff64_vec case.
 	* cpu-powerpc.c: New bfd_arch_info_type.

	gas:
	* as.c (parse_args): Allow md_parse_option to override -a listing
	option.
	* config/obj-coff.c (add_lineno): Change type of offset parameter
	from "int" to "bfd_vma."
	* config/tc-ppc.c (md_pseudo_table): Add "llong" and "machine."
	(ppc_mach, ppc_subseg_align, ppc_target_format): New.
	(ppc_change_csect): Align correctly for XCOFF64.
	(ppc_machine): New function, which discards "ppc_machine" line.
	(ppc_tc): Cons for 8 when code is 64 bit.
	(md_apply_fix3): Don't check operand->insert.  Handle 64 bit
	relocations.
	(md_parse_option): Handle -a64 and -a32.
	(ppc_xcoff64): New.
	* config/tc-ppc.h (TARGET_MACH): Define.
	(TARGET_FORMAT): Move to function.
	(SUB_SEGMENT_ALIGN): Use ppc_subseg_align.

	include:
	* include/coff/rs6k64.h: New file.

	opcodes:
	* configure.in: Add bfd_powerpc_64_arch.
	* disassemble.c (disassembler): Use print_insn_big_powerpc for
	64 bit code.
2000-04-26 15:09:44 +00:00
bfd Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
binutils IA-64 ELF support. 2000-04-21 20:22:24 +00:00
config Add IBM 370 support. 2000-02-23 13:52:23 +00:00
etc 19990502 sourceware import 1999-05-03 07:29:11 +00:00
gas Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
gdb * ax-gdb.c (agent_command): Remove now useless cast of 2000-04-26 12:41:48 +00:00
gprof Remove ``-W -Wall'' from top-level Makefile/configure. 2000-04-09 12:17:43 +00:00
include Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
intl Shouldn't have escaped. 1999-06-02 20:33:41 +00:00
ld * Makefile.am: Add PA64 support. Add missing dependencies for 2000-04-25 17:21:28 +00:00
libiberty 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG> 2000-04-21 22:19:43 +00:00
mmalloc * Makefile.in (install): Append "n", not ".n" to libmmalloc.a, 2000-03-20 10:31:58 +00:00
opcodes Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
readline Remove generated file. 2000-04-19 01:59:39 +00:00
sim * am33.igen (inc4 Rn): Use genericAdd so as to modify flags. 2000-04-25 09:48:40 +00:00
texinfo add texinfo.tex 1999-06-12 09:59:55 +00:00
.cvsignore 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ChangeLog * djunpack.bat: New file. 2000-04-23 07:23:05 +00:00
config-ml.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
config.guess * config.guess, config.sub: Updated to match config's 2000-02-15 2000-02-24 05:38:51 +00:00
config.if 19990502 sourceware import 1999-05-03 07:29:11 +00:00
config.sub * config.sub (d30v): Add d30v as a basic machine type. 2000-04-21 17:22:35 +00:00
configure Remove ``-W -Wall'' from top-level Makefile/configure. 2000-04-09 12:17:43 +00:00
configure.in * configure.in: -linux-gnu*, not -linux-gnu. 2000-03-30 02:19:56 +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
djunpack.bat * djunpack.bat: New file. 2000-04-23 07:23:05 +00:00
install-sh 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ltconfig * ltconfig, ltmain.sh: Update to libtool 1.3.4. 2000-02-27 16:46:19 +00:00
ltmain.sh * ltconfig, ltmain.sh: Update to libtool 1.3.4. 2000-02-27 16:46:19 +00:00
MAINTAINERS Update winsup stuff. 2000-04-03 01:26:01 +00:00
Makefile.in Pass MD5PROG to sub-makes when building .tar.bz2 archive. 2000-04-19 06:00:03 +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
setup.com 19990502 sourceware import 1999-05-03 07:29:11 +00:00
symlink-tree 19990502 sourceware import 1999-05-03 07:29:11 +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.