summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-23 01:34:23 +0000
committerRoland McGrath <roland@gnu.org>1996-05-23 01:34:23 +0000
commite685238c901f1a7aa0c1956e63cc9f2de5599998 (patch)
treeb6d8310f56023da86bc31d630563f0c0f2d2fd44
parentfe4d0ab794c156374fbde71eb66f019b403fdee4 (diff)
downloadglibc-e685238c901f1a7aa0c1956e63cc9f2de5599998.tar.gz
glibc-e685238c901f1a7aa0c1956e63cc9f2de5599998.tar.xz
glibc-e685238c901f1a7aa0c1956e63cc9f2de5599998.zip
Wed May 22 21:21:15 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* sysdeps/unix/sysv/linux/i386/brk.c (___brk_addr): Define as weak
	alias for __curbrk.
-rw-r--r--sysdeps/unix/sysv/linux/i386/brk.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/brk.c b/sysdeps/unix/sysv/linux/i386/brk.c
index 9963e0777b..f681734e48 100644
--- a/sysdeps/unix/sysv/linux/i386/brk.c
+++ b/sysdeps/unix/sysv/linux/i386/brk.c
@@ -1,5 +1,5 @@
 /* brk system call for Linux/i386.
-Copyright (C) 1995 Free Software Foundation, Inc.
+Copyright (C) 1995, 1996 Free Software Foundation, Inc.
 This file is part of the GNU C Library.
 
 The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,11 @@ Cambridge, MA 02139, USA.  */
 
 void *__curbrk;
 
+/* 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
+   linker.  */
+weak_alias (__curbrk, ___brk_addr)
+
 int
 __brk (void *addr)
 {