summaryrefslogtreecommitdiffstats
path: root/build/unix/elfhack/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'build/unix/elfhack/dummy.c')
-rw-r--r--build/unix/elfhack/dummy.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/unix/elfhack/dummy.c b/build/unix/elfhack/dummy.c
new file mode 100644
index 000000000..f30fcb5b1
--- /dev/null
+++ b/build/unix/elfhack/dummy.c
@@ -0,0 +1,9 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
+
+extern __attribute__((visibility("default"), weak)) int print_status();
+
+int main() {
+ return print_status();
+}