mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
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.
This commit is contained in:
parent
fe4d0ab794
commit
e685238c90
@ -1,5 +1,5 @@
|
|||||||
/* brk system call for Linux/i386.
|
/* 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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -23,6 +23,11 @@ Cambridge, MA 02139, USA. */
|
|||||||
|
|
||||||
void *__curbrk;
|
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
|
int
|
||||||
__brk (void *addr)
|
__brk (void *addr)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user