mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
Update.
* elf/dl-reloc.c (_dl_relocat_object): Add more __builtin_expect. * elf/dl-lookup.c: Add more __builtin_expect. * elf/dl-init.c (_dl_init): Add more __builtin_expect. * elf/dl-fini.c (_dl_fini): Add more __builtin_expect. * elf/dl-deps.c (_dl_map_object_deps): Add more __builtin_expect. * elf/dl-close.c (_dl_close): Add more __builtin_expect. * elf/rtld.c (_dl_start_final): Add more __builtin_expect.
This commit is contained in:
@@ -38,7 +38,7 @@ _dl_relocate_object (struct link_map *l, struct r_scope_elem *scope[],
|
||||
if (!consider_profiling && l->l_info[DT_BIND_NOW])
|
||||
lazy = 0;
|
||||
|
||||
if (_dl_debug_reloc)
|
||||
if (__builtin_expect (_dl_debug_reloc, 0))
|
||||
_dl_debug_message (1, "\nrelocation processing: ",
|
||||
l->l_name[0] ? l->l_name : _dl_argv[0],
|
||||
lazy ? " (lazy)\n" : "\n", NULL);
|
||||
|
||||
Reference in New Issue
Block a user