summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/gotpcrel1b.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/gotpcrel1b.c')
-rw-r--r--ld/testsuite/ld-x86-64/gotpcrel1b.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/gotpcrel1b.c b/ld/testsuite/ld-x86-64/gotpcrel1b.c
new file mode 100644
index 00000000000..cf0c78e222a
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/gotpcrel1b.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+void
+foo (void)
+{
+ printf ("%s\n", __FUNCTION__);
+}