diff options
author | Jie Zhang <jie.zhang@analog.com> | 2007-03-04 04:08:47 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-07-22 12:54:44 -0400 |
commit | c55766ba9055111ea7666cf5c5213670049b5ee1 (patch) | |
tree | 979d964146b0c3d5e69de2131f800e13ee0a8203 /libc/sysdeps/linux/bfin | |
parent | 78114ccc56c09877fa16435386987542d1f1c09f (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/sysdeps/linux/bfin')
-rw-r--r-- | 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 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]; |