aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mips/mips64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-07-28 22:32:21 +0000
committerUlrich Drepper <drepper@redhat.com>1997-07-28 22:32:21 +0000
commit1d928c6a5c3df9388caeeedfd0f90a7effb6f9f3 (patch)
treed08ee1fd930f731c6594aaa38b79d1ee5acc9cd7 /sysdeps/mips/mips64
parentc093785fe99db496cec7028a9de85604663d7266 (diff)
downloadglibc-1d928c6a5c3df9388caeeedfd0f90a7effb6f9f3.tar
glibc-1d928c6a5c3df9388caeeedfd0f90a7effb6f9f3.tar.gz
glibc-1d928c6a5c3df9388caeeedfd0f90a7effb6f9f3.tar.bz2
glibc-1d928c6a5c3df9388caeeedfd0f90a7effb6f9f3.zip
(elf_machine_runtime_setup): Add new parameter to enable profiling.
(elf_machine_rela): Add new parameter to specify place to store result in.
Diffstat (limited to 'sysdeps/mips/mips64')
-rw-r--r--sysdeps/mips/mips64/dl-machine.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/mips/mips64/dl-machine.h b/sysdeps/mips/mips64/dl-machine.h
index a20835af35..e501a2520e 100644
--- a/sysdeps/mips/mips64/dl-machine.h
+++ b/sysdeps/mips/mips64/dl-machine.h
@@ -219,7 +219,7 @@ elf_machine_got_rel (struct link_map *map, int lazy)
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)
{
ElfW(Addr) *got;
extern void _dl_runtime_resolve (ElfW(Word));
@@ -529,9 +529,9 @@ _RTLD_EPILOGUE(ENTRY_POINT) \
static inline void
elf_machine_rel (struct link_map *map, const ElfW(Rel) *reloc,
- const ElfW(Sym) *sym, const struct r_found_version *version)
+ const ElfW(Sym) *sym, const struct r_found_version *version,
+ ElfW(Addr) *const reloc_addr)
{
- ElfW(Addr) *const reloc_addr = (void *) (map->l_addr + reloc->r_offset);
ElfW(Addr) loadbase;
ElfW(Addr) undo __attribute__ ((unused));