* sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
authorRoland McGrath <roland@gnu.org>
Mon, 27 May 1996 20:43:56 +0000 (20:43 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 27 May 1996 20:43:56 +0000 (20:43 +0000)
can be aliased.

ChangeLog
sysdeps/unix/sysv/linux/i386/brk.c

index 9a78db6..9b4a8cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 Mon May 27 10:10:00 1996  Roland McGrath  <roland@delasyd.gnu.ai.mit.edu>
 
+       * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it
+       can be aliased.
+
        * sysdeps/unix/sysv/linux/Makefile [$(subdir)=termios] (headers):
        Append termio.h.
 
index f681734..f9e92dd 100644 (file)
@@ -21,7 +21,8 @@ Cambridge, MA 02139, USA.  */
 #include <unistd.h>
 #include <sysdep.h>
 
-void *__curbrk;
+/* This must be initialized data because commons can't have aliases.  */
+void *__curbrk = 0;
 
 /* Old braindamage in GCC's crtstuff.c requires this symbol in an attempt
    to work around different old braindamage in the old Linux ELF dynamic