Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/h8300hms/crt1.c')
-rw-r--r--newlib/libc/sys/h8300hms/crt1.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/sys/h8300hms/crt1.c b/newlib/libc/sys/h8300hms/crt1.c
index dd0be3145..bd4ccf2d8 100644
--- a/newlib/libc/sys/h8300hms/crt1.c
+++ b/newlib/libc/sys/h8300hms/crt1.c
@@ -1,5 +1,6 @@
void __main ()
{
+#ifndef __ELF__
static int initialized;
if (! initialized)
{
@@ -13,4 +14,5 @@ void __main ()
(*--p) ();
}
+#endif
}