about summary refs log tree commit diff
path: root/elf/tst-secondarymod.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-secondarymod.c')
-rw-r--r--elf/tst-secondarymod.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/elf/tst-secondarymod.c b/elf/tst-secondarymod.c
new file mode 100644
index 0000000000..5363e99654
--- /dev/null
+++ b/elf/tst-secondarymod.c
@@ -0,0 +1,9 @@
+#include "tst-secondary.h"
+
+asm (".secondary bar");
+
+int
+bar (void)
+{
+  return SECONDARY;
+}