* sysdeps/i386/dl-machine.h: Add more __builtin_expect.
This commit is contained in:
Ulrich Drepper 2000-06-08 04:19:30 +00:00
parent 7e281477f1
commit d4f170a980
2 changed files with 3 additions and 1 deletions

View File

@ -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.

View File

@ -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;