summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* * strerror.c: Revert last change. Declare static sys_nerrdrow2003-10-022-8/+7
| | | | | | | and sys_errlist using different names. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72046 138bc75d-0d04-0410-961f-82ee72b054a4
* * strerror.c: Don't provide or reference sys_errlist ifdrow2003-10-012-1/+13
| | | | | | | strerror is available. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72001 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-10-01 H.J. Lu <hongjiu.lu@intel.com>hjl2003-10-013-17/+43
| | | | | | | | * configure.in: Check if $MAKEINFO is missing. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71983 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Use AC_PROG_CPP_WERROR.drow2003-09-253-679/+424
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71775 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-09-22 Andrew Cagney <cagney@redhat.com>cagney2003-09-222-46/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * floatformat.h (struct floatformat): Add field "is_valid". 2003-09-22 Andrew Cagney <cagney@redhat.com> * floatformat.c (floatformat_i387_ext_is_valid): New function. (floatformat_always_valid): New function. (floatformat_i387_ext): Initialize new "is_valid" field to "floatformat_i387_ext_is_valid". (floatformat_ieee_single_little): Initialize "is_valid" field to floatformat_always_valid. (floatformat_ieee_double_big): Ditto. (floatformat_ieee_double_little): Ditto. (floatformat_ieee_double_little): Ditto. (floatformat_ieee_double_littlebyte_bigword): Ditto. (floatformat_i960_ext): Ditto. (floatformat_m88110_ext): Ditto. (floatformat_m88110_harris_ext): Ditto. (floatformat_arm_ext_big): Ditto. (floatformat_arm_ext_littlebyte_bigword): Ditto. (floatformat_ia64_spill_big): Ditto. (floatformat_ia64_spill_little): Ditto. (floatformat_ia64_quad_big): Ditto. (floatformat_ia64_quad_little): Ditto. (floatformat_ia64_quad_little): Ditto. (floatformat_is_valid): Call "is_valid". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71659 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: include/ChangeLogcagney2003-09-162-7/+14
| | | | | | | | | | | | | | | | | | 2003-09-15 Andrew Cagney <cagney@redhat.com> * floatformat.h (floatformat_to_double): Make input buffer constant. (floatformat_from_double, floatformat_is_valid): Ditto. Index: libiberty/ChangeLog 2003-09-15 Andrew Cagney <cagney@redhat.com> * floatformat.c (get_field): Make "data" constant. (floatformat_is_valid, floatformat_to_double): Make "from" constant, fix casts. (floatformat_from_double): Make "from" constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71422 138bc75d-0d04-0410-961f-82ee72b054a4
* * floatformat.c (floatformat_is_valid): New function.drow2003-09-152-3/+41
| | | | | | | (get_field, put_field): Correct comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71405 138bc75d-0d04-0410-961f-82ee72b054a4
* * fibheap.c (fibheap_replace_key_data): Change type of OKEY tozlomek2003-09-062-1/+6
| | | | | | | FIBHEAPKEY_T. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71129 138bc75d-0d04-0410-961f-82ee72b054a4
* ack, wrong date.dj2003-09-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71010 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-08-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>dj2003-09-023-27/+99
| | | | | | | | | PR bootstrap/12100 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71009 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Include acx.m4 and no-executables.m4.drow2003-08-274-2069/+5939
| | | | | | | | | | | | | (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ. (LIB_AC_PROG_CC): Remove. * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES. Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if performing link tests. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70860 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c: Clarify what package(s) this is part of.neroden2003-08-122-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70361 138bc75d-0d04-0410-961f-82ee72b054a4
* * pex-win32.c (pexecute): Mark parameters this_pname anddannysmith2003-07-052-6/+14
| | | | | | | | | temp_base as unused. Remove unused variables retries, sleep_interval. Initialize org_stdin, org_stdout. (pwait): Mark parameter flags as unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68953 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-07-02 Danny Smith <dannysmith@users.source.forge.net>zack2003-07-032-1/+13
| | | | | | | | | * pex-win32.c (fix_argv): Ensure that the executable pathname uses Win32 backslashes. (pexecute): Cast away constness when assigning *errmsg_arg. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68862 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>hjl2003-06-262-1/+265
| | | | | | | * testsuite/demangle-expected: Add more GNU V3 testcases. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68540 138bc75d-0d04-0410-961f-82ee72b054a4
* include:zack2003-06-225-18/+209
| | | | | | | | | | | | | | | | | | * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC respectively. libiberty: * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. Add documentation in form expected by gather-docs. * hex.c: Use HOST_CHARSET, not hand-coded check of character set. * Makefile.in, functions.texi: Regenerate. gcc: * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68335 138bc75d-0d04-0410-961f-82ee72b054a4
* include:zack2003-06-212-10/+21
| | | | | | | | | | | | | | | | | | * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC, HOST_CHARSET): New #defines. libiberty: * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET for charset determination. gcc: * aclocal.m4 (gcc_AC_C_CHARSET): Delete. * configure.in: Don't use gcc_AC_C_CHARSET. * configure, config.in: Regenerate. * config/i370/i370.c, config/i370/i370.h: Use (HOST_CHARSET == HC_EBCDIC) or (HOST_CHARSET == HC_ASCII) instead of HOST_EBCDIC or !HOST_EBCDIC. Clarify comments a tad. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68317 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add check for malloc.h needed bydj2003-06-195-10/+39
| | | | | | | | | | | m68k for function free(). * configure: Regenerated. * config.in: Add HAVE_MALLOC_H. * hashtab.c: include malloc.h were available for free(). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68213 138bc75d-0d04-0410-961f-82ee72b054a4
* PR bootstrap/10974ghazi2003-06-095-62/+105
| | | | | | | | | | | * physmem.c: Update comment. * configure.in: Modify test for _system_configuration for older AIX systems. * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67649 138bc75d-0d04-0410-961f-82ee72b054a4
* PR other/10810danglin2003-06-052-1/+6
| | | | | | | * test-demangle.c (getline): Fix fence-post error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67499 138bc75d-0d04-0410-961f-82ee72b054a4
* asprintf.c: Change comment to note that -1 is returned upon error.nickc2003-06-034-7/+15
| | | | | | | | vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@67395 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.table: Accept i[345867]86 variant.dj2003-05-202-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66986 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty/ChangeLog:jimb2003-05-153-4/+25
| | | | | | | | | | | | | | | | | | | | | | 2003-05-14 Jim Blandy <jimb@redhat.com> * hex.c (_hex_value): Make this unsigned. (hex_value): Update documentation for new return type. hex_value now expands to an unsigned int expression, to avoid unexpected sign extension when we store it in a bfd_vma, which is larger than int on some platforms. * functions.texi: Regenerated. include/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * libiberty.h (hex_value): Make the value an unsigned int, to avoid unexpected sign-extension when cast to unsigned types larger than int --- like bfd_vma, on some platforms. (_hex_value): Update declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66840 138bc75d-0d04-0410-961f-82ee72b054a4
* s/burtle/iterativejason2003-05-072-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66577 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.c (splay_tree_predecessor): Fix comment.zlomek2003-05-072-2/+7
| | | | | | | (splay_tree_successor): Fix comment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66569 138bc75d-0d04-0410-961f-82ee72b054a4
* libiberty/jason2003-05-076-85/+379
| | | | | | | | | | | | | * hashtab.c (burtle_hash): New fn. * configure.in: Add AC_C_BIGENDIAN_CROSS. * aclocal.m4: Include accross.m4. * configure, config.in: Regenerate. include/ * hashtab.h (burtle_hash): Prototype. (burtle_hash_object): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66565 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.ghazi2003-05-043-504/+77
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66467 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-05-03 Carlo Wood <carlo@alinoe.com>bkoz2003-05-032-1/+5
| | | | | | | * cp-demangle.c: Fix typo in "char_traints" string-literal. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66427 138bc75d-0d04-0410-961f-82ee72b054a4
* * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.ghazi2003-04-222-11/+20
| | | | | | | (main): Test that we don't write too much data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65955 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf andghazi2003-04-168-86/+349
| | | | | | | | | | | | | vsnprintf. * snprintf.c, vsnprintf.c: New files. * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c. (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o. Regenerate dependencies. * functions.texi, configure, config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65704 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in last checkin.ghazi2003-04-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65676 138bc75d-0d04-0410-961f-82ee72b054a4
* * mempcpy.c, stpcpy.c, stpncpy.c: New files.ghazi2003-04-169-91/+297
| | | | | | | | | | | | | * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy and stpncpy. * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c. (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o. Regenerate dependencies. * functions.texi, configure, config.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65674 138bc75d-0d04-0410-961f-82ee72b054a4
* * argv.c: Fix comments.ghazi2003-04-1513-30/+63
| | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65659 138bc75d-0d04-0410-961f-82ee72b054a4
* * maint-tool (deps): Scan for headers in $srcdir also.dj2003-04-152-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65653 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:ghazi2003-04-153-4/+13
| | | | | | | | | | | | | | | | | | PR target/10338 PR bootstrap/10198 PR bootstrap/10140 * fixinc/gnu-regex.c (regerror): Use mempcpy not __mempcpy. libiberty: PR target/10338 PR bootstrap/10198 PR bootstrap/10140 * getopt.c (exchange, _getopt_initialize): Use mempcpy not __mempcpy. * regex.c (regerror): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65634 138bc75d-0d04-0410-961f-82ee72b054a4
* * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.sayle2003-04-1514-20/+54
| | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65619 138bc75d-0d04-0410-961f-82ee72b054a4
* * strdup.c (strdup): Tweak implementation to use memcpy.sayle2003-04-152-5/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65616 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_UINTPTR_T): Always define.ghazi2003-04-143-90/+93
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65574 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)aoliva2003-03-232-4/+15
| | | | | | | | instead of $$CC alone. (install_to_tooldir): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64745 138bc75d-0d04-0410-961f-82ee72b054a4
* * ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.hubicka2003-03-172-4/+24
| | | | | | | | | | * hashtab.h (htab_traverse_noresize): Declare. * hashtab.c (htab_traverse_noresize): Break out from ... * hashtab.c (htab_traverse): ... here. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64496 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.c (htab_expand): Fix warning.hubicka2003-03-122-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64249 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.c (htab_expand): Compute the size of hashtable basedhubicka2003-03-122-3/+22
| | | | | | | | on the number of elements actually used. (htab_traverse): Call htab_expand when table is too empty. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64246 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (demangle_integral_value): Correction to reflectdj2003-03-112-23/+32
| | | | | | | | patch of 2002-01-10 in order to also make negative multi-digits without leading underscore work. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64179 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c: Add license exception to copyright notice.mmitchel2003-03-042-0/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63760 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c: Formatting changes from upstream.ghazi2003-02-272-39/+44
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63519 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>ghazi2003-02-272-0/+82
| | | | | | | | * physmem.c (physmem_total): Add _WIN32 support. (physmem_available): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63504 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test forro2003-02-242-2/+8
| | | | | | | | GSI_PHYSMEM. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63373 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/systemcfg.h andghazi2003-02-225-64/+91
| | | | | | | | | _system_configuration. * physmem.c: Add support for AIX. Tweek formatting as per upstream coreutils beta. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63287 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for sys/sysctl.h and sysctl.ghazi2003-02-226-6/+55
| | | | | | | | * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63285 138bc75d-0d04-0410-961f-82ee72b054a4
* * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo onro2003-02-215-82/+150
| | | | | | | | | | | | | | Tru64 UNIX. (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on Tru64 UNIX. * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h, machine/hal_sysinfo.h, sys/table.h. (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table. * configure, config.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63241 138bc75d-0d04-0410-961f-82ee72b054a4