Convert mov to lea for loading local function address
[deliverable/binutils-gdb.git] / bfd / ChangeLog
index a26977d83d1f06f89eaec32a4b5c5e27c56f3ad1..c6f424afca2f89a706a535d553658c2cbc0cbe27 100644 (file)
@@ -1,3 +1,13 @@
+2012-08-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf32-i386.c (elf_i386_relocate_section): Convert
+       "mov foo@GOT(%reg), %reg" to "lea foo@GOTOFF(%reg), %reg"
+       for local symbols.
+
+       * elf64-x86-64.c (elf_x86_64_relocate_section): Convert
+       "mov foo@GOTPCREL(%rip), %reg" to "lea foo(%rip), %reg"
+       for local symbols.
+
 2012-08-31  Alan Modra  <amodra@gmail.com>
 
        PR ld/14464
This page took 0.034379 seconds and 4 git commands to generate.