lowlevel-6809.s: ashlsi3 workaround
authorTormod Volden <debian.tormod@gmail.com>
Fri, 24 Apr 2015 11:08:48 +0000 (13:08 +0200)
committerAlan Cox <alan@linux.intel.com>
Fri, 24 Apr 2015 11:32:24 +0000 (12:32 +0100)
commitbfa7e2bd24c5f54d8f2a36b039538493ecaca2e3
treeb33ed909b231543e7ab2b25c3b963de974530441
parent4fd5beca8970c7920b511dcfdd66dc526b34d21a
lowlevel-6809.s: ashlsi3 workaround

When calling ashlsi3 (taken from the libgcc source) the arguments
are not set up on the stack as the ashlsi3 code expects.

It might be a bug in gcc-6809, but until we get this sorted out,
use this little prologue to have the function work correctly.

This was the last hurdle to get a relatively usable system going.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
Kernel/lowlevel-6809.s