Linux/x86 sbrk() implementation for ld.so.
authordrepper <drepper>
Fri, 15 Mar 2002 04:41:49 +0000 (04:41 +0000)
committerdrepper <drepper>
Fri, 15 Mar 2002 04:41:49 +0000 (04:41 +0000)
sysdeps/unix/sysv/linux/i386/dl-sbrk.c [new file with mode: 0644]

diff --git a/sysdeps/unix/sysv/linux/i386/dl-sbrk.c b/sysdeps/unix/sysv/linux/i386/dl-sbrk.c
new file mode 100644 (file)
index 0000000..4713a92
--- /dev/null
@@ -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 <sbrk.c>