summaryrefslogtreecommitdiffstats
path: root/llvm/runtime/GCCLibraries/crtend/crtend.c
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/runtime/GCCLibraries/crtend/crtend.c')
-rw-r--r--llvm/runtime/GCCLibraries/crtend/crtend.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/llvm/runtime/GCCLibraries/crtend/crtend.c b/llvm/runtime/GCCLibraries/crtend/crtend.c
new file mode 100644
index 00000000000..561b6fd2415
--- /dev/null
+++ b/llvm/runtime/GCCLibraries/crtend/crtend.c
@@ -0,0 +1,16 @@
+/*===- crtend.c - Initialization code for programs ------------------------===*\
+ *
+ * The LLVM Compiler Infrastructure
+ *
+ * This file was developed by the LLVM research group and is distributed under
+ * the University of Illinois Open Source License. See LICENSE.TXT for details.
+ *
+ *===----------------------------------------------------------------------===*
+ *
+ * This file defines the __main function, which we preserve for backwards
+ * compatibility.
+ *
+\*===----------------------------------------------------------------------===*/
+
+void __main(void) {
+}
OpenPOWER on IntegriCloud