summaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-11-02 11:47:07 +1030
committerAlan Modra <amodra@gmail.com>2018-11-02 13:48:08 +1030
commita4bcd733712abd892aa7fe0d79a3f999b461f119 (patch)
tree3965b6a819e9886a5906e0971bf6bf268c41dfea /bfd/ChangeLog
parent3ba2ee38a648b7f52e77700325b26137f6332fe2 (diff)
downloadbinutils-gdb-a4bcd733712abd892aa7fe0d79a3f999b461f119.tar.gz
PR23850, strip should not discard/move .rela.plt in executable
strip/objcopy can't deal with alloc reloc sections, not .rela.dyn or .rela.plt in a dynamic executable, or .rela.plt/.rela.iplt in a static executable. So, don't have BFD treat them as side-channel data associated with the section they are relocating. PR 23850 * elf.c (bfd_section_from_shdr): Treat SHF_ALLOC SHT_REL* sections in an executable or shared library as normal sections.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 383ad4414c6..d8b50f53817 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2018-11-02 Alan Modra <amodra@gmail.com>
+
+ PR 23850
+ * elf.c (bfd_section_from_shdr): Treat SHF_ALLOC SHT_REL* sections
+ in an executable or shared library as normal sections.
+
2018-10-31 Renlin Li <renlin.li@arm.com>
* elfnn-aarch64.c (elfNN_aarch64_check_relocs): Don't create got