Use glibc_likely instead __builtin_expect.
[jlayton/glibc.git] / sysdeps / powerpc / powerpc32 / dl-irel.h
index 16b786b72f795cc3dcee8001c50b3a9a58c6cd7b..9d6f56a37cc3229b865461363a124d1a15fed003 100644 (file)
@@ -39,7 +39,7 @@ elf_irela (const Elf32_Rela *reloc)
 {
   unsigned int r_type = ELF32_R_TYPE (reloc->r_info);
 
-  if (__builtin_expect (r_type == R_PPC_IRELATIVE, 1))
+  if (__glibc_likely (r_type == R_PPC_IRELATIVE))
     {
       Elf32_Addr *const reloc_addr = (void *) reloc->r_offset;
       Elf32_Addr value = elf_ifunc_invoke(reloc->r_addend);