(_dl_relocate_object): Add one more __builtin_expect saying that we don't
authordrepper <drepper>
Mon, 24 Apr 2000 16:27:44 +0000 (16:27 +0000)
committerdrepper <drepper>
Mon, 24 Apr 2000 16:27:44 +0000 (16:27 +0000)
normally expect to profile.

elf/dl-reloc.c

index ba9119b..4c7aabe 100644 (file)
@@ -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.  */