commit | 480b8e7dd56746c550a8ae9d7d1ba5d22cf1a4ee | [log] [tgz] |
---|---|---|
author | Alexander Graf <agraf@suse.de> | Wed Nov 02 20:23:25 2011 +0100 |
committer | Riku Voipio <riku.voipio@linaro.org> | Thu Feb 02 17:51:20 2012 +0200 |
tree | 1632d5ad7b811658843a9d92e7709ddd42b23ba7 | |
parent | 36c08d498b8ea6995666b805d37c6bb14da66a97 [diff] |
linux-user: fake /proc/self/stat The boehm gc finds the program's stack starting pointer by checking /proc/self/stat. Unfortunately, so far it reads qemu's stack pointer which clearly is wrong. So let's instead fake the file so the guest program sees the right address. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>