about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-04-24 16:28:14 +0000
committerUlrich Drepper <drepper@redhat.com>2000-04-24 16:28:14 +0000
commit655ab929ed2577ae34088fea77f812e8d067b8bf (patch)
treef8aaa6142629a0cc0d85462a77464c167bfb29be /elf
parent20b02a2e39dc50f5ef9c0ea3ed75f9bc6c8c4762 (diff)
downloadglibc-655ab929ed2577ae34088fea77f812e8d067b8bf.tar.gz
glibc-655ab929ed2577ae34088fea77f812e8d067b8bf.tar.xz
glibc-655ab929ed2577ae34088fea77f812e8d067b8bf.zip
Update.
	* elf/dl-reloc.c (_dl_relocate_object): Add one more
	__builtin_expect saying that we don't normally expect to profile.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index ba9119b75b..4c7aabea85 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -82,7 +82,7 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
 #include "dynamic-link.h"
     ELF_DYNAMIC_RELOCATE (l, lazy, consider_profiling);
 
-    if (_dl_profile != NULL)
+    if (__builtin_expect (_dl_profile != NULL, 0))
       {
 	/* Allocate the array which will contain the already found
 	   relocations.  */