From: Ulrich Drepper Date: Mon, 28 Jul 1997 22:06:27 +0000 (+0000) Subject: (elf_machine_runtime_setup): Add new parameter to enable profiling. X-Git-Tag: glibc-2.16-ports-merge^2~3449 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2ed7206696078b71c82ed318ef28d585d89d3259;p=platform%2Fupstream%2Fglibc.git (elf_machine_runtime_setup): Add new parameter to enable profiling. (elf_machine_rela): Add new parameter to --- diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 49d6830..746cdd2 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -87,7 +87,7 @@ elf_machine_load_address (void) entries will jump to the on-demand fixup code in dl-runtime.c. */ static inline int -elf_machine_runtime_setup (struct link_map *l, int lazy) +elf_machine_runtime_setup (struct link_map *l, int lazy, int profile) { Elf64_Addr plt; extern void _dl_runtime_resolve (void); @@ -348,9 +348,9 @@ static inline void elf_machine_rela (struct link_map *map, const Elf64_Rela *reloc, const Elf64_Sym *sym, - const struct r_found_version *version) + const struct r_found_version *version, + Elf64_Addr *const reloc_addr) { - Elf64_Addr * const reloc_addr = (void *)(map->l_addr + reloc->r_offset); unsigned long const r_type = ELF64_R_TYPE (reloc->r_info); #ifndef RTLD_BOOTSTRAP