merge from gcc
authorDJ Delorie <dj@redhat.com>
Tue, 15 Apr 2003 21:36:21 +0000 (21:36 +0000)
committerDJ Delorie <dj@redhat.com>
Tue, 15 Apr 2003 21:36:21 +0000 (21:36 +0000)
libiberty/ChangeLog

index 0fc64dd9d0afdfb582ff46fad208ca97453b35c5..9a1cf0d8fb3a7a0338539b0d4f0db5a8cbe1324b 100644 (file)
@@ -1,3 +1,25 @@
+2003-04-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * argv.c: Fix comments.
+       * calloc.c: Don't unnecessarily include "libiberty.h".
+       (bzero): Add prototype.
+       * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
+       * getcwd.c (getcwd): Use standard definition to avoid conflicts
+       with system headers.
+       * hashtab.c (htab_traverse): Delete unused variables.
+       * rename.c: Include "ansidecl.h".
+       (rename): Use standard definition to avoid conflicts with system
+       headers.
+       * strsignal.c: Rely on ANSI_PROTOTYPES.
+       * strstr.c: Check GNUC >= 2, not GNUC == 2.
+       * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
+       * vprintf.c: Include "ansidecl.h" earlier, rely on
+       ANSI_PROTOTYPES.
+       * vsprintf.c: Include "ansidecl.h" earlier, rely on
+       ANSI_PROTOTYPES and possibly include <stdarg.h>.
+       
+       * Makefile.in: Regenerate dependencies.
+
 2003-04-15  DJ Delorie  <dj@redhat.com>
 
        * maint-tool (deps): Scan for headers in $srcdir also.
        __mempcpy.
        * regex.c (regerror): Likewise.
 
+2003-04-14  Roger Sayle  <roger@eyesopen.com>
+
+       * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
+       * memchr.c: Likewise.
+       * strcasecmp.c: Likewise.
+       * strncasecmp.c: Likewise.
+       * strncmp.c: Likewise.
+       * xatexit.c: Likewise.
+       * xmalloc.c: Likewise.
+
+       * copysign.c: Use traditional function declaration instead of DEFUN.
+       * sigsetmask.c: Likewise.
+
+       * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
+       * memset.c: Likewise.
+
+       * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
+       * memmove.c: Likewise.
+
 2003-04-14  Roger Sayle  <roger@eyesopen.com>
 
        * strdup.c (strdup): Tweak implementation to use memcpy.
        on the number of elements actually used.
        (htab_traverse):  Call htab_expand when table is too empty.
 
-2003-12-03  Jan Hubicka  <jh@suse.cz>
-
-       * hashtab.c (htab_expand): Compute the size of hashtable based
-       on the number of elements actually used.
-       (htab_traverse):  Call htab_expand when table is too empty.
-
 2003-03-11  Carlo Wood  <carlo@gnu.org>
 
        * cplus-dem.c (demangle_integral_value): Correction to reflect
 2003-02-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
            Richard Earnshaw  <rearnsha@arm.com>
            Geoffrey Keating  <geoffk@apple.com>
-
+       
        * configure.in: Check for sys/sysctl.h and sysctl.
        * physmem.c: Add support for *bsd and darwin.
        * Makefile.in: Generate depedency for physmem.o.
        (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
        * configure, config.in: Regenerate.
 
+2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * configure.in: Check for sys/sysmp.h and sysmp.
+       * physmem.c: Pull upstream copy, add support for irix6.
+
+       * config.in, configure: Regenerated.
+
 2003-02-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
        * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
        pstat_getdynamic.
-
+       
 2003-02-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * Makefile.in (CFILES): Add physmem.c.