aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ia64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-02 20:24:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-02 20:24:21 +0000
commitb5bf92e22a169a5831a4c0f1c23be752edff5878 (patch)
treef675263b663f556b4254269897616482f77bd90f /sysdeps/ia64
parentdc312cba4b6e6f90571773783f048e840f216c65 (diff)
downloadglibc-b5bf92e22a169a5831a4c0f1c23be752edff5878.tar
glibc-b5bf92e22a169a5831a4c0f1c23be752edff5878.tar.gz
glibc-b5bf92e22a169a5831a4c0f1c23be752edff5878.tar.bz2
glibc-b5bf92e22a169a5831a4c0f1c23be752edff5878.zip
Temporarily enable R_*_NONE relocs in ld.so.
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;