[git commit] Blackfin: no need to load P5 for shared FLAT

Mike Frysinger vapier at gentoo.org
Wed Jul 22 16:56:11 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=7c837e1b2d658cb45f00ef767f3ec57ba72362ae
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

The register is already loaded for us upon entry by the kernel.

Signed-off-by: Jie Zhang <jie.zhang at analog.com>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
 libc/sysdeps/linux/bfin/crt1.S |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/bfin/crt1.S b/libc/sysdeps/linux/bfin/crt1.S
index 06905f1..3dd95fa 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 at FUNCDESC_GOT17M4];
 #elif defined USE_GOT
-	P5 = [P5 + _current_shared_library_p5_offset_]; 
 	R3 = [P5 + ___shared_flat_init at GOT];
 #else
 	R3.H = __init;
-- 
1.6.3.3



More information about the uClibc-cvs mailing list