aboutsummaryrefslogtreecommitdiff
path: root/libiberty
AgeCommit message (Collapse)AuthorFilesLines
1999-10-25cplus-dem.c: Move declarations of standard_symbol_characters and ↵Jim Kingdon2-6/+12
hp_symbol_characters inside... * cplus-dem.c: Move declarations of standard_symbol_characters and hp_symbol_characters inside #ifdef MAIN to avoid compiler warnings. From-SVN: r30175
1999-10-23hashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, ↵Zack Weinberg2-1/+45
change it to EMPTY_ENTRY first. 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com> * hashtab.c (find_hash_table_entry): When returning a DELETED_ENTRY slot, change it to EMPTY_ENTRY first. (clear_hash_table_slot): New function which deletes an entry by its position in the table, not its value. (traverse_hash_table): New function which calls a hook function for every live entry in the table. * hashtab.h: Give hash_table_t a struct tag. Add prototypes for clear_hash_table_slot and traverse_hash_table. Correct prototype of all_hash_table_collisions. From-SVN: r30138
1999-10-19cplus-dem.c (INTBUF_SIZE): New macro.Mark Mitchell3-107/+172
* cplus-dem.c (INTBUF_SIZE): New macro. (string_append_template_idx): New function. (demangle_expression): Likewise. (demangle_integral_value): Use it. (demangle_real_value): New function, split out from ... (demangle_template_value_parm): ... here. Use string_append_template_idx. Use demangle_real_value. (demangle_template): Use string_append_template_idx. (demangle_qualified): Use consume_count_with_underscores. (get_count): Tweak formatting. (do_type): Use string_append_template_idx. From-SVN: r30091
1999-10-18* calloc.c: Add a public domain notice.Kaveh R. Ghazi2-0/+7
From-SVN: r30069
1999-10-18* setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.Philippe De Muyter2-0/+6
From-SVN: r30067
1999-10-15Makefile.in (CFILES): Add hashtab.cVladimir Makarov3-3/+302
* Makefile.in (CFILES): Add hashtab.c (REQUIRED_OFILES): Add hashtab.o (hashtab.o): Add dependencies. * hashtab.c: New file From-SVN: r30012
1999-10-13basename.c (DIR_SEPARATOR): New macro.Mumit Khan2-5/+42
* basename.c (DIR_SEPARATOR): New macro. (DIR_SEPARATOR_2): Likewise. (HAVE_DOS_BASED_FILESYSTEM): Likewise. (IS_DIR_SEPARATOR): Likewise. (main): Handle MSDOS style pathname. From-SVN: r29937
1999-10-11cplus-dem.c (do_type): Handle pointer to member types whose enclosing ↵Mark Mitchell3-1/+23
classes have namespace scope. * cplus-dem.c (do_type): Handle pointer to member types whose enclosing classes have namespace scope. From-SVN: r29901
1999-10-10* config.table: Provide a backup shell for executing move-if-change.Marc Espie2-1/+5
From-SVN: r29883
1999-10-03xmalloc.c (xmalloc): Fix spelling error.Mark Mitchell2-6/+11
* xmalloc.c (xmalloc): Fix spelling error. (xcalloc, xrealloc): Likewise. From-SVN: r29779
1999-10-02cplus-dem.c (fancy_abort, [...]): Add prototype.Kaveh R. Ghazi2-8/+39
* cplus-dem.c (fancy_abort, demangle_integral_value, 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. From-SVN: r29776
1999-09-27alloca-conf.h (alloca): Don't use Gcc builtin or <alloca.h>.Richard Henderson6-8/+51
* alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin 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. From-SVN: r29680
1999-09-25libiberty.h (make_temp_file): Add a prototype.Kaveh R. Ghazi2-4/+6
include: * 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'. From-SVN: r29662
1999-09-09* xmemdup.c: Include sys/types.h.Kaveh R. Ghazi2-0/+6
From-SVN: r29218
1999-09-08xmemdup.c: New xmemdup function.Jeff Garzik5-4/+30
* xmemdup.c: New xmemdup function. * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co]. From-SVN: r29199
1999-09-07config.table: Add openedition target.Linas Vepstas3-0/+9
* config.table: Add openedition target. * config/mh-openedition: New file. From-SVN: r29188
1999-09-02* pexecute.c (pexecute): Fill in temp_base when needed.Marc Espie2-0/+6
From-SVN: r29053
1999-08-31* getpwd.c: Check HAVE_GETCWD before defining it away.Richard Henderson2-5/+7
From-SVN: r29013
1999-08-31Makefile.in (CFILES): Add calloc.c and getpwd.c.Kaveh R. Ghazi6-6/+138
* Makefile.in (CFILES): Add calloc.c and getpwd.c. (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. From-SVN: r28996
1999-08-25Warning fixes:Kaveh R. Ghazi2-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'. From-SVN: r28859
1999-08-24* strtoul.c (strtoul): Add parentheses around && within ||.Philippe De Muyter2-1/+5
From-SVN: r28819
1999-08-06Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir ↵Daniel Jacobowitz2-1/+11
and tooldir. * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix, libdir, libsubdir and tooldir. Applied in libchill, libf2c, libiberty and libobjc From-SVN: r28569
1999-08-02* splay-tree.h (splay_tree_insert): Return the new node.Mark Mitchell2-2/+8
From-SVN: r28389
1999-07-26splay-tree.c (splay_tree_insert): Add initialization to avoid warning.Ian Lance Taylor2-2/+7
* splay-tree.c (splay_tree_insert): Add initialization to avoid warning. From-SVN: r28269
1999-07-14argv.c: Include stdlib.h and string.h instead of prototyping directly.Richard Henderson3-6/+11
* argv.c: Include stdlib.h and string.h instead of prototyping directly. * choose-temp.c: Conditionally include string.h. From-SVN: r28099
1999-07-12* Makefile.in (NEEDED): Add bcmp, bcopy, bzero.Jason Merrill2-1/+5
From-SVN: r28071
1999-07-07tweakJason Merrill1-5/+6
From-SVN: r28003
1999-07-07Makefile.in (needed-list): Only include stuff we actually need for libstdc++.Jason Merrill2-6/+18
* Makefile.in (needed-list): Only include stuff we actually need for libstdc++. From-SVN: r27999
1999-06-24Whoops. Revert patch applied to the wrong tre.Jeff Law3-9/+0
From-SVN: r27737
1999-06-24setenv.c (sys/types.h, stdio.h): Files included.Philippe De Muyter3-0/+9
* setenv.c (sys/types.h, stdio.h): Files included. * 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. From-SVN: r27736
1999-06-20configure.in (checkfuncs): Add gettimeofday.Andreas Schwab4-4/+21
* configure.in (checkfuncs): Add gettimeofday. * config.in, configure: Regenerated. From-SVN: r27647
1999-06-20configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails.Mumit Khan2-45/+61
p * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails. * configure: Regenerate. From-SVN: r27642
1999-06-20configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails.Mumit Khan1-0/+6
� * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if the test fails. * configure: Regenerate. From-SVN: r27641
1999-06-10Mike Stump <mrs@wrs.com>Mike Stump2-0/+6
Mike Stump <mrs@wrs.com> * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix parallel builds. From-SVN: r27477
1999-05-28putenv.c: Include ansidecl.h to define `const'.Kaveh R. Ghazi3-1/+10
* putenv.c: Include ansidecl.h to define `const'. * setenv.c: Likewise. From-SVN: r27221
1999-05-26Forgot to commit.Jeff Law1-0/+6
From-SVN: r27172
1999-05-25Makefile.in (CFILES): Add putenv.c and setenv.c.Jeff Law5-73/+302
* Makefile.in (CFILES): Add putenv.c and setenv.c. * configure.in (funcs): Add putenv and setenv. (AC_CHECK_FUNCS): Check for putenv and setenv. * configure: Rebuilt. * putenv.c setenv.c: New files. [[Split portion of a mixed commit.]] From-SVN: r27162.2
1999-05-25getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space ↵Melissa O'Neill1-0/+10
using malloc. P * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc. From-SVN: r27161
1999-05-25getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space ↵Melissa O'Neill1-0/+5
using malloc. � * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE bytes of space using malloc. From-SVN: r27160
1999-05-16cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled ↵Stu Grossman2-6/+14
pointer beyond the end of the string. * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance the *mangled pointer beyond the end of the string. Clean up code to match prevailing coding style. From-SVN: r26959
1999-05-12* tmpnam.c (L_tmpnam): Fix typo.Michael Hayes2-1/+5
From-SVN: r26921
1999-05-12cplus-dem.c (standard_symbol_characters): Renamed from standard_symbol_alphabet.Marc Espie2-26/+24
* cplus-dem.c (standard_symbol_characters): Renamed from 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. From-SVN: r26912
1999-05-11*** empty log message ***Jim Blandy1-0/+6
From-SVN: r26888
1999-05-11cplus-dem.c (main): Use table lookup to distinguish identifier characters ↵Jim Blandy1-5/+80
from non-identifier... * cplus-dem.c (main): Use table lookup to distinguish identifier characters from non-identifier characters. (standard_symbol_alphabet, hp_symbol_alphabet): New functions. From-SVN: r26887
1999-05-06Fred Fish <fnf@be.com>Fred Fish4-4/+11
Fred Fish <fnf@be.com> * 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. From-SVN: r26808
1999-04-25configure.in (alloca detection): Handle alloca directly for interix.Donn Terry3-40/+87
* configure.in (alloca detection): Handle alloca directly for interix. * configure: Rebuilt. From-SVN: r26635
1999-04-24* choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.Mumit Khan2-1/+5
From-SVN: r26619
1999-04-20*** empty log message ***Jim Blandy1-0/+9
From-SVN: r26563
1999-04-20Fix from Dale Hawkins:Jim Blandy1-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. From-SVN: r26562
1999-04-15configure.in (checkfuncs): Check for sbrk.Mumit Khan5-60/+129
* configure.in (checkfuncs): Check for sbrk. * config.in: Rebuilt. * configure: Likewise. * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions. From-SVN: r26480