aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfweak/bar.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2001-09-14 23:43:17 +0000
committerH.J. Lu <hjl.tools@gmail.com>2001-09-14 23:43:17 +0000
commit0c52a746f7537f9adc57c9b6b9980139fa2632cf (patch)
treeb74a8ec4675c8478c07e3f58d2d5624b16a7e997 /ld/testsuite/ld-elfweak/bar.c
parent920acd6218e5ef0870b884503b44f04c755e67f9 (diff)
downloadgdb-0c52a746f7537f9adc57c9b6b9980139fa2632cf.zip
gdb-0c52a746f7537f9adc57c9b6b9980139fa2632cf.tar.gz
gdb-0c52a746f7537f9adc57c9b6b9980139fa2632cf.tar.bz2
2001-09-14 H.J. Lu <hjl@gnu.org>
* ld-elfweak/bar.c: Updated. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/main1.c: Likewise. * ld-elfweak/elfweak.exp: Likewise. * ld-elfweak/weakdata.dsym: Updated.
Diffstat (limited to 'ld/testsuite/ld-elfweak/bar.c')
-rw-r--r--ld/testsuite/ld-elfweak/bar.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elfweak/bar.c b/ld/testsuite/ld-elfweak/bar.c
index 2245e8d..6317518 100644
--- a/ld/testsuite/ld-elfweak/bar.c
+++ b/ld/testsuite/ld-elfweak/bar.c
@@ -1,9 +1,16 @@
#include <stdio.h>
extern void foo ();
+extern void foobar ();
void
foo ()
{
printf ("strong foo\n");
}
+
+void
+foobar ()
+{
+ foo ();
+}