summaryrefslogtreecommitdiff
path: root/sysdeps/generic/dl-brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/dl-brk.c')
-rw-r--r--sysdeps/generic/dl-brk.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/dl-brk.c b/sysdeps/generic/dl-brk.c
new file mode 100644
index 0000000000..c37cdfec33
--- /dev/null
+++ b/sysdeps/generic/dl-brk.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 <brk.c>