From c55766ba9055111ea7666cf5c5213670049b5ee1 Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Sun, 4 Mar 2007 04:08:47 +0000 Subject: Blackfin: fix generation of Scrt1.o for FDPIC Signed-off-by: Jie Zhang Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/bfin/crt1.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/sysdeps/linux/bfin/crt1.S b/libc/sysdeps/linux/bfin/crt1.S index 38e68c9ac..06905f1e7 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@FUNCDESC_GOT17M4]; -- cgit v1.2.3