On Tue, Jul 6, 2021 at 1:18 AM Thomas Huth <th...@redhat.com> wrote:
>
> The errno numbers are very large on Haiku, so the linking currently
> fails there with a "final link failed: memory exhausted" error
> message. We should not use the errno number as array indexes here,
> thus convert the code to a switch-case statement instead. A clever
> compiler should be able to optimize this code in a similar way
> anway.
>
> Reported-by: Richard Zak <richard.j....@gmail.com>
> Signed-off-by: Thomas Huth <th...@redhat.com>
> ---
>  target/xtensa/xtensa-semi.c | 84 +++++++++++++++++--------------------
>  1 file changed, 39 insertions(+), 45 deletions(-)

Acked-by: Max Filippov <jcmvb...@gmail.com>

-- 
Thanks.
-- Max

Reply via email to