summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* * xmemdup.c: Include sys/types.h.ghazi1999-09-092-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29218 138bc75d-0d04-0410-961f-82ee72b054a4
* * xmemdup.c: New xmemdup function.law1999-09-085-4/+30
| | | | | | | * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29199 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.table: Add openedition target.rth1999-09-083-0/+9
| | | | | | | * config/mh-openedition: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29188 138bc75d-0d04-0410-961f-82ee72b054a4
* * pexecute.c (pexecute): Fill in temp_base when needed.law1999-09-022-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29053 138bc75d-0d04-0410-961f-82ee72b054a4
* * getpwd.c: Check HAVE_GETCWD before defining it away.rth1999-08-312-5/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29013 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CFILES): Add calloc.c and getpwd.c.ghazi1999-08-316-6/+138
| | | | | | | | | | | | | (REQUIRED_OFILES): Add getpwd.o. (getpwd.o): Add target. * configure.in (AC_PREREQ): Bump to 2.13. (AC_CHECK_HEADERS): Add check for <sys/stat.h>. * getpwd.c: New file, moved here from gcc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28996 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi1999-08-252-5/+15
| | | | | | | | | | | | | * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when comparing against a signed quantity. (arm_special): Likewise. (demangle_fund_type): Likewise. (do_hpacc_template_const_value): Mark parameter `work' with ATTRIBUTE_UNUSED. (main): Constify variable `valid_symbols'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28859 138bc75d-0d04-0410-961f-82ee72b054a4
* * strtoul.c (strtoul): Add parentheses around && within ||.law1999-08-242-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28819 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,law1999-08-072-1/+11
| | | | | | | | libdir, libsubdir and tooldir. Applied in libchill, libf2c, libiberty and libobjc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28569 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.h (splay_tree_insert): Return the new node.mmitchel1999-08-022-2/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28389 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.c (splay_tree_insert): Add initialization to avoidlaw1999-07-262-2/+7
| | | | | | | warning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28269 138bc75d-0d04-0410-961f-82ee72b054a4
* * argv.c: Include stdlib.h and string.h instead ofrth1999-07-143-6/+11
| | | | | | | | prototyping directly. * choose-temp.c: Conditionally include string.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28099 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.jason1999-07-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28071 138bc75d-0d04-0410-961f-82ee72b054a4
* tweakjason1999-07-081-5/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28003 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (needed-list): Only include stuff we actually needjason1999-07-072-6/+18
| | | | | | | for libstdc++. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27999 138bc75d-0d04-0410-961f-82ee72b054a4
* Whoops. Revert patch applied to the wrong tre.law1999-06-243-9/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27737 138bc75d-0d04-0410-961f-82ee72b054a4
* * setenv.c (sys/types.h, stdio.h): Files included.law1999-06-243-0/+9
| | | | | | | | | * xstrdup.c (sys/types.h): File included. For the gcc-2.95 branch only. Not to be migrated into the mainline tree because it is incomplete. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27736 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (checkfuncs): Add gettimeofday.law1999-06-214-4/+21
| | | | | | | * config.in, configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27647 138bc75d-0d04-0410-961f-82ee72b054a4
* plaw1999-06-212-45/+61
| | | | | | | | | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27642 138bc75d-0d04-0410-961f-82ee72b054a4
* law1999-06-211-0/+6
| | | | | | | | | * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27641 138bc75d-0d04-0410-961f-82ee72b054a4
* Mike Stump <mrs@wrs.com>rth1999-06-102-0/+6
| | | | | | | | * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix parallel builds. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27477 138bc75d-0d04-0410-961f-82ee72b054a4
* * putenv.c: Include ansidecl.h to define `const'.ghazi1999-05-283-1/+10
| | | | | | | * setenv.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27221 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot to commit.law1999-05-261-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27172 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CFILES): Add putenv.c and setenv.c.law1999-05-265-73/+302
| | | | | | | | | | * configure.in (funcs): Add putenv and setenv. (AC_CHECK_FUNCS): Check for putenv and setenv. * configure: Rebuilt. * putenv.c setenv.c: New files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27162 138bc75d-0d04-0410-961f-82ee72b054a4
* Plaw1999-05-261-0/+10
| | | | | | | | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27161 138bc75d-0d04-0410-961f-82ee72b054a4
* law1999-05-261-0/+5
| | | | | | | | * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27160 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advancelaw1999-05-172-6/+14
| | | | | | | | the *mangled pointer beyond the end of the string. Clean up code to match prevailing coding style. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26959 138bc75d-0d04-0410-961f-82ee72b054a4
* * tmpnam.c (L_tmpnam): Fix typo.law1999-05-132-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26921 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (standard_symbol_characters): Renamed fromlaw1999-05-132-26/+24
| | | | | | | | | | | standard_symbol_alphabet. No longer modify TABLE. (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer modify TABLE. (main): Corresponding changes. Use strchr to determine if a character is valid. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26912 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***jimb1999-05-111-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26888 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (main): Use table lookup to distinguish identifierjimb1999-05-111-5/+80
| | | | | | | | characters from non-identifier characters. (standard_symbol_alphabet, hp_symbol_alphabet): New functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26887 138bc75d-0d04-0410-961f-82ee72b054a4
* Fred Fish <fnf@be.com>rth1999-05-064-4/+11
| | | | | | | | | | * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list. * getruntime.c: Only attempt to include sys/resource.h and use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H are defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26808 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (alloca detection): Handle alloca directly for interix.law1999-04-263-40/+87
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26635 138bc75d-0d04-0410-961f-82ee72b054a4
* * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.law1999-04-252-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26619 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***jimb1999-04-201-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26563 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix from Dale Hawkins:jimb1999-04-201-1/+10
| | | | | | | | | | * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be reallocated properly if we use it again. * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be stricter about syntax. Always null-terminate string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26562 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (checkfuncs): Check for sbrk.law1999-04-155-60/+129
| | | | | | | | | * config.in: Rebuilt. * configure: Likewise. * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26480 138bc75d-0d04-0410-961f-82ee72b054a4
* *** empty log message ***jimb1999-04-121-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26374 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix from Marcus Daniels:jimb1999-04-121-1/+1
| | | | | | | | * cplus-dem.c (demangle_fund_type): Don't run off the end of the identifier looking for another underscore. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26373 138bc75d-0d04-0410-961f-82ee72b054a4
* * pexecute.c: Change all references to __UWIN__ to _UWIN.law1999-04-113-15/+22
| | | | | | | | | * xmalloc.c: Likewise. (xcalloc): UWIN has sbrk. (xrealloc): Fix guard macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26352 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (demangle_template_value_parm): Handlemmitchel1999-04-113-31/+55
| | | | | | | | pointers-to-members. (do_type): Handle template parameters as qualifiers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26350 138bc75d-0d04-0410-961f-82ee72b054a4
* Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>law1999-04-091-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26322 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>tromey1999-04-092-42/+125
| | | | | | | | | | | | * cplus-dem.c: Attempt to handle overflows in counts with some semblance of grace. (consume_count): Detect overflows. Return -1 to indicate errors, instead of zero. (demangle_template_value_parm, demangle_template): Handle change to consume_count's return convention. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26309 138bc75d-0d04-0410-961f-82ee72b054a4
* Changes from official libiberty sources.law1999-04-073-16/+86
| | | | | | | | | * Missing ChangeLog entries. * Some java demangling stuff * More cygwin32->cygwin related changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26236 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/regress-demangle: New file.tromey1999-04-057-58/+2677
| | | | | | | | | | | | | | | | | | * testsuite/demangle-expected: New file. * Makefile.in (all, check, installcheck, info, install-info, clean-info, dvi, install, etags, tags, mostlyclean, clean, distclean, maintainer-clean, realclean): Depend on corresponding `-subdir' target. (all-subdir check-subdir installcheck-subdir info-subdir install-info-subdir clean-info-subdir dvi-subdir install-info-subdir etags-subdir mostlyclean-subdir clean-subdir distclean-subdir maintainer-clean-subdir): New target. * testsuite/Makefile.in: New file. * configure: Rebuilt. * configure.in: Create testsuite/Makefile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26205 138bc75d-0d04-0410-961f-82ee72b054a4
* 1999-04-02 Mark Mitchell <mark@codesourcery.com>mmitchel1999-04-022-0/+19
| | | | | | | | | * splay-tree.h (splay_tree_compare_pointers): Declare. 1999-04-02 Mark Mitchell <mark@codesourcery.com> * splay-tree.h (splay_tree_compare_pointers): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26132 138bc75d-0d04-0410-961f-82ee72b054a4
* * alias.c (alias_set_compare): Remove.mmitchel1999-03-302-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (record_alias_subset): Use splay_tree_compare_ints instaed of alias_set_compare. (init_alias_once): Likewise. * cse.c: Include splay-tree.h. (reg_qty): Remove. (reg_tick): Likewise. (reg_table): Likewise. (cse_reg_info): New structure. (cse_reg_info_free_list): New variable. (cse_reg_info_tree): Likewise. (cached_regno): Likewise. (cached_cse_reg_info): Likewise. (all_minus_one): Remove. (consec_ints): Likewise. (GET_CSE_REG_INFO): New macro. (REG_TICK): Likewise. Use throughout instead of reg_tick. (REG_IN_TABLE): Likewise. Use throughout instead of reg_in_table. (REG_QTY): Likewise. Use throughout instead of reg_qty. (get_cse_reg_info): New function. (free_cse_reg_info): Likewise. (new_basic_block): Reinitialize cse_reg_info_tree instead of reg_tick, all_minus_one, and consec_ints. * Makefile.in (cse.o): Depend on splay-tree.h * splay-tree.h (splay_tree_compare_ints): Declare. * splay-tree.c (splay_tree_compare_ints): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26069 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (consume_count): If `count' wraps, return 0 andtromey1999-03-302-2/+20
| | | | | | | | | | don't advance input pointer. (demangle_class_name): If consume_count didn't find a count, do nothing. Don't bother with `strlen' sanity check; consume_count does it for us. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26068 138bc75d-0d04-0410-961f-82ee72b054a4
* * pexecute.c (__CYGWIN32__): Rename tolaw1999-03-115-62/+91
| | | | | | | | | | | | | | | | (__CYGWIN__): this. * xmalloc.c: Likewise. Changes to support i386-pc-uwin. * configure.in (*-*-uwin*): Workaround for vfork bug. * configure: Regenerate. * pexecute.c (pexecute): Be like standard Unix. (pwait): Likewise. * xmalloc.c (first_break): Define. (xmalloc_set_program_name): Use. (xmalloc): Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25694 138bc75d-0d04-0410-961f-82ee72b054a4
* Hlaw1999-03-111-4/+8
| | | | | | | * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25689 138bc75d-0d04-0410-961f-82ee72b054a4