Convert mov to lea only if r_offset >= 2
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Oct 2014 15:03:32 +0000 (08:03 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Oct 2014 15:03:32 +0000 (08:03 -0700)
commit5697705ac6eafb3e3f9dd3ba253231a4d51a1fa4
treeccd89744e76b58dcf2882b1ef0330da0d30d6bcd
parent4dc06805c2fa208dc2743099feaacb4230d1b1f7
Convert mov to lea only if r_offset >= 2

* elf32-i386.c (elf_i386_convert_mov_to_lea): Skip if relocation
offset is less than 2.
* elf64-x86-64.c (elf_x86_64_convert_mov_to_lea): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c
This page took 0.032371 seconds and 4 git commands to generate.