Skip to content
Commit 0ef0e6de authored by Nicholas Piggin's avatar Nicholas Piggin Committed by Matheus Castanho
Browse files

powerpc: Fix handling of scv return error codes [BZ #27892]



When using scv for templated ASM syscalls, current code interprets any
negative return value as error, but the only valid error codes are in
the range -4095..-1 according to the ABI.

This commit also fixes 'signal.gen.test' strace test, where the issue
was first identified.

Reviewed-by: default avatarMatheus Castanho <msc@linux.ibm.com>
(cherry picked from commit 7de36744)
parent 3f5080ae
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment