From bde18dba083fb58d5236261361b02e365153612e Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Tue, 15 Jun 2004 08:34:10 +0000 Subject: [PATCH] Cater for systems lacking AT_SYSINFO. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2417 --- coregrind/stage1.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/coregrind/stage1.c b/coregrind/stage1.c index 9baf531dd6..8b12130379 100644 --- a/coregrind/stage1.c +++ b/coregrind/stage1.c @@ -133,12 +133,16 @@ static void *fix_auxv(void *v_init_esp, const struct exeinfo *info) auxv->u.a_val = info->entry; break; +#if (defined(AT_SYSINFO) || defined(AT_SYSINFO_EHDR)) +#ifdef AT_SYSINFO case AT_SYSINFO: +#endif #ifdef AT_SYSINFO_EHDR case AT_SYSINFO_EHDR: #endif auxv->a_type = AT_IGNORE; break; +#endif } } -- 2.47.2