From 021259621898fa6731d6d44c3313b6af43f727f4 Mon Sep 17 00:00:00 2001 From: Jakub Jelinek Date: Mon, 15 Jun 2009 07:46:53 -0700 Subject: libc part of prelink IFUNC support. The dl-lookup.c changes are needed for prelink (support in prelink checked into SVN, tested for both i?86 and x86-64), dl-irel.h just something I discovered by code inspection. --- sysdeps/i386/dl-irel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/i386/dl-irel.h') diff --git a/sysdeps/i386/dl-irel.h b/sysdeps/i386/dl-irel.h index 810a350..30385a1 100644 --- a/sysdeps/i386/dl-irel.h +++ b/sysdeps/i386/dl-irel.h @@ -35,7 +35,7 @@ elf_irel (const Elf32_Rel *reloc) if (__builtin_expect (r_type == R_386_IRELATIVE, 1)) { - Elf64_Addr value = ((Elf32_Addr (*) (void)) (*reloc_addr)) (); + Elf32_Addr value = ((Elf32_Addr (*) (void)) (*reloc_addr)) (); *reloc_addr = value; } else -- cgit v1.1