diff options
| author | Jie Zhang <jie.zhang@analog.com> | 2007-03-04 04:08:47 +0000 |
|---|---|---|
| committer | Austin Foxley <austinf@cetoncorp.com> | 2009-08-19 12:29:00 -0700 |
| commit | 2ed29b851bd9a8c86252ec3009f5f6d9ef1893a0 (patch) | |
| tree | 5e8872fec3e4dcd4ea590d3f78e9236c073b96ec | |
| parent | cdf8940ca4b2d2817bf8b8729a3ce51827f6c415 (diff) | |
| download | uClibc-alpine-2ed29b851bd9a8c86252ec3009f5f6d9ef1893a0.tar.bz2 uClibc-alpine-2ed29b851bd9a8c86252ec3009f5f6d9ef1893a0.tar.xz | |
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>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| -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]; |
