From 7c837e1b2d658cb45f00ef767f3ec57ba72362ae Mon Sep 17 00:00:00 2001 From: Jie Zhang Date: Thu, 12 Mar 2009 07:15:33 +0000 Subject: 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 Signed-off-by: Mike Frysinger --- libc/sysdeps/linux/bfin/crt1.S | 1 - 1 file changed, 1 deletion(-) 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; -- cgit v1.2.3