This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix spurious testsuite error
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: binutils at sourceware dot org
- Date: Tue, 16 Nov 2010 23:10:26 +0100
- Subject: [PATCH] Fix spurious testsuite error
/home/andreas/src/binutils/binutils/ld/testsuite/ld-gc/pr11218-2.c: In function 'call_unresolved':
/home/andreas/src/binutils/binutils/ld/testsuite/ld-gc/pr11218-2.c:5:4: warning: implicit declaration of function 'unresolved_detected_at_runtime_not_at_linktime'
ERROR: /home/andreas/src/binutils/binutils/ld/testsuite/ld-gc/pr11218-2.c: compilation failed
Andreas.
2010-11-16 Andreas Schwab <schwab@linux-m68k.org>
* ld-gc/pr11218-2.c: Declare
unresolved_detected_at_runtime_not_at_linktime.
--- ld/testsuite/ld-gc/pr11218-2.c.~1.1.~ 2010-01-26 14:21:36.000000000 +0100
+++ ld/testsuite/ld-gc/pr11218-2.c 2010-11-16 22:35:53.000000000 +0100
@@ -1,4 +1,5 @@
extern void foo_in_so(void);
+extern void unresolved_detected_at_runtime_not_at_linktime (void);
void call_unresolved(void)
{
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."