mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Update.
* elf/dl-reloc.c (_dl_relocate_object): Add one more __builtin_expect saying that we don't normally expect to profile.
This commit is contained in:
parent
20b02a2e39
commit
655ab929ed
@ -1,5 +1,8 @@
|
||||
2000-04-24 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* elf/dl-reloc.c (_dl_relocate_object): Add one more
|
||||
__builtin_expect saying that we don't normally expect to profile.
|
||||
|
||||
* sysdeps/i386/dl-machine.h (elf_machine_rel): Add
|
||||
__builtin_expect where desirable.
|
||||
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user