aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-06 02:32:55 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-06 02:32:55 +0000
commitc4b4e079e3d3f6d1eb66576d3d6188332eb6619b (patch)
tree9092acdfbd656017258819da5416e3ff6379d2cb
parent6736e93bab3afb0745f15aa81c0093a698cca856 (diff)
downloadglibc-c4b4e079e3d3f6d1eb66576d3d6188332eb6619b.zip
glibc-c4b4e079e3d3f6d1eb66576d3d6188332eb6619b.tar.gz
glibc-c4b4e079e3d3f6d1eb66576d3d6188332eb6619b.tar.bz2
Update.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-brk.c5
-rw-r--r--sysdeps/unix/sysv/linux/i386/dl-sbrk.c5
3 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index ba88a41..1cef2f9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,8 +15,6 @@
* sysdeps/unix/sysv/linux/ia64/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/powerpc/dl-brk.S: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-brk.S: New file.
- * sysdeps/unix/sysv/linux/i386/dl-brk.c: Remove.
- * sysdeps/unix/sysv/linux/i386/dl-sbrk.c: Remove.
2002-04-03 Andreas Schwab <schwab@suse.de>
diff --git a/sysdeps/unix/sysv/linux/i386/dl-brk.c b/sysdeps/unix/sysv/linux/i386/dl-brk.c
new file mode 100644
index 0000000..c37cdfe
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/i386/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>
diff --git a/sysdeps/unix/sysv/linux/i386/dl-sbrk.c b/sysdeps/unix/sysv/linux/i386/dl-sbrk.c
new file mode 100644
index 0000000..4713a92
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/i386/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 <sbrk.c>