From 2a4dcf76ca230994166ea1c573d05ee0f85da1b5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 27 May 1996 20:43:56 +0000 Subject: * sysdeps/unix/sysv/linux/i386/brk.c (__curbrk): Initialize it so it can be aliased. --- sysdeps/unix/sysv/linux/i386/brk.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/i386/brk.c b/sysdeps/unix/sysv/linux/i386/brk.c index f681734..f9e92dd 100644 --- a/sysdeps/unix/sysv/linux/i386/brk.c +++ b/sysdeps/unix/sysv/linux/i386/brk.c @@ -21,7 +21,8 @@ Cambridge, MA 02139, USA. */ #include #include -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 -- cgit v1.1