summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/v850/shared/crt1.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/v850/shared/crt1.c')
-rw-r--r--c/src/lib/libbsp/v850/shared/crt1.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/c/src/lib/libbsp/v850/shared/crt1.c b/c/src/lib/libbsp/v850/shared/crt1.c
deleted file mode 100644
index 02a8a7f8cf..0000000000
--- a/c/src/lib/libbsp/v850/shared/crt1.c
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * From newlib ==> libc/sys/sysnecv850/crt1.c
- *
- * Obtained from newlib: 29 May 2012
- * Warnings fixed: 7 October 2014
- */
-
-void __main(void);
-typedef void (*pfunc) (void);
-extern pfunc __ctors[];
-extern pfunc __ctors_end[];
-
-void __main(void)
-{
- static int initialized;
- if (! initialized)
- {
- pfunc *p;
-
- initialized = 1;
- for (p = __ctors_end; p > __ctors; )
- (*--p) ();
-
- }
-}