OSDN Git Service

update __UCLIBC_CTOR_DTOR__ check
authorMike Frysinger <vapier@gentoo.org>
Sun, 10 Jul 2005 06:25:50 +0000 (06:25 -0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 10 Jul 2005 06:25:50 +0000 (06:25 -0000)
libc/sysdeps/linux/alpha/crt0.S

index 2d6a5a3..e8d0c54 100644 (file)
 
        .text
        .align 3
-       .globl _start
+       .global _start
        .ent _start, 0
        .type _start,@function
-#if defined L_crt0 || ! defined __UCLIBC_CTOR_DTOR__
-       .type   __uClibc_main,@function
-#else
+#if ! defined(__UCLIBC_CTOR_DTOR__)
        .weak   _init
        .weak   _fini
-       .type   __uClibc_start_main,@function
 #endif
+       .type   __uClibc_main,@function
 /* Stick in a dummy reference to main(), so that if an application
  * is linking when the main() function is in a static library (.a)
  * we can be sure that main() actually gets linked in */