bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/21441] Unnecessary padding of .eh_frame section


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/21441] Unnecessary padding of .eh_frame section
Date: Tue, 19 Sep 2017 07:15:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=21441

--- Comment #11 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_29-branch branch has been updated by Alan Modra
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8fd7cca5b0ed5a2f2099428586359f5cdff2063d

commit 8fd7cca5b0ed5a2f2099428586359f5cdff2063d
Author: Alan Modra <address@hidden>
Date:   Mon Aug 14 09:25:17 2017 +0930

    PR21441, Unnecessary padding of .eh_frame section

    Until all .eh_frame sections have been edited we don't know their
    sizes.  So it isn't possible to properly decide whether a non-empty
    .eh_frame section follows a given section until editing is complete.

    bfd/
        PR 21441
        * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't add
        alignment padding here.
        * elflink.c (bfd_elf_discard_info): Add .eh_frame padding here
        in a reverse pass over sections.
    ld/
        PR 21441
        * testsuite/ld-x86-64/pr21038a.d: Adjust.
        * testsuite/ld-x86-64/pr21038a-now.d: Adjust.

    (cherry picked from commit 79a94a2ad1e6e2f227de07427481e4bb8be84504)

--- Comment #12 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_29-branch branch has been updated by Alan Modra
<address@hidden>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3bf3f89d9d6f3a09def722d010695c35bffb4a48

commit 3bf3f89d9d6f3a09def722d010695c35bffb4a48
Author: Alan Modra <address@hidden>
Date:   Thu Aug 31 12:48:37 2017 +0930

    PR22048, Incorrect .eh_frame section in libc.so

        PR 21441
        PR 22048
        * elflink.c (bfd_elf_discard_info): Don't pad embedded zero
        terminators.

    (cherry picked from commit af471f828cc74d65b50a7531ba2c69522266cfe9)

-- 
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]