merge from gcc

This commit is contained in:
DJ Delorie 2003-04-15 21:36:21 +00:00
parent 1ea16ec5b4
commit ff773b85a4
1 changed files with 50 additions and 8 deletions

View 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.
@ -11,6 +33,25 @@
__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.
@ -39,12 +80,6 @@
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
@ -80,7 +115,7 @@
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.
@ -97,12 +132,19 @@
(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.