[Midnightbsd-cvs] src: crt1.c: Merge changes.

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Oct 30 16:51:13 EDT 2008


Log Message:
-----------
Merge changes.

Modified Files:
--------------
    src/lib/csu/i386-elf:
        crt1.c (r1.2 -> r1.3)

-------------- next part --------------
Index: crt1.c
===================================================================
RCS file: /home/cvs/src/lib/csu/i386-elf/crt1.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -L lib/csu/i386-elf/crt1.c -L lib/csu/i386-elf/crt1.c -u -r1.2 -r1.3
--- lib/csu/i386-elf/crt1.c
+++ lib/csu/i386-elf/crt1.c
@@ -104,15 +104,10 @@
 	atexit(_fini);
 #ifdef GCRT
 	monstartup(&eprol, &etext);
+__asm__("eprol:");
 #endif
 	_init();
 	exit( main(argc, argv, env) );
 }
 
-#ifdef GCRT
-__asm__(".text");
-__asm__("eprol:");
-__asm__(".previous");
-#endif
-
 __asm__(".ident\t\"$MidnightBSD$\"");


More information about the Midnightbsd-cvs mailing list