OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da2e164
)
fix build/segv issues as reported and fixed by Brent Cook
author
Mike Frysinger
<vapier@gentoo.org>
Thu, 9 Mar 2006 06:11:14 +0000
(06:11 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Thu, 9 Mar 2006 06:11:14 +0000
(06:11 -0000)
libc/sysdeps/linux/powerpc/brk.S
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/powerpc/brk.S
b/libc/sysdeps/linux/powerpc/brk.S
index
b7b19d1
..
2fd8e55
100644
(file)
--- a/
libc/sysdeps/linux/powerpc/brk.S
+++ b/
libc/sysdeps/linux/powerpc/brk.S
@@
-24,7
+24,19
@@
#include <sys/syscall.h>
#ifdef __NR_brk
- .comm __curbrk,4,4
+
+#ifdef __PIC__
+.section .bss
+ .align 4
+ .globl __curbrk
+__curbrk: .skip 4
+ .type __curbrk,@object
+ .size __curbrk,4
+#else
+.comm __curbrk, 4,4
+#endif
+libc_hidden_data_def(__curbrk)
+
.text
.globl brk
.type brk,@function