https://sourceware.org/bugzilla/show_bug.cgi?id=16807
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- 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 3714081cb37fc60f3262b4c64e81539eb4f3592f (commit) from 2a87f7b84f1a3d101a19d7008802172ff50596e5 (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=3714081cb37fc60f3262b4c64e81539eb4f3592f commit 3714081cb37fc60f3262b4c64e81539eb4f3592f Author: Nick Clifton <ni...@redhat.com> Date: Thu Apr 24 11:15:43 2014 +0100 Fix PE/COFF resource merging problems. There were two issues: 1. Strings (and then resource data) must follow immediately after the end of the tables. 2. Units of resource data must be 8-byte aligned. PR ld/16807 * peXXigen.c (struct rsrc_regions): New structure. (rsrc_print_resource_directory): Use new structure. Include offset of directory in listing. (rsrc_print_resource_entry): Likewise. (rsrc_print_section): Likewise. (rsrc_count_entries): Do not increment sizeof_strings or sizeof_leaves. (rsrc_count_directory): Do not increment sizeof_tables. (rsrc_compute_region_sizes): New function. (rsrc_write_leaf): Maintain 8-byte alignment for resource data. (rsrc_process_section): Compute size of regions after merging entries. ----------------------------------------------------------------------- Summary of changes: bfd/ChangeLog | 16 +++++ bfd/peXXigen.c | 205 +++++++++++++++++++++++++++++++++++--------------------- 2 files changed, 144 insertions(+), 77 deletions(-) -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils