aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-08 04:19:30 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-08 04:19:30 +0000
commitd4f170a9800ea45c8519859d9d5abe8ae80f036b (patch)
treeeb4382767210112ad5096308766caff6512e68c1
parent7e281477f1fd1d660e663505b0c5c0e2cf53c1be (diff)
downloadglibc-d4f170a9800ea45c8519859d9d5abe8ae80f036b.tar
glibc-d4f170a9800ea45c8519859d9d5abe8ae80f036b.tar.gz
glibc-d4f170a9800ea45c8519859d9d5abe8ae80f036b.tar.bz2
glibc-d4f170a9800ea45c8519859d9d5abe8ae80f036b.zip
Update.
* sysdeps/i386/dl-machine.h: Add more __builtin_expect.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/i386/dl-machine.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 375fe2e82d..cf9dfad2c0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2000-06-07 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/i386/dl-machine.h: Add more __builtin_expect.
+
* elf/do-lookup.h: Add some __builtin_expect.
* dlfcn/dlfcn.h: Pretty print dladdr declaraction.
diff --git a/sysdeps/i386/dl-machine.h b/sysdeps/i386/dl-machine.h
index d7310eda57..3044edf84d 100644
--- a/sysdeps/i386/dl-machine.h
+++ b/sysdeps/i386/dl-machine.h
@@ -99,7 +99,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
to intercept the calls to collect information. In this case we
don't store the address in the GOT so that all future calls also
end in this function. */
- if (profile)
+ if (__builtin_expect (profile, 0))
{
got[2] = (Elf32_Addr) &_dl_runtime_profile;