bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/29939] -z pack-relative-relocs --no-keep-memory -pie tries to wr


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/29939] -z pack-relative-relocs --no-keep-memory -pie tries to write a yet-to-be-loaded section content
Date: Tue, 27 Dec 2022 19:49:20 +0000

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

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@sourceware.org>:

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

commit 9eb71a53bf36a370e21a6fbbb21e2726f64b0fd0
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Dec 27 11:41:11 2022 -0800

    x86-64: Allocate input section memory if needed

    When --no-keep-memory is used, the input section memory may not be cached.
    Allocate input section memory for -z pack-relative-relocs if needed.

    bfd/

            PR ld/29939
            * elfxx-x86.c (elf_x86_size_or_finish_relative_reloc): Allocate
            input section memory if needed.

    ld/

            PR ld/29939
            * testsuite/ld-elf/dt-relr-2i.d: New test.

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