binutils-gdb/gas/config
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
..
aout_gnu.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
atof-ieee.c fix copyright 1999-09-12 03:34:29 +00:00
atof-tahoe.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
atof-vax.c fix copyright 1999-09-12 03:34:29 +00:00
e-i386aout.c This set of patches add support for aout emulation on the x86 2000-01-26 22:48:31 +00:00
e-i386coff.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
e-i386elf.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
e-mipsecoff.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
e-mipself.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
itbl-mips.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m68k-parse.h 1999-05-28 Torbjorn Granlund <tege@matematik.su.se> 1999-05-27 22:36:51 +00:00
m68k-parse.y 19990502 sourceware import 1999-05-03 07:29:11 +00:00
m88k-opcode.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-aout.c This set of patches add support for aout emulation on the x86 2000-01-26 22:48:31 +00:00
obj-aout.h This set of patches add support for aout emulation on the x86 2000-01-26 22:48:31 +00:00
obj-bout.c reformat copyright paragraph 1999-06-22 14:32:33 +00:00
obj-bout.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-coff.c Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
obj-coff.h Add support for WinCE targeted toolchains. 2000-02-24 19:49:18 +00:00
obj-ecoff.c This set of patches add support for aout emulation on the x86 2000-01-26 22:48:31 +00:00
obj-ecoff.h Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
obj-elf.c Check for changed section attributes. 2000-04-20 01:43:32 +00:00
obj-elf.h This set of patches add support for aout emulation on the x86 2000-01-26 22:48:31 +00:00
obj-evax.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-evax.h * read.c (TC_IMPLICIT_LCOMM_ALIGNMENT): New default-definition. 2000-03-13 20:46:07 +00:00
obj-generic.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-generic.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-hp300.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-hp300.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-ieee.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-ieee.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-multi.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-multi.h This set of patches add support for aout emulation on the x86 2000-01-26 22:48:31 +00:00
obj-som.c * obj-som.c: Terminate obj_pseudo_table. 2000-04-24 23:48:13 +00:00
obj-som.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-vms.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
obj-vms.h Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-a29k.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-a29k.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-alpha.c * config/tc-alpha.c (md_assemble): Accept `1' and `9' in an 2000-02-28 03:25:35 +00:00
tc-alpha.h Add support for !literal and !lituse_base 1999-11-29 00:46:16 +00:00
tc-arc.c * config/tc-alpha.c: More use of symbol accessor functions. 1999-06-22 14:53:01 +00:00
tc-arc.h Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-arm.c Document behaviour of .align 0 for ARM targets. 2000-04-24 23:57:30 +00:00
tc-arm.h fix compile time warnings 1999-10-27 18:13:28 +00:00
tc-avr.c ATMEL AVR microcontroller support. 2000-03-27 08:39:14 +00:00
tc-avr.h ATMEL AVR microcontroller support. 2000-03-27 08:39:14 +00:00
tc-d10v.c Apply patch to fix compuation of frag offsets for symbols 2000-04-12 18:03:58 +00:00
tc-d10v.h Apply Andrew Cagney's patch to fix use of 'struct fix'. 2000-04-12 17:59:32 +00:00
tc-d30v.c * config/tc-d30v.c (write_2_short): Disregard opcode1->ecc when 2000-04-21 17:20:03 +00:00
tc-d30v.h Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-fr30.c * config/tc-alpha.c: More use of symbol accessor functions. 1999-06-22 14:53:01 +00:00
tc-fr30.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-generic.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-generic.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-h8300.c * config/tc-h8300.c: Add ATTRIBUTE_UNUSED as appropriate. 2000-03-15 21:28:47 +00:00
tc-h8300.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-h8500.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-h8500.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-hppa.c * config/tc-hppa.c (md_apply_fix): Handle new PA2.0 formats. 2000-04-21 20:34:00 +00:00
tc-hppa.h Remove dead code when not TC_M68K. 2000-02-24 01:56:31 +00:00
tc-i370.c Add IBM 370 support. 2000-02-23 13:52:23 +00:00
tc-i370.h Add IBM 370 support. 2000-02-23 13:52:23 +00:00
tc-i386.c Remove '/' from comment_chars for FreeBSD so divide operator works. 2000-04-25 22:55:20 +00:00
tc-i386.h config/tc-i386.c (struct _i386_insn): Combine disps, imms, regs into 2000-02-24 08:18:20 +00:00
tc-i860.c * config/tc-alpha.c: More use of symbol accessor functions. 1999-06-22 14:53:01 +00:00
tc-i860.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-i960.c 1999-06-11 Martin Dorey <mdorey@madge.com> 1999-06-11 19:03:06 +00:00
tc-i960.h Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-ia64.c Clean up F-unit assembly and tests. 2000-04-23 02:53:35 +00:00
tc-ia64.h IA-64 ELF support. 2000-04-21 20:22:24 +00:00
tc-m32r.c * config/tc-m32r.c (m32r_fix_adjustable): Look up the 2000-03-09 22:07:28 +00:00
tc-m32r.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-m68k.c * config/tc-m68k.c: Add some ATTRIBUTE_UNUSED. 1999-07-12 08:34:56 +00:00
tc-m68k.h Remove dead code when not TC_M68K. 2000-02-24 01:56:31 +00:00
tc-m88k.c * config/tc-alpha.c: More use of symbol accessor functions. 1999-06-22 14:53:01 +00:00
tc-m88k.h Remove dead code when not TC_M68K. 2000-02-24 01:56:31 +00:00
tc-m68851.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-mcore.c Add support for M340 2000-02-10 21:31:13 +00:00
tc-mcore.h Add support for M340 2000-02-10 21:31:13 +00:00
tc-mips.c Use record_alignment, not bfd_set_section_alignment. 2000-04-25 10:02:20 +00:00
tc-mips.h Add support for WinCE targeted toolchains. 2000-02-24 19:49:18 +00:00
tc-mn10200.c 1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk> 1999-06-22 14:07:40 +00:00
tc-mn10200.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-mn10300.c * config/tc-mn10300.c (HAVE_AM30): Define. 2000-04-20 22:18:27 +00:00
tc-mn10300.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-ns32k.c * config/tc-alpha.c: More use of symbol accessor functions. 1999-06-22 14:53:01 +00:00
tc-ns32k.h Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-pj.c 1999-09-04 Steve Chamberlain <sac@pobox.com> 1999-09-04 17:29:22 +00:00
tc-pj.h 1999-09-04 Steve Chamberlain <sac@pobox.com> 1999-09-04 17:29:22 +00:00
tc-ppc.c Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
tc-ppc.h Add XCOFF64 support. 2000-04-26 15:09:44 +00:00
tc-sh.c opcodes: 2000-04-05 21:43:26 +00:00
tc-sh.h Fix SUB_SEGMENT_ALIGN macor for BFD_ASSEMBLER 2000-03-29 22:57:57 +00:00
tc-sparc.c * config/tc-sparc.c (sparc_ip): Avoid string pasting. 2000-04-05 09:38:43 +00:00
tc-sparc.h comment additions 1999-08-08 16:04:36 +00:00
tc-tahoe.c Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-tahoe.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-tic30.c 1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk> 1999-06-22 14:07:40 +00:00
tc-tic30.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-tic80.c 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-tic80.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-v850.c Do not attempt to fixup relocs relative to weak symbols 1999-11-06 14:05:24 +00:00
tc-v850.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-vax.c Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-vax.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-w65.c Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-w65.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
tc-z8k.c Add support for storing local symbols in a small structure to save 1999-06-03 00:29:48 +00:00
tc-z8k.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-386bsd.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-aux.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-delt88.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-delta.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-dpx2.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-dynix.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-epoc-pe.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-generic.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-go32.h 1999-07-21 Mark Elbrecht <snowball3@bigfoot.com> 1999-07-22 01:41:00 +00:00
te-hp300.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-hppa.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-i386aix.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-ic960.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-interix.h 1999-09-14 Donn Terry <donn@interix.com> 1999-09-14 15:38:32 +00:00
te-linux.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-lnews.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-lynx.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-mach.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-macos.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-nbsd.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-nbsd532.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-pc532mach.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-pe.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-ppcnw.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-psos.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-riscix.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-sparcaout.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-sun3.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-svr4.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-sysv32.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
te-wince-pe.h Add support for WinCE targeted toolchains. 2000-02-24 19:49:18 +00:00
vax-inst.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
vms-a-conf.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00
vms-conf.h 19990502 sourceware import 1999-05-03 07:29:11 +00:00