about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/unix/sysv/linux/dl-sbrk.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/sysdeps/unix/sysv/linux/dl-sbrk.c')
-rw-r--r--REORG.TODO/sysdeps/unix/sysv/linux/dl-sbrk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/REORG.TODO/sysdeps/unix/sysv/linux/dl-sbrk.c b/REORG.TODO/sysdeps/unix/sysv/linux/dl-sbrk.c
new file mode 100644
index 0000000000..1ce5cb188c
--- /dev/null
+++ b/REORG.TODO/sysdeps/unix/sysv/linux/dl-sbrk.c
@@ -0,0 +1,5 @@
+/* We can use the normal code but we also know the __curbrk is not exported
+   from ld.so.  */
+extern void *__curbrk attribute_hidden;
+
+#include <misc/sbrk.c>