binutils-gdb/include/coff
Jon TURNEY 61e2488cd8 Add support for generating and inserting build IDs into COFF binaries.
* peXXigen.c (pe_print_debugdata): New function: Displays the
	contents of the debug directory and decodes codeview entries.
	(_bfd_XXi_swap_debugdir_in, _bfd_XXi_swap_debugdir_out)
	(_bfd_XXi_slurp_codeview_record, _bfd_XXi_write_codeview_record):
	Add functions for reading and writing debugdir and codeview
	records.
	* libpei.h (_bfd_XXi_swap_debugdir_in, _bfd_XXi_swap_debugdir_out)
	(_bfd_XXi_write_codeview_record): Add prototypes and macros.
	* libcoff-in.h (pe_tdata): Add build-id data.
	* libcoff.h: Regenerate.
	* coffcode.h (coff_write_object_contents): Run build_id
	after_write_object_contents hook.

	* pe.h (external_IMAGE_DEBUG_DIRECTORY, _CV_INFO_PDB70)
	(_CV_INFO_PDB20): Add structures and constants for debug directory
	and codeview records.
	* internal.h (internal_IMAGE_DEBUG_DIRECTORY, CODEVIEW_INFO):
	Add structures and constants for internal representation of debug
	directory and codeview records.

	* emultempl/elf32.em (id_note_section_size, read_hex, write_build_id):
	Move code for parsing build-id option and calculating the build-id to...
	* ldbuildid.c: New file.
	* ldbuildid.h: New file.
	* Makefile.am (CFILES, HFILES, OFILES, ld_new_SOURCES): Add new
	files.
	* Makefile.in: Regenerate.
	* ld.texinfo: Update --build-id description to mention COFF
	support.
	* NEWS: Mention support for COFF build ids.
	* emultempl/pe.em (gld${EMULATION_NAME}_handle_option):
	(pecoff_checksum_contents, write_build_id, setup_build_id)
	(gld_${EMULATION_NAME}_after_open):  Handle and implement
	build-id option.
	* emultempl/pep.em: Likewise.
2014-04-08 10:59:43 +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 support for generating and inserting build IDs into COFF binaries. 2014-04-08 10:59:43 +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 support for generating and inserting build IDs into COFF binaries. 2014-04-08 10:59:43 +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 support for generating and inserting build IDs into COFF binaries. 2014-04-08 10:59:43 +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