* [PATCH] Fix spurious testsuite error
@ 2010-11-16 22:10 Andreas Schwab
2010-11-16 23:13 ` Alan Modra
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2010-11-16 22:10 UTC (permalink / raw)
To: binutils
/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."
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix spurious testsuite error
2010-11-16 22:10 [PATCH] Fix spurious testsuite error Andreas Schwab
@ 2010-11-16 23:13 ` Alan Modra
0 siblings, 0 replies; 2+ messages in thread
From: Alan Modra @ 2010-11-16 23:13 UTC (permalink / raw)
To: Andreas Schwab; +Cc: binutils
On Tue, Nov 16, 2010 at 11:10:26PM +0100, Andreas Schwab wrote:
> * ld-gc/pr11218-2.c: Declare
> unresolved_detected_at_runtime_not_at_linktime.
OK (and obvious). I guess you must have -Wall in your environment
CFLAGS.
--
Alan Modra
Australia Development Lab, IBM
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-16 23:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 22:10 [PATCH] Fix spurious testsuite error Andreas Schwab
2010-11-16 23:13 ` Alan Modra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).