ld/testing: fix "compilation failed" message for linker tests on x86.
authorAndrey Drobyshev <a.drobyshev@partner.samsung.com>
Thu, 4 Oct 2018 18:23:47 +0000 (21:23 +0300)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 28 Dec 2018 10:46:34 +0000 (10:46 +0000)
 * ld-ifunc/pr18808b.c, ld-ifunc/pr19784c: change return type from int
 to void, as it should be.

Change-Id: I4b9188cf37caf24c43ec607f0a731b91b03da92a
Signed-off-by: Andrey Drobyshev <a.drobyshev@partner.samsung.com>
ld/testsuite/ld-ifunc/pr18808b.c
ld/testsuite/ld-ifunc/pr19784c.c

index 6f0db5a..7f79d45 100644 (file)
@@ -6,7 +6,7 @@ static int foo_impl(int x)
   return x;
 }
 
-int bar()
+void bar()
 {
   int (*f)(int) = foo;
 
index 117dfec..bc282d5 100644 (file)
@@ -3,7 +3,7 @@
 extern void abort (void);
 extern int foo (int) __attribute__ ((visibility("hidden")));
 
-int bar()
+void bar()
 {
   if (foo (5) != 5)
     abort ();