aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ia64')
-rw-r--r--sysdeps/ia64/dl-machine.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/ia64/dl-machine.h b/sysdeps/ia64/dl-machine.h
index e0910891b1..16a1ff3000 100644
--- a/sysdeps/ia64/dl-machine.h
+++ b/sysdeps/ia64/dl-machine.h
@@ -546,12 +546,11 @@ elf_machine_rela (struct link_map *map,
# endif
value += map->l_addr;
}
-# ifndef RTLD_BOOTSTRAP
- else if (r_type == R_IA64_NONE)
- return;
-# endif
else
#endif
+ if (__builtin_expect (r_type == R_IA64_NONE, 0))
+ return;
+ else
{
struct link_map *sym_map;