|
From: Tom H. <th...@cy...> - 2004-03-22 19:46:35
|
CVS commit by thughes:
Redirect _dl_sysinfo_int80, which is glibc's default system call
routine, to the routine in our trampoline page so that the
special sysinfo unwind hack in vg_execontext.c will kick in.
M +7 -0 vg_symtab2.c 1.76
--- valgrind/coregrind/vg_symtab2.c #1.75:1.76
@@ -2194,4 +2194,11 @@ void VG_(setup_code_redirect_table) ( vo
}
+ /* Redirect _dl_sysinfo_int80, which is glibc's default system call
+ routine, to the routine in our trampoline page so that the
+ special sysinfo unwind hack in vg_execontext.c will kick in.
+ */
+ VG_(add_redirect_addr)("soname:ld-linux.so.2", "_dl_sysinfo_int80",
+ VG_(client_trampoline_code)+VG_(tramp_syscall_offset));
+
/* Overenthusiastic use of PLT bypassing by the glibc people also
means we need to patch the following functions to our own
|