summaryrefslogtreecommitdiff
path: root/elf/reldep7mod1.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/reldep7mod1.c')
-rw-r--r--elf/reldep7mod1.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/elf/reldep7mod1.c b/elf/reldep7mod1.c
new file mode 100644
index 0000000000..de1bb3a6cd
--- /dev/null
+++ b/elf/reldep7mod1.c
@@ -0,0 +1,12 @@
+int foo (void) __attribute__ ((weak));
+int
+foo (void)
+{
+ return 1;
+}
+
+int
+mod1_bar (void)
+{
+ return foo ();
+}