about summary refs log tree commit diff
path: root/elf/tst-dl_find_object-mod7.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-dl_find_object-mod7.c')
-rw-r--r--elf/tst-dl_find_object-mod7.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/elf/tst-dl_find_object-mod7.c b/elf/tst-dl_find_object-mod7.c
new file mode 100644
index 0000000000..71353880da
--- /dev/null
+++ b/elf/tst-dl_find_object-mod7.c
@@ -0,0 +1,10 @@
+char mod7_data;
+
+void
+mod7_function (void (*f) (void))
+{
+  /* Make sure this is not a tail call and unwind information is
+     therefore needed.  */
+  f ();
+  f ();
+}