aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-10-16 04:17:49 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-10-16 04:21:03 -0700
commit75a06c790f96f07e859be95d3c3c084a718afeef (patch)
tree0bfcfdf1a076b872319aa77ccd463188a206b0a9 /bfd/ChangeLog
parentb31bcacc489d6ede2e9bdfa9905de0ebfd919454 (diff)
downloadgdb-75a06c790f96f07e859be95d3c3c084a718afeef.zip
gdb-75a06c790f96f07e859be95d3c3c084a718afeef.tar.gz
gdb-75a06c790f96f07e859be95d3c3c084a718afeef.tar.bz2
Check if symbol is defined when converting mov to lea
We need to check if symbol is defined when converting mov to lea since SYMBOL_REFERENCES_LOCAL may return true on hidden undefined symbols. * elf32-i386.c (elf_i386_convert_mov_to_lea): Check if symbol is defined. * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): 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 d26a526..d371594 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,11 @@
2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
+ * elf32-i386.c (elf_i386_convert_mov_to_lea): Check if symbol
+ is defined.
+ * elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
+
+2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
+
* elf32-i386.c (elf_i386_convert_mov_to_lea): Don't check
def_regular.
* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.