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

Jie Zhang jie.zhang at analog.com
Sat Oct 10 16:44:02 UTC 2009


commit: http://git.uclibc.org/uClibc/commit/?id=fcc846923de35b9df6854b3f172d68c20cd2f030
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0_9_30

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>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 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