summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/frv
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-03-10 16:20:23 +0000
commit42c1ad48fa946f00d67d0b023f50e5d6d8fc293f (patch)
treef510bb36f58711b809103832fa826b0de13df593 /libc/sysdeps/linux/frv
parent7747ec45650949ca4712be8e2cbc0588c0922982 (diff)
Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, most of global data relocations are back
Diffstat (limited to 'libc/sysdeps/linux/frv')
-rw-r--r--libc/sysdeps/linux/frv/__init_brk.c3
-rw-r--r--libc/sysdeps/linux/frv/brk.c1
-rw-r--r--libc/sysdeps/linux/frv/sbrk.c1
3 files changed, 0 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/frv/__init_brk.c b/libc/sysdeps/linux/frv/__init_brk.c
index 507902fc5..b688f98af 100644
--- a/libc/sysdeps/linux/frv/__init_brk.c
+++ b/libc/sysdeps/linux/frv/__init_brk.c
@@ -4,10 +4,7 @@
#include <unistd.h>
#include <sys/syscall.h>
-extern void * __curbrk;
-libc_hidden_proto(__curbrk)
void * __curbrk = 0;
-libc_hidden_data_def(__curbrk)
#define __NR__brk __NR_brk
attribute_hidden _syscall1(void *, _brk, void *, ptr);
diff --git a/libc/sysdeps/linux/frv/brk.c b/libc/sysdeps/linux/frv/brk.c
index 9e33830ab..b26f74fec 100644
--- a/libc/sysdeps/linux/frv/brk.c
+++ b/libc/sysdeps/linux/frv/brk.c
@@ -12,7 +12,6 @@
libc_hidden_proto(brk)
extern void * __curbrk;
-libc_hidden_proto(__curbrk)
extern int __init_brk (void);
libc_hidden_proto(__init_brk)
diff --git a/libc/sysdeps/linux/frv/sbrk.c b/libc/sysdeps/linux/frv/sbrk.c
index bb66f0148..fd760985e 100644
--- a/libc/sysdeps/linux/frv/sbrk.c
+++ b/libc/sysdeps/linux/frv/sbrk.c
@@ -7,7 +7,6 @@
libc_hidden_proto(sbrk)
extern void * __curbrk;
-libc_hidden_proto(__curbrk)
extern int __init_brk (void);
libc_hidden_proto(__init_brk)