|
From: Nicholas N. <nj...@ca...> - 2004-06-15 08:34:19
|
CVS commit by nethercote:
Cater for systems lacking AT_SYSINFO.
M +4 -0 stage1.c 1.11
--- valgrind/coregrind/stage1.c #1.10:1.11
@@ -134,5 +134,8 @@ static void *fix_auxv(void *v_init_esp,
break;
+#if (defined(AT_SYSINFO) || defined(AT_SYSINFO_EHDR))
+#ifdef AT_SYSINFO
case AT_SYSINFO:
+#endif
#ifdef AT_SYSINFO_EHDR
case AT_SYSINFO_EHDR:
@@ -140,4 +143,5 @@ static void *fix_auxv(void *v_init_esp,
auxv->a_type = AT_IGNORE;
break;
+#endif
}
}
|