bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24753] [2.33 Regression] ld: section size (0x1e50 bytes) is larg


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24753] [2.33 Regression] ld: section size (0x1e50 bytes) is larger than file size (0x5a0 bytes), can not size stub section: memory exhausted
Date: Tue, 21 Apr 2020 14:25:53 +0000

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

--- Comment #17 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_34-branch branch has been updated by Tamar Christina
<address@hidden>:

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

commit 9f57ab49b32bc14c0ff3834876a185af0a4c6e6b
Author: Tamar Christina <address@hidden>
Date:   Tue Apr 21 15:16:21 2020 +0100

    BFD: Exclude sections with no content from compress check.

    The check in bfd_get_full_section_contents is trying to check that we don't
    allocate more space for a section than the size of the section is on disk.

    Previously we excluded linker created sections since they didn't have a
size on
    disk.  However we also need to exclude sections with no content as well
such as
    the BSS section.  Space for these would not have been allocated by the
assembler
    and so the check would incorrectly fail.

    bfd/ChangeLog:

            PR binutils/24753
            * compress.c (bfd_get_full_section_contents): Exclude sections with
no
            content.

    gas/ChangeLog:

            PR binutils/24753
            * testsuite/gas/arm/pr24753.d: New test.
            * testsuite/gas/arm/pr24753.s: New test.

    (cherry picked from commit c36876fe5b5bac1c404ab2ca82bfbfb2ed9a2717)

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