summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* * Makefile.in (CFILES): Add hashtab.claw1999-10-153-3/+302
| | | | | | | | | (REQUIRED_OFILES): Add hashtab.o (hashtab.o): Add dependencies. * hashtab.c: New file git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30012 138bc75d-0d04-0410-961f-82ee72b054a4
* * basename.c (DIR_SEPARATOR): New macro.law1999-10-132-5/+42
| | | | | | | | | | (DIR_SEPARATOR_2): Likewise. (HAVE_DOS_BASED_FILESYSTEM): Likewise. (IS_DIR_SEPARATOR): Likewise. (main): Handle MSDOS style pathname. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29937 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (do_type): Handle pointer to member types whosemmitchel1999-10-113-1/+23
| | | | | | | enclosing classes have namespace scope. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29901 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.table: Provide a backup shell for executing move-if-change.law1999-10-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29883 138bc75d-0d04-0410-961f-82ee72b054a4
* * xmalloc.c (xmalloc): Fix spelling error.mmitchel1999-10-032-6/+11
| | | | | | | (xcalloc, xrealloc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29779 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (fancy_abort, demangle_integral_value,ghazi1999-10-022-8/+39
| | | | | | | | | | | demangle_arm_hp_template, recursively_demangle, standard_symbol_characters, hp_symbol_characters, main): Add prototype. (program_name, program_version, fatal): Constify a char*. (usage, fatal): Mark with ATTRIBUTE_NORETURN. (main): Call return, not exit. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29776 138bc75d-0d04-0410-961f-82ee72b054a4
* * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtinlaw1999-09-276-8/+51
| | | | | | | | | | | | | or <alloca.h>. * clock.c (GNU_HZ): New definition. (clock): Use it. * getruntime.c: Likewise. * config.table: Use mh-beos. * config/mh-beos: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29680 138bc75d-0d04-0410-961f-82ee72b054a4
* include:ghazi1999-09-252-4/+6
| | | | | | | | | | | | | | | | | | | | * libiberty.h (make_temp_file): Add a prototype. libiberty: * choose-temp.c: Remove obsolete comment about gcc. (make_temp_file): Constify a char*. gcc: * collect2.c (make_temp_file): Don't prototype. * gcc.c (make_temp_file): Likewise. * mips.c (mips_make_temp_file): Renamed from `make_temp_file'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29662 138bc75d-0d04-0410-961f-82ee72b054a4
* * 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