[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) comple
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity |
Date: |
Fri, 05 Dec 2014 18:17:52 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17677
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, hjl/gdb-7.8-branch has been created
at 6a8939044781191d685e0aaeb78fe34a97ee3d55 (commit)
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6a8939044781191d685e0aaeb78fe34a97ee3d55
commit 6a8939044781191d685e0aaeb78fe34a97ee3d55
Author: H.J. Lu <address@hidden>
Date: Thu Dec 4 14:19:41 2014 -0800
Add _bfd_elf_ifunc_get_synthetic_symtab
In i386 and x86-64 binaries with ifunc, relocations against .got.plt
section may not be in the same order as entries in PLT section. This
patch adds _bfd_elf_ifunc_get_synthetic_symtab. It takes a function
pointer which returns an array of PLT entry symbol values. It calls
the function pointer to get the PLT entry symbol value array indexed
by relocation index, instead of calling plt_sym_val on each relocation
index.
PR binutils/17677
* elf-bfd.h (_bfd_elf_ifunc_get_synthetic_symtab): New prototype.
* elf-ifunc.c (_bfd_elf_ifunc_get_synthetic_symtab): New
function.
* elf32-i386.c (elf_i386_plt_sym_val): Removed.
(elf_backend_plt_sym_val): Likewise.
(elf_i386_get_plt_sym_val): New.
(elf_i386_get_synthetic_symtab): Likewise.
(bfd_elf32_get_synthetic_symtab): Likewise.
* elf64-x86-64.c (elf_x86_64_plt_sym_val): Removed.
(elf_x86_64_plt_sym_val_offset_plt_bnd): Likewise.
(elf_backend_plt_sym_val): Likewise.
(elf_x86_64_get_plt_sym_val): New.
(bfd_elf32_get_synthetic_symtab): Likewise.
(elf_x86_64_get_synthetic_symtab): Use
_bfd_elf_ifunc_get_synthetic_symtab.
(bfd_elf64_get_synthetic_symtab): Don't undefine for NaCl.
-----------------------------------------------------------------------
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/17677] New: _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, tohava at gmail dot com, 2014/12/03
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, tohava at gmail dot com, 2014/12/03
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, hjl.tools at gmail dot com, 2014/12/03
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, hjl.tools at gmail dot com, 2014/12/03
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, tohava at gmail dot com, 2014/12/04
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, cvs-commit at gcc dot gnu.org, 2014/12/04
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity after commit 5840bf271c87c3fc14739173fdc91c6a14057130, cvs-commit at gcc dot gnu.org, 2014/12/04
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity, hjl.tools at gmail dot com, 2014/12/04
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity, hjl.tools at gmail dot com, 2014/12/04
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity, hjl.tools at gmail dot com, 2014/12/05
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity, hjl.tools at gmail dot com, 2014/12/05
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity, cvs-commit at gcc dot gnu.org, 2014/12/15
- [Bug binutils/17677] _bfd_elf_get_synthetic_symtab runs in O(n^2) complexity, jan.kratochvil at redhat dot com, 2014/12/28