binutils-gdb/include/coff
Clément Chigot e86fc4a5bc PR 28447: implement multiple parameters for .file on XCOFF
On XCOFF, ".file" pseudo-op allows 3 extras parameters to provide
additional information to AIX linker, or its debugger. These are
stored in auxiliary entries of the C_FILE symbol.

bfd/
	PR 28447
	* coffcode.h (combined_entry_type): Add extrap field.
	(coff_bigobj_swap_aux_in): Adjust names of x_file fields.
	(coff_bigobj_swap_aux_out): Likewise.
	* coffgen.c (coff_write_auxent_fname): New function.
	(coff_fix_symbol_name): Write x_file using
	 coff_write_auxent_fname.
	(coff_write_symbol): Likewise.
	(coff_write_symbols): Add C_FILE auxiliary entries to
	string table if needed.
	(coff_get_normalized_symtab): Adjust names of x_file fields.
	Normalize C_FILE auxiliary entries.
	(coff_print_symbol): Print C_FILE auxiliary entries.
	* coff-rs6000.c (_bfd_xcoff_swap_aux_in): Adjust names of
	x_file fields.
	(_bfd_xcoff_swap_aux_out): Likewise.
	* coff64-rs6000.c (_bfd_xcoff64_swap_aux_in): Likewise.
	(_bfd_xcoff64_swap_aux_out): Likewise.
	* cofflink.c (_bfd_coff_final_link): Likewise.
	(_bfd_coff_link_input_bfd): Likewise.
	* coffswap.h (coff_swap_aux_in): Likewise.
	* peXXigen.c (_bfd_XXi_swap_aux_in): Likewise.
	(_bfd_XXi_swap_aux_out): Likewise.
	* xcofflink.c (xcoff_link_input_bfd): Likewise.
	* libcoff.h: Regenerate.
gas/
	* config/tc-ppc.c (ppc_file): New function.
	* config/tc-ppc.h (OBJ_COFF_MAX_AUXENTRIES): Change to 4.
	* testsuite/gas/ppc/aix.exp: Add tests.
	* testsuite/gas/ppc/xcoff-file-32.d: New test.
	* testsuite/gas/ppc/xcoff-file-64.d: New test.
	* testsuite/gas/ppc/xcoff-file.s: New test.
include/
	* coff/internal.h (union internal_auxent): Change x_file to be a
	  struct instead of a union. Add x_ftype field.
	* coff/rs6000.h (union external_auxent): Add x_resv field.
	* coff/xcoff.h (XFT_FN): New define.
	(XFT_CT): Likewise.
	(XFT_CV): Likewise.
	(XFT_CD): Likewise.
2021-11-10 14:43:24 +10:30
..
alpha.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
arm.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
ChangeLog-0415
ChangeLog-9103
ecoff.h Use bool in include 2021-03-31 10:49:23 +10:30
external.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
i386.h Split relocation defines out of coff/internal.h 2021-03-03 17:46:24 +10:30
ia64.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
internal.h PR 28447: implement multiple parameters for .file on XCOFF 2021-11-10 14:43:24 +10:30
mcore.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
mips.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
msdos.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
pe.h Extend the description of PE header flags. 2021-04-21 17:38:52 +01:00
rs6k64.h Harmonize and improve auxiliary entries support for XCOFF 2021-04-22 12:28:50 +01:00
rs6000.h PR 28447: implement multiple parameters for .file on XCOFF 2021-11-10 14:43:24 +10:30
sh.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
sym.h PR27116, Spelling errors found by Debian style checker 2021-01-01 14:36:35 +10:30
symconst.h
ti.h PR27567, Linking PE files adds alignment section flags to executables 2021-04-16 23:21:44 +09:30
tic4x.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
tic30.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
tic54x.h Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
x86_64.h Split relocation defines out of coff/internal.h 2021-03-03 17:46:24 +10:30
xcoff.h PR 28447: implement multiple parameters for .file on XCOFF 2021-11-10 14:43:24 +10:30
z8k.h Split relocation defines out of coff/internal.h 2021-03-03 17:46:24 +10:30
z80.h PR27567, Linking PE files adds alignment section flags to executables 2021-04-16 23:21:44 +09:30