bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/16807] Bad behavior with resources of Windows applications with


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/16807] Bad behavior with resources of Windows applications with recent binutils upgrade on Cygwin64
Date: Thu, 24 Apr 2014 10:18:08 +0000

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 <address@hidden>
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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]