am33: don't call ifunc functions in trace mode

This commit is contained in:
Andreas Schwab 2011-10-05 11:51:18 +02:00
parent 989edf2cb0
commit bf5316f3a6
2 changed files with 9 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2011-10-05 Andreas Schwab <schwab@redhat.com>
* sysdeps/am33/dl-machine.h (elf_machine_rela)
(elf_machine_lazy_rel): Add parameter skip_ifunc.
2007-10-22 Daniel Jacobowitz <dan@codesourcery.com>
* sysdeps/unix/sysv/linux/am33/bits/fcntl.h (F_DUPFD_CLOEXEC): Define.

View File

@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. AM33 version.
Copyright (C) 1995,96,97,98,99,2000,2001, 2004
Copyright (C) 1995,96,97,98,99,2000,2001, 2004, 2011
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@ -296,7 +296,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc,
static inline void
elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
const Elf32_Sym *sym, const struct r_found_version *version,
void *const reloc_addr_arg)
void *const reloc_addr_arg, int skip_ifunc)
{
const unsigned int r_type = ELF32_R_TYPE (reloc->r_info);
Elf32_Addr value, *reloc_addr;
@ -457,7 +457,8 @@ elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
static inline void
elf_machine_lazy_rel (struct link_map *map,
Elf32_Addr l_addr, const Elf32_Rela *reloc)
Elf32_Addr l_addr, const Elf32_Rela *reloc,
int skip_ifunc)
{
unsigned long int const r_type = ELF32_R_TYPE (reloc->r_info);