[PATCH 3/4] h8300/h8sim/startup/__main.c: Removed. Obsolete remnant of COFF.

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 14:34:51 UTC 2014


---
 c/src/lib/libbsp/h8300/h8sim/startup/__main.c | 21 ---------------------
 1 file changed, 21 deletions(-)
 delete mode 100644 c/src/lib/libbsp/h8300/h8sim/startup/__main.c

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) ();
-
-}
-- 
1.9.3



More information about the devel mailing list