|
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, 03 Jan 2023 22:04:55 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=29939 --- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The binutils-2_39-branch branch has been updated by H.J. Lu <hjl@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cab2aac95461f81ec8b22dcd65247531cbd2069c commit cab2aac95461f81ec8b22dcd65247531cbd2069c 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. (cherry picked from commit 9eb71a53bf36a370e21a6fbbb21e2726f64b0fd0) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |