summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2007-03-04 04:08:47 +0000
committerMike Frysinger <vapier@gentoo.org>2009-07-22 12:54:44 -0400
commitc55766ba9055111ea7666cf5c5213670049b5ee1 (patch)
tree979d964146b0c3d5e69de2131f800e13ee0a8203 /libc
parent78114ccc56c09877fa16435386987542d1f1c09f (diff)
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>
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/bfin/crt1.S2
1 files changed, 1 insertions, 1 deletions
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];