about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-11-26 08:37:44 +0000
committerAndreas Jaeger <aj@suse.de>2001-11-26 08:37:44 +0000
commitdd09c3dcc91e9be3c1c8fca4486c286083540322 (patch)
treec0acf1b060329f0557925155421e5d33f46e642a
parent60a06b7ce15c3fd911c59693ee24fda12404f3a7 (diff)
downloadglibc-dd09c3dcc91e9be3c1c8fca4486c286083540322.tar.gz
glibc-dd09c3dcc91e9be3c1c8fca4486c286083540322.tar.xz
glibc-dd09c3dcc91e9be3c1c8fca4486c286083540322.zip
Update.
2001-11-26  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
	avoid warning.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/unix/sysv/linux/hppa/brk.c9
2 files changed, 7 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e7c423601..2b356755ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-26  Andreas Jaeger  <aj@suse.de>
+
+	* sysdeps/unix/sysv/linux/hppa/brk.c: Remove __brk_addr alias,
+	avoid warning.
+
 2001-11-26  Stephen L Moshier <moshier@mediaone.net>
 
 	* sysdeps/ieee754/ldbl-128/e_log10l.c (L102B): Fix typo in
diff --git a/sysdeps/unix/sysv/linux/hppa/brk.c b/sysdeps/unix/sysv/linux/hppa/brk.c
index b534b17710..a4b4df2831 100644
--- a/sysdeps/unix/sysv/linux/hppa/brk.c
+++ b/sysdeps/unix/sysv/linux/hppa/brk.c
@@ -1,5 +1,5 @@
 /* brk system call for Linux/HPPA.
-   Copyright (C) 1995, 1996, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1995, 1996, 2000, 2001 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
@@ -24,17 +24,12 @@
 /* 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
-   linker.  */
-weak_alias (__curbrk, ___brk_addr)
-
 int
 __brk (void *addr)
 {
   void *newbrk;
 
-  __curbrk = newbrk = INLINE_SYSCALL(brk, 1, addr);
+  __curbrk = newbrk = (void *) INLINE_SYSCALL (brk, 1, addr);
 
   if (newbrk < addr)
     {