binutils-gdb/opcodes
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
..
po Move translated part of bug report string back into .c files so 2000-04-04 14:32:35 +00:00
a29k-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
acinclude.m4 19990502 sourceware import 1999-05-03 07:29:11 +00:00
aclocal.m4 rebuild with current tools 2000-02-27 16:55:52 +00:00
alpha-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
alpha-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
arc-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
arc-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
arm-dis.c 2000-02-14 Fernando Nasser <fnasser@totem.to.cygnus.com> 2000-02-14 19:02:47 +00:00
arm-opc.h Disassemble 0xde.. to "bal" [branch always] instead of "undefined". 2000-03-29 18:23:57 +00:00
avr-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
cgen-asm.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cgen-dis.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
cgen-opc.c Add functions to modify/examine the signed_overflow_ok_p field in cpu_desc. 2000-02-24 23:58:52 +00:00
ChangeLog Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
config.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
configure Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
configure.in Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
d10v-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
d10v-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
d30v-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
d30v-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
dep-in.sed 19990502 sourceware import 1999-05-03 07:29:11 +00:00
dis-buf.c This lot mainly cleans up `comparison between signed and unsigned' gcc 2000-02-21 12:01:27 +00:00
disassemble.c Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
fr30-asm.c * fr30-asm.c,fr30-desc.h: Rebuild. 1999-10-05 00:05:52 +00:00
fr30-desc.c Initialise signed_overflow field 2000-04-24 17:32:36 +00:00
fr30-desc.h * fr30-asm.c,fr30-desc.h: Rebuild. 1999-10-05 00:05:52 +00:00
fr30-dis.c * fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. 1999-08-29 21:16:25 +00:00
fr30-ibld.c * fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. 1999-08-29 21:16:25 +00:00
fr30-opc.c * fr30-asm.c,fr30-desc.h,fr30-dis.c,fr30-ibld.c,fr30-opc.c: Rebuild. 1999-08-29 21:16:25 +00:00
fr30-opc.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
h8300-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
h8500-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
h8500-opc.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
hppa-dis.c * hppa-dis.c (extract_16): New function. 2000-04-21 22:04:29 +00:00
i370-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
i370-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
i386-dis.c x86 indirect jump/call syntax fixes. Disassembly fix for lcall. 1999-12-27 16:10:31 +00:00
i960-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
ia64-asmtab.c Misc assembly/disassembly fixes. 2000-04-23 02:39:13 +00:00
ia64-asmtab.h Misc assembly/disassembly fixes. 2000-04-23 02:39:13 +00:00
ia64-dis.c IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-gen.c Misc assembly/disassembly fixes. 2000-04-23 02:39:13 +00:00
ia64-ic.tbl IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-opc-a.c IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-opc-b.c Misc assembly/disassembly fixes. 2000-04-23 02:39:13 +00:00
ia64-opc-d.c IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-opc-f.c Misc assembly/disassembly fixes. 2000-04-23 02:39:13 +00:00
ia64-opc-i.c IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-opc-m.c IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-opc-x.c IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-opc.c Misc assembly/disassembly fixes. 2000-04-23 02:39:13 +00:00
ia64-opc.h IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-raw.tbl IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-war.tbl IA-64 ELF support. 2000-04-21 20:22:24 +00:00
ia64-waw.tbl IA-64 ELF support. 2000-04-21 20:22:24 +00:00
m32r-asm.c 2000-02-23 Andrew Haley <aph@cygnus.com> 2000-02-24 16:19:36 +00:00
m32r-desc.c Replace 'flags' with 'signed_overflow_ok_p' 2000-02-28 17:57:40 +00:00
m32r-desc.h 2000-02-23 Andrew Haley <aph@cygnus.com> 2000-02-24 16:19:36 +00:00
m32r-dis.c 2000-02-23 Andrew Haley <aph@cygnus.com> 2000-02-24 16:19:36 +00:00
m32r-ibld.c 2000-02-23 Andrew Haley <aph@cygnus.com> 2000-02-24 16:19:36 +00:00
m32r-opc.c * fr30-asm.c,fr30-desc.h: Rebuild. 1999-10-05 00:05:52 +00:00
m32r-opc.h 2000-02-23 Andrew Haley <aph@cygnus.com> 2000-02-24 16:19:36 +00:00
m32r-opinst.c * fr30-asm.c,fr30-desc.h: Rebuild. 1999-10-05 00:05:52 +00:00
m68k-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
m68k-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
m88k-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
m10200-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
m10200-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
m10300-dis.c * m10300-dis.c (HAVE_AM30, HAVE_AM33): Define. 2000-04-20 22:15:32 +00:00
m10300-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
Makefile.am IA-64 ELF support. 2000-04-21 20:22:24 +00:00
Makefile.in IA-64 ELF support. 2000-04-21 20:22:24 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mcore-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
mcore-opc.h Add support for M340 part. 2000-02-10 21:41:11 +00:00
mips16-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
mips-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
mips-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
mpw-make.sed 19990502 sourceware import 1999-05-03 07:29:11 +00:00
ns32k-dis.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
opintl.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
pj-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
pj-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
ppc-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
ppc-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
sh-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
sh-opc.h opcodes: 2000-04-05 21:43:26 +00:00
sparc-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
sparc-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
stamp-h.in 19990502 sourceware import 1999-05-03 07:29:11 +00:00
sysdep.h More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
tic30-dis.c * alpha-dis.c: Don't include <stdlib.h>. 1999-06-21 10:11:52 +00:00
tic80-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
tic80-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
v850-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
v850-opc.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
vax-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
w65-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
w65-opc.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
z8k-dis.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00
z8k-opc.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
z8kgen.c More portability patches. Include sysdep.h everywhere. 2000-04-14 04:16:58 +00:00