commit | 9b9d6b2a4f6df5544a10de44760755fe757259e5 | [log] [tgz] |
---|---|---|
author | Takashi YOSHII <yoshii.takashi@renesas.com> | Mon Aug 11 20:12:52 2008 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Aug 11 20:17:55 2008 +0900 |
tree | b476a3bbd7328b649980834bdcf7232005870a74 | |
parent | 74c27c43ebd020fcb65364613503f6c08dc6f535 [diff] |
sh: Provide a FLAT_PLAT_INIT() definition. SH needs this in order to make sure that r4 has a sane value at process entry time, which the libc expects has already been taken care of. Fixes random crashes in flat binaries. Signed-off-by: Takashi YOSHII <yoshii.takashi@renesas.com> Signed-off-by: Paul Mundt <lethal@linux-sh.org>