sh: Provide a FLAT_PLAT_INIT() definition.
authorTakashi YOSHII <yoshii.takashi@renesas.com>
Mon, 11 Aug 2008 11:12:52 +0000 (20:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 11 Aug 2008 11:17:55 +0000 (20:17 +0900)
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>

No differences found