summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJie Zhang <jie.zhang@analog.com>2009-03-12 07:15:33 +0000
committerMike Frysinger <vapier@gentoo.org>2009-07-22 12:56:11 -0400
commit7c837e1b2d658cb45f00ef767f3ec57ba72362ae (patch)
tree00d8316ea4ccea3a81487f5f2607eb31b891ad76 /libc
parentc55766ba9055111ea7666cf5c5213670049b5ee1 (diff)
Blackfin: no need to load P5 for shared FLAT
The register is already loaded for us upon entry by the kernel. 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.S1
1 files changed, 0 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/bfin/crt1.S b/libc/sysdeps/linux/bfin/crt1.S
index 06905f1e7..3dd95fa26 100644
--- a/libc/sysdeps/linux/bfin/crt1.S
+++ b/libc/sysdeps/linux/bfin/crt1.S
@@ -114,7 +114,6 @@ __start:
#ifdef __BFIN_FDPIC__
R3 = [P3 + __init@FUNCDESC_GOT17M4];
#elif defined USE_GOT
- P5 = [P5 + _current_shared_library_p5_offset_];
R3 = [P5 + ___shared_flat_init@GOT];
#else
R3.H = __init;