aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/protected-data-1.h
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/protected-data-1.h')
-rw-r--r--ld/testsuite/ld-x86-64/protected-data-1.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/protected-data-1.h b/ld/testsuite/ld-x86-64/protected-data-1.h
new file mode 100644
index 0000000..a80c976
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/protected-data-1.h
@@ -0,0 +1,11 @@
+extern int protected_data_1a;
+extern int protected_data_1b;
+
+extern int *protected_data_1a_p ();
+extern int *protected_data_1b_p ();
+
+extern void set_protected_data_1a (int);
+extern void set_protected_data_1b (int);
+
+extern int check_protected_data_1a (int);
+extern int check_protected_data_1b (int);