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/cpu-d30v.c | |
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/cpu-d30v.c')
0 files changed, 0 insertions, 0 deletions