about summary refs log tree commit diff
path: root/elf/reldep8mod2.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/reldep8mod2.c')
-rw-r--r--elf/reldep8mod2.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/elf/reldep8mod2.c b/elf/reldep8mod2.c
new file mode 100644
index 0000000000..d0020240a8
--- /dev/null
+++ b/elf/reldep8mod2.c
@@ -0,0 +1,7 @@
+void
+__attribute__((constructor))
+xxx (void)
+{
+  extern void baz (void);
+  baz ();
+}