diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2005-10-07 22:13:17 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2005-10-07 22:13:17 +0000 |
| commit | d31f7e49912209dceef45659c6400e0ecf2a9499 (patch) | |
| tree | 031c66171514bc1340a1e8cc029bf422a2cc9b81 /lib/csu | |
| parent | 57bbb41ebdf505e6edd6855114b07451c429ab47 (diff) | |
Notes
Diffstat (limited to 'lib/csu')
| -rw-r--r-- | lib/csu/amd64/crt1.c | 7 | ||||
| -rw-r--r-- | lib/csu/i386-elf/crt1.c | 7 |
2 files changed, 2 insertions, 12 deletions
diff --git a/lib/csu/amd64/crt1.c b/lib/csu/amd64/crt1.c index f1f0f7b0b0c2..943b07b31a94 100644 --- a/lib/csu/amd64/crt1.c +++ b/lib/csu/amd64/crt1.c @@ -86,15 +86,10 @@ _start(char **ap, void (*cleanup)(void)) 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\"$FreeBSD$\""); diff --git a/lib/csu/i386-elf/crt1.c b/lib/csu/i386-elf/crt1.c index c6774b0f394f..093433330e35 100644 --- a/lib/csu/i386-elf/crt1.c +++ b/lib/csu/i386-elf/crt1.c @@ -104,15 +104,10 @@ _start(char *ap, ...) 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\"$FreeBSD$\""); |
