[git commit nptl] Blackfin: fix generation of Scrt1.o for FDPIC

Jie Zhang jie.zhang at analog.com
Wed Aug 19 11:29:41 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=2ed29b851bd9a8c86252ec3009f5f6d9ef1893a0
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/nptl

Signed-off-by: Jie Zhang <jie.zhang at analog.com>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/sysdeps/linux/bfin/crt1.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/bfin/crt1.S b/libc/sysdeps/linux/bfin/crt1.S
index 38e68c9..06905f1 100644
--- a/libc/sysdeps/linux/bfin/crt1.S
+++ b/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 at FUNCDESC_GOT17M4];
-- 
1.6.3.3



More information about the uClibc-cvs mailing list