summaryrefslogtreecommitdiff
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* * cp-demangle.c (demangle_identifier): Support extended Unicodejason2002-07-093-1/+48
| | | | | | | characters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55354 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (demangle_v3_with_details): Wrap inghazi2002-07-092-1/+6
| | | | | | | !defined IN_GLIBCPP_V3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55335 138bc75d-0d04-0410-961f-82ee72b054a4
* PR c++/7112mmitchel2002-07-022-7/+36
| | | | | | | | | | | | | | | | * g++.dg/template/sizeof2.C: New test. PR c++/7112 * mangle.c (write_expression): Add mangling for sizeof when applied to a type. * operators.def: Remove stale comment. * cp-demangle.c (demangle_operator_name): Add type_arg parameter. Set it for the "st" operator. (demangle_expression): Handle expressions with types as arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55169 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-30 Douglas Rupp <rupp@gnat.com>rupp2002-07-014-141/+224
| | | | | | | | * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. * Makefile.in (OUTPUT_OPTION): Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55127 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (install_to_libdir): Add $(DESTDIR).amodra2002-06-222-8/+13
| | | | | | | (install_to_tooldir): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54906 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-06-17 Douglas Rupp <rupp@gnat.com>rupp2002-06-182-12/+9
| | | | | | | | * lbasename.c: Add 2002 to copyright. (IS_DIR_SEPARATOR): Remove VMS junk. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54729 138bc75d-0d04-0410-961f-82ee72b054a4
* Index: include/ChangeLoggeoffk2002-06-062-0/+29
| | | | | | | | | | | | | | * hashtab.h (htab_create): Restore prototype for backward compatibility. (htab_try_create): Likewise. Index: libiberty/ChangeLog * hashtab.c (htab_create): New stub function for backward compatibility. (htab_try_create): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54300 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge from pch-branch up to tag pch-commit-20020603.geoffk2002-06-042-45/+30
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54232 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Fix typo in the code checking for sys_errlist.dj2002-05-223-2/+7
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53747 138bc75d-0d04-0410-961f-82ee72b054a4
* * config.table: Use mh-x86pic also for x86-64.schwab2002-05-132-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53426 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD ataoliva2002-05-083-142/+160
| | | | | | | | script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53278 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_TYPE_PID_T): Use it.mmitchel2002-05-075-110/+143
| | | | | | | | | * configure: Regenerated. * getruntime.c: Include <sys/types.h>. * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53264 138bc75d-0d04-0410-961f-82ee72b054a4
* * hashtab.c (higher_prime_number): Use 7 as minimum.rth2002-04-102-32/+52
| | | | | | | | (find_empty_slot_for_expand): Don't compute hash2 unless needed. (htab_find_slot_with_hash): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52099 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-01 Phil Edwards <pme@gcc.gnu.org>pme2002-04-013-4/+13
| | | | | | | | | | * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3. (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally not compile if IN_GLIBCPP_V3 defined. * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51708 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"bryce2002-03-302-1/+10
| | | | | | | if it is NULL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51594 138bc75d-0d04-0410-961f-82ee72b054a4
* * hex.c: Add documentation.dj2002-03-283-6/+110
| | | | | | | | | (_hex_value): Provide non-ASCII empty table. (hex_init): Initialize the non-ASCII table. * functions.texi: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51496 138bc75d-0d04-0410-961f-82ee72b054a4
* * dyn-string.c: Add libgcc exception to copyright notice.mmitchel2002-03-272-1/+14
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51461 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-26 H.J. Lu (hjl@gnu.org)hjl2002-03-264-39/+57
| | | | | | | | | * config.table: Support --with-build-subdir. * configure.in: Likewise. * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51416 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>tromey2002-03-182-2/+7
| | | | | | | | * strtod.c (strtod): Increment 8 chars, not 7, when `infinity' seen. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50994 138bc75d-0d04-0410-961f-82ee72b054a4
* * cp-demangle.c: Add libgcc exception to cp-demangle.c copyrightmmitchel2002-03-122-1/+15
| | | | | | | notice. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50679 138bc75d-0d04-0410-961f-82ee72b054a4
* * xatexit.c [VMS]: Include stdlib.h and unixlib.h.kenner2002-03-112-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50575 138bc75d-0d04-0410-961f-82ee72b054a4
* * splay-tree.c (splay_tree_xmalloc_allocate,jimb2002-03-072-2/+12
| | | | | | | | splay_tree_xmalloc_deallocate): Use K&R-style definitions, not prototyped definitions. Mark `data' arguments as unused. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50384 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove floatformat_arm_ext.cagney2002-03-062-7/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50345 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-04 Phil Edwards <pme@gcc.gnu.org>pme2002-03-044-143/+229
| | | | | | | | | | * configure.in: Add --enable-install-libiberty option. * Makefile.in (INSTALLED_HEADERS): New variable. (install_to_libdir): Possibly also copy headers. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50288 138bc75d-0d04-0410-961f-82ee72b054a4
* * xmalloc.c (xmalloc_fail): Clarify error message further.neil2002-03-042-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50287 138bc75d-0d04-0410-961f-82ee72b054a4
* * xmalloc.c (xmalloc_fail): Clarify error message.neil2002-03-032-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50265 138bc75d-0d04-0410-961f-82ee72b054a4
* include:jimb2002-02-222-6/+59
| | | | | | | | | | | | | | | | | | | | | | | Allow the user to specify functions for allocating memory for splay tree roots and nodes. * splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn): New types. (splay_tree): New fields: `allocate', `deallocate', and `allocate_data'. (splay_tree_new_with_allocator): New function declaration. libiberty: * splay-tree.c (splay_tree_xmalloc_allocate, splay_tree_xmalloc_deallocate): New functions. (splay_tree_new): Call splay_tree_new_with_allocator, passing the above functions and a dummy data pointer. (splay_tree_new_with_allocator): New function. (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert, splay_tree_remove): Use the splay tree's allocation and deallocation functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49968 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/demangle-expected: Add test case for infinite loop indj2002-02-193-2/+23
| | | | | | | | | | demangler. * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle if do_type() doesn't make any progress --- prevents an infinite loop. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49875 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-18 Carlo Wood <carlo@gnu.org>rodrigc2002-02-183-11/+33
| | | | | | | | | | | | | | PR c++/5390 * cplus-dem.c (demangle_integral_value): Accept multi-digit numbers that do not start with an underscore; This is needed for integer template parameters. This doesn't break anything because multi-digit numbers are never followed by a digit. * testsuite/demangle-expected: Corrected all mangled test cases with multi-digit template parameters: g++ 2.95.x does not generate underscores around these parameters. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49851 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h (cplus_demangle_v3): Add "options" parm.jason2002-02-053-25/+18
| | | | | | | | | | | | | | | | | | (cplus_demangle_v3_type): Remove prototype. (DMGL_VERBOSE): New macro. (DMGL_TYPES): New macro. * cplus-dem.c (flags): Add DMGL_VERBOSE (cplus_demangle_v3_p): Remove. (demangle_it): Add DMGL_TYPES to passed flags. * cp-demangle.c (cplus_demangle_v3_all): Remove. (cplus_demangle_v3_type): Remove. (cplus_demangle_v3): Add options parm. * collect2.c (dump_file): Pass DMGL_VERBOSE to cplus_demangle. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49525 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-02 H.J. Lu (hjl@gnu.org)hjl2002-02-034-9/+57
| | | | | | | | | | | | | | | | | | | | | * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. (cplus_demangle_v3_all): New. (cplus_demangle_v3): Call cplus_demangle_v3_all. (cplus_demangle_v3_type): Call cplus_demangle_v3_all. * cplus-dem.c (cplus_demangle_v3_p): New function pointer. Initialized to cplus_demangle_v3. (cplus_demangle_with_style): Call cplus_demangle_v3_p instead of cplus_demangle_v3. (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for command line symbol. * testsuite/regress-demangle: Pass the mangled name at the command line. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49456 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-02-01 H.J. Lu <hjl@gnu.org>hjl2002-02-012-1/+6
| | | | | | | | * cp-demangle.c (cp_demangle_type): Call demangling_new with DMGL_GNU_V3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49409 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-31 Phil Edwards <pme@gcc.gnu.org>pme2002-02-012-8/+13
| | | | | | | * cp-demangle.c: Revert yesterday's change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49386 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/libiberty/configure.in: Treat mingw the same as cywindj2002-01-313-2/+7
| | | | | | | wrt HAVE_SYS_ERRLIST. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49371 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-01-30 Phil Edwards <pme@gcc.gnu.org>pme2002-01-313-9/+19
| | | | | | | | | | * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2. (cplus_demangle_v3): Mimic __cxa_demangle and fall back on cp_demangle_type. * testsuite/demangle-expected: New gnu-v3 test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49353 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (variable detection): Use arrays of unspecifiedrth2002-01-223-2/+7
| | | | | | | size instead of plain integers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49103 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (TESTLIB): New. This library is for futuredj2002-01-2210-99/+396
| | | | | | | | | | | | | | | | | | | | | testsuites. (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize, break down by letter. (REQUIRED_OFILES): List long-to-compile files first. (maint-deps): New, target for updating dependencies. (dependencies): Update. * maint-tool: Add dependency-generating option. * configure.in: Check for _doprnt even if we're not providing it. * configure: Regenerate. * _doprnt.c: Modifications to allow compiling on any platform. * copysign.c: Likewise. * putenv.c: Likewise. * setenv.c: Likewise. * vsprintf.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49090 138bc75d-0d04-0410-961f-82ee72b054a4
* * libiberty/mkstemps.c (mkstemps): On VMS, open temp file with optionkenner2002-01-152-0/+9
| | | | | | | | that causes it to be deleted when closed. * gcc/gcc.c (delete_if_ordinary): Backout previous change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48872 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc.c (default_compilers): Const-ify.ghazi2002-01-023-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | * mips-tdump.c (stab_names): Likewise. * mips-tfile.c (map_coff_types, map_coff_storage, map_coff_sym_type, map_coff_derived_type, stabs_symbol, pseudo_ops_t, pseudo_ops): Likewise. * protoize.c (default_include): Likewise f: * com.c (clear_binding_level): Const-ify. (ffecom_arglist_expr_): Likewise. * info.c (ffeinfo_types_): Don't needlessly zero init. * lex.c (ffelex_hash_kludge): Const-ify. java: * parse.y (src_parse_roots): Don't needlessly zero init. libiberty: * cp-demangle.c (long_options): Const-ify. * cplus-dem.c (long_options): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48485 138bc75d-0d04-0410-961f-82ee72b054a4
* * cplus-dem.c (mystrstr): Delete. All callers changed to useghazi2002-01-022-27/+13
| | | | | | | strstr instead. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48476 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (uintptr_t): Use AC_CHECK_TYPE.kenner2002-01-011-0/+5
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48442 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.dj2001-12-313-1/+12
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48436 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (uintptr_t): Use AC_CHECK_TYPE.kenner2001-12-242-190/+198
| | | | | | | * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48306 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2001-12-123-0/+13
| | | | | | | | | PR other/2719 * cplus-dem.c (consume_count): Treat negative count as an error. * testsuite/demangle-expected: Added testcase. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47952 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcc/configure.in: Hardcode that vfork works on VMS host.kenner2001-12-113-54/+73
| | | | | | | | | * gcc/configure: Regenerated. * libiberty/configure.in: Hardcode that vfork works on VMS host. * libiberty/configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47869 138bc75d-0d04-0410-961f-82ee72b054a4
* * demangle.h (no_demangling): New.rth2001-12-062-0/+15
| | | | | | | | | | (NO_DEMANGLING_STYLE_STRING): New. * cplus-dem.c (libiberty_demanglers): Add no_demangling case. (cplus_demangle): Support no_demangling. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47733 138bc75d-0d04-0410-961f-82ee72b054a4
* top level:zack2001-11-285-47/+414
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-11-27 DJ Delorie <dj@redhat.com> Zack Weinberg <zack@codesourcery.com> When build != host, create libiberty for the build machine. * Makefile.in (TARGET_CONFIGARGS, BUILD_CONFIGARGS): Replace CONFIG_ARGUMENTS. (ALL_BUILD_MODULES_LIST, BUILD_CONFIGDIRS, BUILD_SUBDIR): New variables. (ALL_BUILD_MODULES, CONFIGURE_BUILD_MODULES): New variables and rules. (all.normal): Depend on ALL_BUILD_MODULES. (CONFIGURE_TARGET_MODULES rule): Use TARGET_CONFIGARGS. (all-build-libiberty): Depend on configure-build-libiberty. * configure: Calculate and substitute proper value for ALL_BUILD_MODULES. * configure.in: Create the build subdirectory. Calculate and substitute TARGET_CONFIGARGS (formerly CONFIG_ARGUMENTS); also BUILD_SUBDIR and BUILD_CONFIGARGS (new). libiberty: 2001-11-27 Zack Weinberg <zack@codesourcery.com> * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build in libiberty context. Fix typo in leading comment. * configure.in: Fix various AC_DEFINEs so autoheader works. If any of vprintf, vsprintf, vfprintf is missing from libc, then AC_REPLACE_FUNCS(_doprnt). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47393 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (stamp-h): Depend on Makefile for properdj2001-11-262-2/+14
| | | | | | | | serialization. (*-subdir): Depend on config.h for proper serialization. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47354 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo.dj2001-11-261-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47353 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Check for alloca.h (for regex.c and putenv.c).dj2001-11-264-2/+11
| | | | | | | | * configure: Regenerate. * config.h: Add HAVE_ALLOCA_H. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47352 138bc75d-0d04-0410-961f-82ee72b054a4