summaryrefslogtreecommitdiffstats
path: root/libiberty
Commit message (Collapse)AuthorAgeFilesLines
* include/David Daney2008-01-273-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-01-26 David Daney <ddaney@avtrex.com> * demangle.h (demangle_component_type): Add DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER as new enum values. (demangle_component): Add struct s_character to union u. libiberty/ 2008-01-26 David Daney <ddaney@avtrex.com> * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. (d_make_comp): Handle DEMANGLE_COMPONENT_COMPOUND_NAME and DEMANGLE_COMPONENT_JAVA_RESOURCE cases. (d_make_character): New function. (d_java_resource): Same. (d_special_name): Handle "Gr" case. (d_print_comp): Handle DEMANGLE_COMPONENT_JAVA_RESOURCE, DEMANGLE_COMPONENT_COMPOUND_NAME, and DEMANGLE_COMPONENT_CHARACTER cases. * testsuite/demangle-expected: Add test for java resource name mangling.
* 2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>Ben Elliston2008-01-232-12/+27
| | | | | | | * cplus-dem.c (demangle_function_name): Changed to return value indicating if a name was correctly demangled. (iterate_demangle_function): Use demangle_function_name return value.
* merge from gccDJ Delorie2008-01-192-2/+8
|
* merge from gccDJ Delorie2007-11-132-7/+11
|
* merge from gccDJ Delorie2007-11-132-11/+7
|
* * floatformat.c (floatformat_ibm_long_double_is_valid): FixJoseph Myers2007-11-132-7/+11
| | | | | | compiler warnings. (floatformat_ibm_long_double): Use floatformat_ibm_long_double_is_valid.
* include:Joseph Myers2007-11-082-39/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.h (struct floatformat): Add split_half field. (floatformat_ibm_long_double): New. libiberty: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * floatformat.c (mant_bits_set): New. (floatformat_to_double): Use it. Note no special handling of split formats. (floatformat_from_double): Note no special handing of split formats. (floatformat_ibm_long_double_is_valid, floatformat_ibm_long_double): New. (floatformat_ieee_single_big, floatformat_ieee_single_little, floatformat_ieee_double_big, floatformat_ieee_double_little, floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f, floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext, floatformat_m68881_ext, floatformat_i960_ext, floatformat_m88110_ext, floatformat_m88110_harris_ext, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword, floatformat_ia64_spill_big, floatformat_ia64_spill_little, floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update for addition of split_half field. gdb: 2007-11-07 Joseph Myers <joseph@codesourcery.com> Daniel Jacobowitz <dan@codesourcery.com> * gdbtypes.c (floatformats_ibm_long_double): New. * gdbtypes.h (floatformats_ibm_long_double): Declare. * ia64-tdep.c (floatformat_ia64_ext): Update for addition of split_half field. * mips-tdep.c (n32n64_floatformat_always_valid, floatformat_n32n64_long_double_big, floatformats_n32n64_long): Remove. (mips_gdbarch_init): Use floatformats_ibm_long_double instead of floatformats_n32n64_long. * ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long double. * doublest.c (convert_floatformat_to_doublest, convert_doublest_to_floatformat): Handle split floating-point formats. * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long double arguments. (ppc64_sysv_abi_push_dummy_call): Likewise. (do_ppc_sysv_return_value): Handle IBM long double return.
* merge from gccDJ Delorie2007-09-062-1/+7
|
* merge from gccDJ Delorie2007-08-312-1/+27
|
* merge from gccDJ Delorie2007-08-246-55/+69
|
* merge from gccDJ Delorie2007-08-172-27/+18
|
* merge from gccDJ Delorie2007-08-032-2/+13
|
* 2007-07-31 Michael Snyder <msnyder@access-company.com>Michael Snyder2007-08-012-0/+10
| | | | * cp-demangle.c (d_print_comp): Guard against null.
* * Makefile.in (CFILES): Remove ternary.c.Ben Elliston2007-07-253-178/+15
| | | | | | | (REQUIRED_OFILES): Remove ./ternary.o. (INSTALLED_HEADERS): Remove ternary.h. (ternary.o): Remove. * ternary.c: Remove.
* merge from gccDJ Delorie2007-07-233-8/+23
|
* merge from gccDJ Delorie2007-07-173-2/+8
|
* merge from gccDJ Delorie2007-07-122-1/+4
|
* * maint-tool (deps): Output stamp-h instead of config.h.Alexandre Oliva2007-07-123-80/+82
| | | | | * Makefile.in: Rebuild deps. (maintainer-clean-subdir): Depend on stamp-h rather than config.h.
* 2007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-06-143-2/+73
| | | | | * configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too. * configure: Regenerate.
* 2007-06-14 Paolo Bonzini <bonzini@gnu.org>Paolo Bonzini2007-06-144-39/+36
| | | | | | * aclocal.m4: Include config/warnings.m4. * configure.ac: Use ACX_PROG_CC_WARNING_OPTS. * configure: Regenerate.
* * configure.ac: Non-default multilibs can be cross compilations.Geoffrey Keating2007-06-073-0/+48
| | | | * configure: Regenerate
* merge from gccDJ Delorie2007-05-082-0/+60
|
* * cp-demangle.c (d_name): Detect local-source-name.Geoffrey Keating2007-05-063-1/+43
| | | | | (d_prefix): Likewise. (d_unqualified_name): Implement local-source-name.
* * filename_cmp.c: Replace include of ctype.h by include ofJoel Brobecker2007-05-033-4/+13
| | | | | | | safe-ctype.h. (filename_cmp): Use TOLOWER instead of tolower for conversions that are locale-independent. * Makefile.in (filename_cmp.o): Add dependency on safe-ctype.h.
* merge from gccDJ Delorie2007-04-113-11/+11
|
* * filename_cmp.c (filename_cmp): Improve documentation.Joel Brobecker2007-04-062-5/+10
|
* * filename_cmp.c: Include "config.h".Andreas Schwab2007-04-022-0/+8
|
* merge from gccDJ Delorie2007-03-294-5/+108
|
* * cp-demangle.c (d_encoding): Exit early on error.Geoffrey Keating2007-03-163-2/+16
| | | | | | | (d_pointer_to_member_type): Exit early if cplus_demangle_type returns NULL. (cplus_demangle_type): Likewise. * testsuite/demangle-expected: New testcase.
* merge from gccDJ Delorie2007-03-053-2/+26
|
* PR other/16513Eric Botcazou2007-03-012-10/+17
| | | | | * Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR). Install headers in multilib independent location.
* merge from gccDJ Delorie2007-02-263-0/+43
|
* merge from gccDJ Delorie2007-01-314-4/+10
|
* include/Vladimir Prus2007-01-315-19/+126
| | | | | | | | | | | | | | | | | | | * libiberty.h (PEX_STDERR_TO_PIPE): New define. (PEX_BINARY_ERROR): New define. (pex_read_err): New function. libiberty/ * pex-common.h (struct pex_obj): New fields stderr_pipe and read_err. * pex-common.c (pex_init_common): Initialize stderr_pipe. (pex_run_in_environment): Add error checking for PEX_STDERR_TO_PIPE. Create a pipe for stderr if necessary. (pex_read_err): New. (pex_free): Close read_err. * pexecute.txh: Document changes. * functions.texi: Regenerated.
* merge from gccDJ Delorie2007-01-303-315/+486
|
* * strsignal.c (psignal): Change type of signo to int.Ben Elliston2007-01-303-4/+9
| | | | * functions.texi: Regenerate.
* * pex-unix.c (writeerr): Cast write result to void.Ben Elliston2007-01-122-1/+3
|
* merge from gccDJ Delorie2007-01-121-1/+1
|
* * choose-temp.c (choose_temp_base): Check the result of the callBen Elliston2007-01-122-2/+6
| | | | to mktemp rather than testing the length of the modified string.
* * cp-demangle.h: Add comment explaining what to do to avoidGeoffrey Keating2006-12-215-34/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | overrunning string. (d_check_char): New. (d_next_char): Don't advance past trailing '\0'. * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char. (d_nested_name): Likewise. (d_special_name): Likewise. (d_call_offset): Likewise. (d_function_type): Likewise. (d_array_type): Likewise. (d_pointer_to_member_type): Likewise. (d_template_param): Likewise. (d_template_args): Likewise. (d_template_arg): Likewise. (d_expr_primary): Likewise. (d_local_name): Likewise. (d_substitution): Likewise. (d_ctor_dtor_name): Use d_advance rather than d_next_char. * testsuite/test-demangle.c: Include sys/mman.h. (MAP_ANONYMOUS): Define. (protect_end): New. (main): Use protect_end. * testsuite/demangle-expected: Add testcases for overrunning the end of the string.
* include:Joern Rennecke2006-11-302-7/+52
| | | | | | | | | | | | | | | | | | | 2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * libiberty.h (make_relative_prefix_ignore_links): Declare. libiberty: 2006-05-03 Andrew Stubbs <andrew.stubbs@st.com> J"orn Rennecke <joern.rennecke@st.com> PR driver/29931 * make-relative-prefix.c (make_relative_prefix_1): New function, broken out of make_relative_prefix. Make link resolution dependent on new parameter. (make_relative_prefix): Use make_relative_prefix_1. (make_relative_prefix_ignore_links): New function.
* merge from gccDJ Delorie2006-11-081-1/+1
|
* 2006-11-08 Vladimir Prus <vladimir@codesourcery.com>Vladimir Prus2006-11-082-7/+15
| | | | | | | * pex-win32.c (no_suffixes): Remove. (std_suffixes): Add "" as first element. (find_executable): Remove detection of already-present extension. Try all suffixes in std_suffixes.
* * floatformat.c (get_field): Fix segfault with little-endian wordJulian Brown2006-11-072-60/+56
| | | | | | order on 64-bit hosts. (put_field): Likewise. (min): Move definition.
* merge from gccDJ Delorie2006-10-263-7/+15
|
* merge from gccDJ Delorie2006-10-252-1/+5
|
* merge from gccDJ Delorie2006-10-113-3/+12
|
* merge from gccDJ Delorie2006-09-223-0/+13
|
* merge from gccDJ Delorie2006-09-131-11/+11
|
* * configure.ac: Add case for Mingw as host.Corinna Vinschen2006-08-303-0/+256
| | | | * configure: Regenerate.
OpenPOWER on IntegriCloud