[PATCH] bfd_target_xcoff_flavour (again)

Geoff Keating geoffk@cygnus.com
Mon Jun 12 15:44:00 GMT 2000


> Date: Thu, 8 Jun 2000 21:43:19 -0400
> From: Nick Duffek <nsd@redhat.com>

> 2000-06-08  Nicholas Duffek  <nsd@redhat.com>
> 
> 	* bfd-in.h (bfd_family_coff): Define.
> 	* bfd-in2.h: Regenerate.
> 	* coffgen.c (coff_count_linenumbers, coff_symbol_from,
> 	coff_find_nearest_line): Check COFFness using bfd_family_coff()
> 	instead of bfd_target_coff_flavour.
> 	* cofflink.c (_bfd_coff_final_link): Likewise.
> 	* cpu-ns32k.c (do_ns32k_reloc): Don't strcmp() target name to
> 	exclude XCOFF files.
> 	* reloc.c (bfd_perform_relocation, bfd_install_relocation):
> 	Likewise.
> 	* targets.c (enum bfd_flavour): Add bfd_target_xcoff_flavour.
> 	* xcoff-target.h (TARGET_SYM): Use bfd_target_xcoff_flavour.
> 	* xcofflink.c (XCOFF_XVECP): Delete.
> 	(bfd_xcoff_link_record_set, bfd_xcoff_import_symbol,
> 	bfd_xcoff_export_symbol, bfd_xcoff_link_count_reloc,
> 	bfd_xcoff_record_link_assignment,
> 	bfd_xcoff_size_dynamic_sections): Replace XCOFF_XVECP() with
> 	check for bfd_target_xcoff_flavour.

This is OK.


-- 
- Geoffrey Keating <geoffk@cygnus.com>


More information about the Binutils mailing list