diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-11-09 23:49:02 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-11-10 00:00:04 -0800 |
commit | 60f2e42e00083accdcdbdda399534082bf309d1e (patch) | |
tree | 8b35187979e66adbacca26926c1bbdfbe0c6f3ca /bfd/ChangeLog | |
parent | 6637a4265e6144f5a9ad29e9fa08aba4bd959cb9 (diff) | |
download | gdb-60f2e42e00083accdcdbdda399534082bf309d1e.zip gdb-60f2e42e00083accdcdbdda399534082bf309d1e.tar.gz gdb-60f2e42e00083accdcdbdda399534082bf309d1e.tar.bz2 |
Fix performance regression on x86 with ld -r
Similar fix to "commit c316a17c40e44e8798b34ff84130904f2e7a53de".
* elf32-i386.c (elf_i386_relocate_section): Use read and write
pointers to reloc array, rather than memmove when deleting a
reloc. Don't use RELOC_AGAINST_DISCARDED_SECTION. Adjust
reloc counts at end of loop.
* elf64-x86-64.c (elf_x86_64_relocate_section): Likewise.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d46bbe0..d7000cb 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2015-11-09 H.J. Lu <hongjiu.lu@intel.com> + + * elf32-i386.c (elf_i386_relocate_section): Use read and write + pointers to reloc array, rather than memmove when deleting a + reloc. Don't use RELOC_AGAINST_DISCARDED_SECTION. Adjust + reloc counts at end of loop. + * elf64-x86-64.c (elf_x86_64_relocate_section): Likewise. + 2015-11-10 Alan Modra <amodra@gmail.com> * elf64-ppc.c (ppc64_elf_relocate_section): Use read and write |