OSDN Git Service
(root)
/
uclinux-h8
/
uClinux-dist.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix no pic
[uclinux-h8/uClinux-dist.git]
/
uClibc
/
libc
/
sysdeps
/
linux
/
sh
/
clone.S
diff --git
a/uClibc/libc/sysdeps/linux/sh/clone.S
b/uClibc/libc/sysdeps/linux/sh/clone.S
index
423a6c2
..
077ebd4
100644
(file)
--- a/
uClibc/libc/sysdeps/linux/sh/clone.S
+++ b/
uClibc/libc/sysdeps/linux/sh/clone.S
@@
-118,11
+118,17
@@
ENTRY(__clone)
jmp @r1
mov r0, r4
#endif
+#ifdef SHARED
.align 2
.LG:
.long _GLOBAL_OFFSET_TABLE_
.L3:
.long PLTJMP(C_SYMBOL_NAME(_exit))
+#else
+ .align 2
+.L3:
+ .long C_SYMBOL_NAME(_exit)
+#endif
#ifdef RESET_PID
.Lpidoff:
.word PID - TLS_PRE_TCB_SIZE