[rtems commit] h8300/h8sim/startup/__main.c: Removed. Obsolete remnant of COFF.
Joel Sherrill
joel at rtems.org
Wed Oct 15 19:15:58 UTC 2014
Module: rtems
Branch: master
Commit: 85c533b106a3fd1798c991edbe40771e137437de
Changeset: http://git.rtems.org/rtems/commit/?id=85c533b106a3fd1798c991edbe40771e137437de
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Wed Oct 15 09:26:07 2014 -0500
h8300/h8sim/startup/__main.c: Removed. Obsolete remnant of COFF.
---
c/src/lib/libbsp/h8300/h8sim/startup/__main.c | 21 ---------------------
1 files changed, 0 insertions(+), 21 deletions(-)
diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/__main.c b/c/src/lib/libbsp/h8300/h8sim/startup/__main.c
deleted file mode 100644
index 13d1f01..0000000
--- a/c/src/lib/libbsp/h8300/h8sim/startup/__main.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copied from newlib 1.8.2
- */
-
-typedef void (*pfunc) (void);
-extern pfunc __ctors[];
-extern pfunc __ctors_end[];
-
-void __main (void)
-{
- static int initialized;
- pfunc *p;
-
- if (initialized)
- return;
-
- initialized = 1;
- for (p = __ctors_end; p > __ctors; )
- (*--p) ();
-
-}
More information about the vc
mailing list