|
From: <sv...@va...> - 2006-10-01 11:02:32
|
Author: sewardj
Date: 2006-10-01 12:02:28 +0100 (Sun, 01 Oct 2006)
New Revision: 6102
Log:
A new module ("Initial Image"), whose purpose is to set up the
client's initial memory and register state before running it. On
Linux this does all the stack/auxv/envp stuff which was previously
done in m_main. On AIX5 the kernel prepares the process' initial
image, so there's nothing to be done there. But LD_PRELOAD doesn't
work on AIX5, so m_initimg sets up the client so as to start by
running a short bit of code which gets the kernel to load in the core
and tool preloads and then start the client.
As a result of this, m_main gets a lot shorter and cleaner.
Added:
branches/AIX5/coregrind/m_initimg/
|