m68k: don't call ifunc functions in trace mode
authorAndreas Schwab <schwab@redhat.com>
Wed, 5 Oct 2011 09:53:01 +0000 (11:53 +0200)
committerAndreas Schwab <schwab@redhat.com>
Wed, 5 Oct 2011 09:53:01 +0000 (11:53 +0200)
ChangeLog.m68k
sysdeps/m68k/dl-machine.h

index bac7afe..0e99a0f 100644 (file)
@@ -1,3 +1,8 @@
+2011-10-05  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/m68k/dl-machine.h (elf_machine_rela)
+       (elf_machine_lazy_rel): Add parameter skip_ifunc.
+
 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
 
        * sysdeps/m68k/nptl/tls.h: Don't define USE_TLS.
index 8f8091e..5127212 100644 (file)
@@ -211,7 +211,7 @@ elf_machine_plt_value (struct link_map *map, const Elf32_Rela *reloc,
 auto inline void __attribute__ ((unused, always_inline))
 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)
 {
   Elf32_Addr *const reloc_addr = reloc_addr_arg;
   const unsigned int r_type = ELF32_R_TYPE (reloc->r_info);
@@ -307,7 +307,8 @@ elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
 
 auto inline void __attribute__ ((unused, always_inline))
 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)
 {
   Elf32_Addr *const reloc_addr = (void *) (l_addr + reloc->r_offset);
   if (ELF32_R_TYPE (reloc->r_info) == R_68K_JMP_SLOT)