summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-10 06:25:50 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-10 06:25:50 +0000
commit0f2ea84cef1d26a97c1d5a66329b78a2aa7068b2 (patch)
treee03d5b920ad2788695e16d8f9d78b9156c00f8ce /libc/sysdeps
parenta8ac67a474ad6e3db59b9fb20239f9240dcb2378 (diff)
update __UCLIBC_CTOR_DTOR__ check
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/alpha/crt0.S8
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/alpha/crt0.S b/libc/sysdeps/linux/alpha/crt0.S
index 2d6a5a3a7..e8d0c5498 100644
--- a/libc/sysdeps/linux/alpha/crt0.S
+++ b/libc/sysdeps/linux/alpha/crt0.S
@@ -36,16 +36,14 @@
.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 */