浏览代码

update __UCLIBC_CTOR_DTOR__ check

Mike Frysinger 20 年之前
父节点
当前提交
0f2ea84cef
共有 1 个文件被更改,包括 3 次插入5 次删除
  1. 3 5
      libc/sysdeps/linux/alpha/crt0.S

+ 3 - 5
libc/sysdeps/linux/alpha/crt0.S

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