소스 검색

Blackfin: fix generation of Scrt1.o for FDPIC

Signed-off-by: Jie Zhang <jie.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Jie Zhang 18 년 전
부모
커밋
c55766ba90
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      libc/sysdeps/linux/bfin/crt1.S

+ 1 - 1
libc/sysdeps/linux/bfin/crt1.S

@@ -109,7 +109,7 @@ __start:
 	[SP + 20] = R7;
 
 /*	Ok, now run uClibc's main() -- shouldn't return */
-#if defined L_crt1 && defined __UCLIBC_CTOR_DTOR__
+#if (defined L_crt1 || defined L_Scrt1) && defined __UCLIBC_CTOR_DTOR__
 
 #ifdef __BFIN_FDPIC__
 	R3 = [P3 + __init@FUNCDESC_GOT17M4];