gdb and binutils branch master updated. 61e2488cd8497d158303a78563ad40f51f5c3f8e

nickc@sourceware.org nickc@sourceware.org
Tue Apr 8 10:01:00 GMT 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".

The branch, master has been updated
       via  61e2488cd8497d158303a78563ad40f51f5c3f8e (commit)
      from  ae1d276159c3cfb29caacdf567aea01f433f78b0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=61e2488cd8497d158303a78563ad40f51f5c3f8e

commit 61e2488cd8497d158303a78563ad40f51f5c3f8e
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date:   Tue Apr 8 10:59:43 2014 +0100

    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.

-----------------------------------------------------------------------

Summary of changes:
 bfd/ChangeLog                        |   15 ++
 bfd/coffcode.h                       |   13 ++-
 bfd/libcoff-in.h                     |    8 +
 bfd/libcoff.h                        |    8 +
 bfd/libpei.h                         |   12 ++
 bfd/peXXigen.c                       |  218 +++++++++++++++++++++++++++++++-
 include/coff/ChangeLog               |    9 ++
 include/coff/internal.h              |  116 +++++++++++------
 include/coff/pe.h                    |   49 ++++++-
 ld/ChangeLog                         |   18 +++
 ld/Makefile.am                       |   10 +-
 ld/Makefile.in                       |   13 +-
 ld/NEWS                              |    4 +
 ld/emultempl/elf32.em                |   96 +-------------
 ld/emultempl/pe.em                   |  233 ++++++++++++++++++++++++++++++++--
 ld/emultempl/pep.em                  |  234 ++++++++++++++++++++++++++++++++--
 ld/ld.texinfo                        |   20 ++--
 ld/ldbuildid.c                       |  158 +++++++++++++++++++++++
 ld/ldbuildid.h                       |   39 ++++++
 ld/ldmain.c                          |    7 +
 ld/testsuite/ld-pe/longsecn-3.d      |    3 +-
 ld/testsuite/ld-pe/longsecn-4.d      |    3 +-
 ld/testsuite/ld-pe/longsecn-5.d      |    3 +-
 ld/testsuite/ld-pe/non-c-lang-syms.s |    1 -
 ld/testsuite/ld-pe/orphana_nu.s      |    2 +
 25 files changed, 1101 insertions(+), 191 deletions(-)
 create mode 100644 ld/ldbuildid.c
 create mode 100644 ld/ldbuildid.h


hooks/post-receive
-- 
gdb and binutils



More information about the Binutils-cvs mailing list