This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[Commit]
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Mon, 09 Oct 2017 15:00:15 +0100
- Subject: [Commit]
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx01.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=nickc at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 1006881E1D
Hi Guys,
I am checking in this small patch to fix the return type of the
function bar in the x86_64 pr19874 test. This was showing up as a
warning message in the test logs and has been bugging me for ages.
Cheers
Nick
ld/ChangeLog
2017-10-09 Nick Clifton <nickc@redhat.com>
PR ld/19874
* testsuite/ld-x86-64/pr19784c.c (bar): Change return type to void.
diff --git a/ld/testsuite/ld-x86-64/pr19784c.c b/ld/testsuite/ld-x86-64/pr19784c.c
index 117dfec120..eb2c9d0c2a 100644
--- a/ld/testsuite/ld-x86-64/pr19784c.c
+++ b/ld/testsuite/ld-x86-64/pr19784c.c
@@ -3,7 +3,7 @@
extern void abort (void);
extern int foo (int) __attribute__ ((visibility("hidden")));
-int bar()
+void bar(void)
{
if (foo (5) != 5)
abort ();