aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-04-29 04:31:54 -0700
committerH.J. Lu <hjl.tools@gmail.com>2016-04-29 04:31:54 -0700
commitc337a1627c7e0edf6d46e66dee513c56975d0625 (patch)
treeb8d42703d3ad38ea188b57e82d0f8925f8d7bc9a /bfd/ChangeLog
parentafd9acee15d55fccf2a25b72c99303f7cbaaa1c2 (diff)
downloadgdb-c337a1627c7e0edf6d46e66dee513c56975d0625.zip
gdb-c337a1627c7e0edf6d46e66dee513c56975d0625.tar.gz
gdb-c337a1627c7e0edf6d46e66dee513c56975d0625.tar.bz2
i386: Don't relocate section when check_relocs failed
No need to relocate section when check_relocs failed. * elf32-i386.c (check_relocs_failed): New. (elf_i386_check_relocs): Set check_relocs_failed on error. (elf_i386_relocate_section): Skip if check_relocs failed.
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 23d7f68..f422b88 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
+ * elf32-i386.c (check_relocs_failed): New.
+ (elf_i386_check_relocs): Set check_relocs_failed on error.
+ (elf_i386_relocate_section): Skip if check_relocs failed.
+
+2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
+
* elf64-x86-64.c (elf_x86_64_check_relocs): Set
check_relocs_failed on error.