Re: [PATCH] RISC-V: lib: Fix build error for 64-bit

From: Olof Johansson
Date: Wed Oct 31 2018 - 02:43:28 EST


On Tue, Oct 30, 2018 at 5:05 PM Olof Johansson <olof@xxxxxxxxx> wrote:
>
> On Tue, Oct 30, 2018 at 5:04 PM Olof Johansson <olof@xxxxxxxxx> wrote:
> >
> > Fixes the following build error from tinyconfig:
> >
> > riscv64-unknown-linux-gnu-ld: kernel/sched/fair.o: in function `.L8':
> > fair.c:(.text+0x70): undefined reference to `__lshrti3'
> > riscv64-unknown-linux-gnu-ld: kernel/time/clocksource.o: in function `.L0 ':
> > clocksource.c:(.text+0x334): undefined reference to `__lshrti3'
>
> Err, fixed the whitespace in tishift.S while I was at it. Undo if you want.

Ended up with a few more fixes, so I split this in two and will repost
as a series. Apologies for the noise.


-Olof