aboutsummaryrefslogtreecommitdiff
path: root/elf/reldep6mod4.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/reldep6mod4.c')
-rw-r--r--elf/reldep6mod4.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/elf/reldep6mod4.c b/elf/reldep6mod4.c
new file mode 100644
index 0000000..8fa89de
--- /dev/null
+++ b/elf/reldep6mod4.c
@@ -0,0 +1,12 @@
+int foo (void);
+int weak (void);
+
+int foo (void)
+{
+ return 10;
+}
+
+int weak (void)
+{
+ return 30;
+}