aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
2003-10-16demangle-expected: Update the expected output of _GLOBAL__I__Z2fnv.H.J. Lu2-1/+6
2003-10-16 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Update the expected output of _GLOBAL__I__Z2fnv. From-SVN: r72552
2003-10-02strerror.c: Revert last change.Daniel Jacobowitz2-8/+7
* strerror.c: Revert last change. Declare static sys_nerr and sys_errlist using different names. From-SVN: r72046
2003-10-01strerror.c: Don't provide or reference sys_errlist if strerror is available.Daniel Jacobowitz2-1/+13
* strerror.c: Don't provide or reference sys_errlist if strerror is available. From-SVN: r72001
2003-10-01configure.in: Check if $MAKEINFO is missing.H.J. Lu3-17/+43
2003-10-01 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Check if $MAKEINFO is missing. * configure: Regenerated. From-SVN: r71983
2003-09-25configure.in: Use AC_PROG_CPP_WERROR.Daniel Jacobowitz3-679/+424
* configure.in: Use AC_PROG_CPP_WERROR. * configure: Regenerated. From-SVN: r71775
2003-09-22floatformat.h (struct floatformat): Add field "is_valid".Andrew Cagney2-46/+98
2003-09-22 Andrew Cagney <cagney@redhat.com> * 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". From-SVN: r71659
2003-09-16Index: include/ChangeLogAndrew Cagney2-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. From-SVN: r71422
2003-09-15floatformat.c (floatformat_is_valid): New function.Daniel Jacobowitz2-3/+41
* floatformat.c (floatformat_is_valid): New function. (get_field, put_field): Correct comments. From-SVN: r71405
2003-09-06fibheap.c (fibheap_replace_key_data): Change type of OKEY to FIBHEAPKEY_T.Josef Zlomek2-1/+6
* fibheap.c (fibheap_replace_key_data): Change type of OKEY to FIBHEAPKEY_T. From-SVN: r71129
2003-09-02ack, wrong date.DJ Delorie1-1/+1
From-SVN: r71010
2003-09-02re PR bootstrap/12100 (time.h:402: error: previous declaration of ↵John David Anglin3-27/+99
`clock'evious declaration of `clock') 2003-08-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> PR bootstrap/12100 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define. * configure: Rebuilt. From-SVN: r71009
2003-08-27aclocal.m4: Include acx.m4 and no-executables.m4.Daniel Jacobowitz4-2069/+5939
* aclocal.m4: Include acx.m4 and no-executables.m4. (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. From-SVN: r70860
2003-08-12* cp-demangle.c: Clarify what package(s) this is part of.Nathanael Nerode2-2/+6
From-SVN: r70361
2003-07-05pex-win32.c (pexecute): Mark parameters this_pname and temp_base as unused.Danny Smith2-6/+14
* pex-win32.c (pexecute): Mark parameters this_pname and temp_base as unused. Remove unused variables retries, sleep_interval. Initialize org_stdin, org_stdout. (pwait): Mark parameter flags as unused. From-SVN: r68953
2003-07-03pex-win32.c (fix_argv): Ensure that the executable pathname uses Win32 ↵Danny Smith2-1/+13
backslashes. 2003-07-02 Danny Smith <dannysmith@users.source.forge.net> * pex-win32.c (fix_argv): Ensure that the executable pathname uses Win32 backslashes. (pexecute): Cast away constness when assigning *errmsg_arg. From-SVN: r68862
2003-06-26demangle-expected: Add more GNU V3 testcases.H.J. Lu2-1/+265
2003-06-26 H.J. Lu <hongjiu.lu@intel.com> * testsuite/demangle-expected: Add more GNU V3 testcases. From-SVN: r68540
2003-06-22safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN...Zack Weinberg5-18/+209
include: * 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. From-SVN: r68335
2003-06-21safe-ctype.h (HC_UNKNOWN, [...]): New #defines.Zack Weinberg2-10/+21
include: * 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. From-SVN: r68317
2003-06-19configure.in: Add check for malloc.h needed by m68k for function free().Dara Hazeghi5-10/+39
* configure.in: Add check for malloc.h needed by m68k for function free(). * configure: Regenerated. * config.in: Add HAVE_MALLOC_H. * hashtab.c: include malloc.h were available for free(). From-SVN: r68213
2003-06-09re PR bootstrap/10974 (Bootstrap failure)Albert Chin-A-Young5-62/+105
PR bootstrap/10974 * physmem.c: Update comment. * configure.in: Modify test for _system_configuration for older AIX systems. * config.in, configure: Regenerated. From-SVN: r67649
2003-06-05re PR other/10810 (gcc-3.3 fails make check: buffer overrun in test_demangle.c)John David Anglin2-1/+6
PR other/10810 * test-demangle.c (getline): Fix fence-post error. From-SVN: r67499
2003-06-03asprintf.c: Change comment to note that -1 is returned upon error.Nick Clifton4-7/+15
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. From-SVN: r67395
2003-05-19* config.table: Accept i[345867]86 variant.Kelley Cook2-2/+6
From-SVN: r66986
2003-05-15hex.c (_hex_value): Make this unsigned.Jim Blandy3-4/+25
libiberty/ChangeLog: 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. From-SVN: r66840
2003-05-07s/burtle/iterativeJason Merrill2-2/+2
From-SVN: r66577
2003-05-07splay-tree.c (splay_tree_predecessor): Fix comment.Josef Zlomek2-2/+7
* splay-tree.c (splay_tree_predecessor): Fix comment. (splay_tree_successor): Fix comment. From-SVN: r66569
2003-05-07hashtab.c (burtle_hash): New fn.Jason Merrill6-85/+379
libiberty/ * 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. From-SVN: r66565
2003-05-04configure.in (AC_CHECK_FUNCS): Don't make multiple calls.Kaveh R. Ghazi3-504/+77
* configure.in (AC_CHECK_FUNCS): Don't make multiple calls. * configure: Regenerate. From-SVN: r66467
2003-05-03cp-demangle.c: Fix typo in "char_traints" string-literal.Carlo Wood2-1/+5
2003-05-03 Carlo Wood <carlo@alinoe.com> * cp-demangle.c: Fix typo in "char_traints" string-literal. From-SVN: r66427
2003-04-22vsnprintf.c (vsnprintf): Don't pad string with extra nulls.Kaveh R. Ghazi2-11/+20
* vsnprintf.c (vsnprintf): Don't pad string with extra nulls. (main): Test that we don't write too much data. From-SVN: r65955
2003-04-16configure.in (funcs, [...]): Add snprintf and vsnprintf.Kaveh R. Ghazi8-86/+349
* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and 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. From-SVN: r65704
2003-04-16Fix typo in last checkin.Kaveh Ghazi1-1/+1
From-SVN: r65676
2003-04-16mempcpy.c, [...]: New files.Kaveh R. Ghazi9-91/+297
* mempcpy.c, stpcpy.c, stpncpy.c: New files. * 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. From-SVN: r65674
2003-04-15argv.c: Fix comments.Kaveh R. Ghazi13-30/+63
* 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. From-SVN: r65659
2003-04-15* maint-tool (deps): Scan for headers in $srcdir also.DJ Delorie2-0/+12
From-SVN: r65653
2003-04-15re PR target/10338 ([3.3 regression?] [Cygwin -> tic4x | avr] cross target ↵Kaveh R. Ghazi3-4/+13
compilation error) gcc: 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. From-SVN: r65634
2003-04-15argv.c: Use ANSI_PROTOTYPES instead of __STDC__.Roger Sayle14-20/+54
* 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. From-SVN: r65619
2003-04-15* strdup.c (strdup): Tweak implementation to use memcpy.Roger Sayle2-5/+20
From-SVN: r65616
2003-04-14configure.in (HAVE_UINTPTR_T): Always define.Kaveh R. Ghazi3-90/+93
* configure.in (HAVE_UINTPTR_T): Always define. * configure: Regenerated. From-SVN: r65574
2003-03-23Makefile.in (MULTIOSDIR): New macro.Alexandre Oliva2-4/+15
* Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS) instead of $$CC alone. (install_to_tooldir): Use it. From-SVN: r64745
2003-03-17ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize.Jan Hubicka2-4/+24
* ggc-common.c (ggc_mark_roots): Use htab_traverse_noresize. * hashtab.h (htab_traverse_noresize): Declare. * hashtab.c (htab_traverse_noresize): Break out from ... * hashtab.c (htab_traverse): ... here. From-SVN: r64496
2003-03-12* hashtab.c (htab_expand): Fix warning.Jan Hubicka2-2/+4
From-SVN: r64249
2003-03-12hashtab.c (htab_expand): Compute the size of hashtable based on the number ↵Jan Hubicka2-3/+22
of elements actually used. * 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. From-SVN: r64246
2003-03-11cplus-dem.c (demangle_integral_value): Correction to reflect patch of ↵Carlo Wood2-23/+32
2002-01-10 in order to also make negative... * cplus-dem.c (demangle_integral_value): Correction to reflect patch of 2002-01-10 in order to also make negative multi-digits without leading underscore work. From-SVN: r64179
2003-03-04* cplus-dem.c: Add license exception to copyright notice.Mark Mitchell2-0/+13
From-SVN: r63760
2003-02-27* physmem.c: Formatting changes from upstream.Kaveh R. Ghazi2-39/+44
From-SVN: r63519
2003-02-27physmem.c (physmem_total): Add _WIN32 support.Danny Smith2-0/+82
2003-02-24 Danny Smith <dannysmith@users.source.forge.net> * physmem.c (physmem_total): Add _WIN32 support. (physmem_available): Likewise. From-SVN: r63504
2003-02-24physmem.c (physmem_total): Test for GSI_PHYSMEM.Rainer Orth2-2/+8
* physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for GSI_PHYSMEM. (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS. From-SVN: r63373
2003-02-22configure.in: Check for sys/systemcfg.h and _system_configuration.Kaveh R. Ghazi5-64/+91
* configure.in: Check for sys/systemcfg.h and _system_configuration. * physmem.c: Add support for AIX. Tweek formatting as per upstream coreutils beta. From-SVN: r63287
2003-02-22configure.in: Check for sys/sysctl.h and sysctl.Kaveh R. Ghazi6-6/+55
* configure.in: Check for sys/sysctl.h and sysctl. * physmem.c: Add support for *bsd and darwin. * Makefile.in: Generate depedency for physmem.o. Co-Authored-By: Geoffrey Keating <geoffk@apple.com> Co-Authored-By: Richard Earnshaw <rearnsha@arm.com> From-SVN: r63285