• R/O
  • HTTP
  • SSH
  • HTTPS

uClinux-dist: Commit


Commit MetaInfo

Revision40247129ab8c12485ed7cfa9285bdd111e46431f (tree)
Time2014-05-26 17:45:07
AuthorYoshinori Sato <ysato@sa76...>
CommiterYoshinori Sato

Log Message

Fix no pic

Change Summary

Incremental Difference

--- a/uClibc/libc/sysdeps/linux/sh/clone.S
+++ b/uClibc/libc/sysdeps/linux/sh/clone.S
@@ -118,11 +118,17 @@ ENTRY(__clone)
118118 jmp @r1
119119 mov r0, r4
120120 #endif
121+#ifdef SHARED
121122 .align 2
122123 .LG:
123124 .long _GLOBAL_OFFSET_TABLE_
124125 .L3:
125126 .long PLTJMP(C_SYMBOL_NAME(_exit))
127+#else
128+ .align 2
129+.L3:
130+ .long C_SYMBOL_NAME(_exit)
131+#endif
126132 #ifdef RESET_PID
127133 .Lpidoff:
128134 .word PID - TLS_PRE_TCB_SIZE
Show on old repository browser