aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-06-16 05:52:34 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-06-16 05:52:34 -0700
commit081b1afe5a8cfa02bf3b3cdefb80c266705c17d1 (patch)
tree6c6ff3dec59dc5748448b89a0861023f45debdf8 /bfd/ChangeLog
parent4c23f2ffa8fbd467bca51956130a1f30cfe34371 (diff)
downloadgdb-081b1afe5a8cfa02bf3b3cdefb80c266705c17d1.zip
gdb-081b1afe5a8cfa02bf3b3cdefb80c266705c17d1.tar.gz
gdb-081b1afe5a8cfa02bf3b3cdefb80c266705c17d1.tar.bz2
Skip relocations in non-loaded, non-alloced sections
Don't do anything special with non-loaded, non-alloced sections. In particular, any relocs in such sections should not affect GOT and PLT reference counting (ie. we don't allow them to create GOT or PLT entries), there's no possibility or desire to optimize TLS relocs, and there's not much point in propagating relocs to shared libs that the dynamic linker won't relocate. * elf32-i386.c (elf_i386_check_relocs): Skip relocations in non-loaded, non-alloced sections. * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
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 344e08b..ad9e027 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,9 @@
+2016-06-16 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf32-i386.c (elf_i386_check_relocs): Skip relocations in
+ non-loaded, non-alloced sections.
+ * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
+
2016-06-15 H.J. Lu <hongjiu.lu@intel.com>
* elf32-i386.c (elf_i386_check_relocs): Check SEC_ALLOC before