aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/alpha/test-ovf.c
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2018-04-23 15:48:06 +0100
committerAlex Bennée <alex.bennee@linaro.org>2018-06-20 20:22:34 +0100
commit4f2cbcfb4dc398b10ef7ede2069b1e05704981b4 (patch)
tree88bf362556b3ff42e680642b0af4fdaec6ac28a7 /tests/tcg/alpha/test-ovf.c
parent409c1c9cbd9a6715d5f5663a8b3404ea193d0137 (diff)
tests/tcg/alpha: add Alpha specific tests
These tests did use their own crt.o stub however that is a little stone age so we drop crt.S and just statically link to the cross compilers libraries. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests/tcg/alpha/test-ovf.c')
-rw-r--r--tests/tcg/alpha/test-ovf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcg/alpha/test-ovf.c b/tests/tcg/alpha/test-ovf.c
index 01c80e7525..17892f1e89 100644
--- a/tests/tcg/alpha/test-ovf.c
+++ b/tests/tcg/alpha/test-ovf.c
@@ -1,3 +1,5 @@
+#include <unistd.h>
+
static long test_subqv (long a, long b)
{
long res;