binutils-gdb/include/coff
Tristan Gingold 167ad85bf0 Add pe/x86_64 bigobj file format.
bfd/
	* peicode.h (pe_ILF_object_p): Adjust, as the version number
	has been read.
	(pe_bfd_object_p): Also read version number to detect ILF.
	* pe-x86_64.c (COFF_WITH_PE_BIGOBJ): Define.
	(x86_64pe_bigobj_vec): Define
	* coffcode.h (bfd_coff_backend_data): Add _bfd_coff_max_nscns field.
	(bfd_coff_max_nscns): New macro.
	(coff_compute_section_file_positions): Use unsigned int for
	target_index.  Compare with bfd_coff_max_nscns.
	(bfd_coff_std_swap_table, ticoff0_swap_table, ticoff1_swap_table):
	Set a value for _bfd_coff_max_nscns.
	(header_bigobj_classid): New constant.
	(coff_bigobj_swap_filehdr_in, coff_bigobj_swap_filehdr_out)
	(coff_bigobj_swap_sym_in, coff_bigobj_swap_sym_out)
	(coff_bigobj_swap_aux_in, coff_bigobj_swap_aux_out): New
	functions.
	(bigobj_swap_table): New table.
	* libcoff.h: Regenerate.
	* coff-sh.c (bfd_coff_small_swap_table): Likewise.
	* coff-alpha.c (alpha_ecoff_backend_data): Add value for
	_bfd_coff_max_nscns.
	* coff-mips.c (mips_ecoff_backend_data): Likewise.
	* coff-rs6000.c (bfd_xcoff_backend_data)
	(bfd_pmac_xcoff_backend_data): Likewise.
	* coff64-rs6000.c (bfd_xcoff_backend_data)
	(bfd_xcoff_aix5_backend_data): Likewise.
	* targets.c (x86_64pe_bigobj_vec): Declare.
	* configure.in (x86_64pe_bigobj_vec): New vector.
	* configure: Regenerate.
	* config.bfd: Add bigobj object format for Windows targets.

gas/
	* config/tc-i386.c (use_big_obj): Declare.
	(OPTION_MBIG_OBJ): Define.
	(md_longopts): Add -mbig-obj option.
	(md_parse_option): Handle it.
	(md_show_usage): Display help for this option.
	(i386_target_format): Use bigobj for x86-64 if -mbig-obj.
	* doc/c-i386.texi: Document the option.

gas/testsuite/
	* gas/pe/big-obj.d, gas/pe/big-obj.s: Add test.
	* gas/pe/pe.exp: Add test.

include/coff/
	* pe.h (struct external_ANON_OBJECT_HEADER_BIGOBJ): Declare.
	(FILHSZ_BIGOBJ): Define.
	(struct external_SYMBOL_EX): Declare.
	(SYMENT_BIGOBJ, SYMESZ_BIGOBJ): Define.
	(union external_AUX_SYMBOL_EX): Declare.
	(AUXENT_BIGOBJ, AUXESZ_BIGOBJ): Define.
	* internal.h (struct internal_filehdr): Change type
	of f_nscns.
2014-03-13 09:33:07 +01:00
..
alpha.h Update copyright years 2014-03-05 22:16:15 +10:30
apollo.h Update copyright years 2014-03-05 22:16:15 +10:30
arm.h Update copyright years 2014-03-05 22:16:15 +10:30
aux-coff.h Update copyright years 2014-03-05 22:16:15 +10:30
ChangeLog Add pe/x86_64 bigobj file format. 2014-03-13 09:33:07 +01:00
ChangeLog-9103
ecoff.h Update copyright years 2014-03-05 22:16:15 +10:30
external.h Update copyright years 2014-03-05 22:16:15 +10:30
go32exe.h Update copyright years 2014-03-05 22:16:15 +10:30
h8300.h Update copyright years 2014-03-05 22:16:15 +10:30
h8500.h Update copyright years 2014-03-05 22:16:15 +10:30
i386.h Update copyright years 2014-03-05 22:16:15 +10:30
i860.h Update copyright years 2014-03-05 22:16:15 +10:30
i960.h Update copyright years 2014-03-05 22:16:15 +10:30
ia64.h Update copyright years 2014-03-05 22:16:15 +10:30
internal.h Add pe/x86_64 bigobj file format. 2014-03-13 09:33:07 +01:00
m68k.h Update copyright years 2014-03-05 22:16:15 +10:30
m88k.h Update copyright years 2014-03-05 22:16:15 +10:30
mcore.h Update copyright years 2014-03-05 22:16:15 +10:30
mips.h Update copyright years 2014-03-05 22:16:15 +10:30
mipspe.h Update copyright years 2014-03-05 22:16:15 +10:30
or32.h Update copyright years 2014-03-05 22:16:15 +10:30
pe.h Add pe/x86_64 bigobj file format. 2014-03-13 09:33:07 +01:00
powerpc.h Update copyright years 2014-03-05 22:16:15 +10:30
rs6k64.h Update copyright years 2014-03-05 22:16:15 +10:30
rs6000.h Update copyright years 2014-03-05 22:16:15 +10:30
sh.h Update copyright years 2014-03-05 22:16:15 +10:30
sparc.h Update copyright years 2014-03-05 22:16:15 +10:30
sym.h
symconst.h
ti.h Update copyright years 2014-03-05 22:16:15 +10:30
tic4x.h Update copyright years 2014-03-05 22:16:15 +10:30
tic30.h Update copyright years 2014-03-05 22:16:15 +10:30
tic54x.h Update copyright years 2014-03-05 22:16:15 +10:30
tic80.h Update copyright years 2014-03-05 22:16:15 +10:30
w65.h Update copyright years 2014-03-05 22:16:15 +10:30
we32k.h Update copyright years 2014-03-05 22:16:15 +10:30
x86_64.h Update copyright years 2014-03-05 22:16:15 +10:30
xcoff.h Update copyright years 2014-03-05 22:16:15 +10:30
z8k.h Update copyright years 2014-03-05 22:16:15 +10:30
z80.h Update copyright years 2014-03-05 22:16:15 +10:30