DJ Delorie
3f69c6bf14
merge from gcc
2008-03-11 16:11:55 +00:00
Ben Elliston
610f48948e
PR other/12618
...
* testsuite/Makefile.in (mostlyclean): Remove any core file.
2008-02-19 03:22:19 +00:00
David Daney
830ef6349c
include/
...
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-27 06:25:45 +00:00
Ben Elliston
b4b41ceb4a
2008-01-23 Thiago Jung Bauermann <bauerman@br.ibm.com>
...
* 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.
2008-01-23 05:12:47 +00:00
DJ Delorie
145f4ab500
merge from gcc
2008-01-19 01:18:42 +00:00
DJ Delorie
38e654e2b5
merge from gcc
2007-11-13 15:12:42 +00:00
DJ Delorie
f4c43811f7
merge from gcc
2007-11-13 01:00:40 +00:00
Joseph Myers
3702a1b884
* floatformat.c (floatformat_ibm_long_double_is_valid): Fix
...
compiler warnings.
(floatformat_ibm_long_double): Use
floatformat_ibm_long_double_is_valid.
2007-11-13 00:38:30 +00:00
Joseph Myers
b14d30e141
include:
...
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.
2007-11-08 00:08:48 +00:00
DJ Delorie
3a0ab69515
merge from gcc
2007-09-06 17:22:39 +00:00
DJ Delorie
8969a67f0a
merge from gcc
2007-08-31 20:20:49 +00:00
DJ Delorie
29d89e071e
merge from gcc
2007-08-24 16:08:40 +00:00
DJ Delorie
cefec4092d
merge from gcc
2007-08-17 19:31:01 +00:00
DJ Delorie
9250f7f0d2
merge from gcc
2007-08-03 19:49:44 +00:00
Michael Snyder
168b82983a
2007-07-31 Michael Snyder <msnyder@access-company.com>
...
* cp-demangle.c (d_print_comp): Guard against null.
2007-08-01 19:43:08 +00:00
Ben Elliston
642c7534bd
* Makefile.in (CFILES): Remove ternary.c.
...
(REQUIRED_OFILES): Remove ./ternary.o.
(INSTALLED_HEADERS): Remove ternary.h.
(ternary.o): Remove.
* ternary.c: Remove.
2007-07-25 06:36:27 +00:00
DJ Delorie
acf3a81396
merge from gcc
2007-07-23 18:01:25 +00:00
DJ Delorie
008d60eb19
merge from gcc
2007-07-17 18:05:02 +00:00
DJ Delorie
db42c6e8ee
merge from gcc
2007-07-12 03:10:12 +00:00
Alexandre Oliva
a590e8e71d
* maint-tool (deps): Output stamp-h instead of config.h.
...
* Makefile.in: Rebuild deps.
(maintainer-clean-subdir): Depend on stamp-h rather than config.h.
2007-07-12 02:24:41 +00:00
Paolo Bonzini
1f616ca10d
2007-06-14 Paolo Bonzini <bonzini@gnu.org>
...
* configure.ac: Use ACX_PROG_CC_ALMOST_PEDANTIC too.
* configure: Regenerate.
2007-06-14 14:41:46 +00:00
Paolo Bonzini
a104c397e7
2007-06-14 Paolo Bonzini <bonzini@gnu.org>
...
* aclocal.m4: Include config/warnings.m4.
* configure.ac: Use ACX_PROG_CC_WARNING_OPTS.
* configure: Regenerate.
2007-06-14 08:17:50 +00:00
Geoffrey Keating
958afec373
* configure.ac: Non-default multilibs can be cross compilations.
...
* configure: Regenerate
2007-06-07 18:43:51 +00:00
DJ Delorie
0c18fee5b3
merge from gcc
2007-05-08 01:29:33 +00:00
Geoffrey Keating
8bf955e1b8
* cp-demangle.c (d_name): Detect local-source-name.
...
(d_prefix): Likewise.
(d_unqualified_name): Implement local-source-name.
2007-05-06 00:25:11 +00:00
Joel Brobecker
73bdefcfe0
* filename_cmp.c: Replace include of ctype.h by include of
...
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.
2007-05-03 23:40:11 +00:00
DJ Delorie
8535fe175a
merge from gcc
2007-04-11 20:01:26 +00:00
Joel Brobecker
34d8f01b80
* filename_cmp.c (filename_cmp): Improve documentation.
2007-04-06 06:01:54 +00:00
Andreas Schwab
2657faa6af
* filename_cmp.c: Include "config.h".
2007-04-02 11:20:52 +00:00
DJ Delorie
9c577e8950
merge from gcc
2007-03-29 21:03:48 +00:00
Geoffrey Keating
8d3010701b
* cp-demangle.c (d_encoding): Exit early on error.
...
(d_pointer_to_member_type): Exit early if cplus_demangle_type
returns NULL.
(cplus_demangle_type): Likewise.
* testsuite/demangle-expected: New testcase.
2007-03-16 01:09:26 +00:00
DJ Delorie
d7831e7c47
merge from gcc
2007-03-05 22:15:41 +00:00
Eric Botcazou
563d09a555
PR other/16513
...
* Makefile.in: Install library under $(MULTIOSDIR), not $(MULTISUBDIR).
Install headers in multilib independent location.
2007-03-01 15:32:57 +00:00
DJ Delorie
1f92e18087
merge from gcc
2007-02-26 22:14:03 +00:00
DJ Delorie
6dd7f013b4
merge from gcc
2007-01-31 20:25:23 +00:00
Vladimir Prus
53d7966f2a
include/
...
* 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.
2007-01-31 18:49:42 +00:00
DJ Delorie
208c16740c
merge from gcc
2007-01-30 23:16:58 +00:00
Ben Elliston
71f2e6f41f
* strsignal.c (psignal): Change type of signo to int.
...
* functions.texi: Regenerate.
2007-01-30 23:13:04 +00:00
Ben Elliston
0bbe7a79f5
* pex-unix.c (writeerr): Cast write result to void.
2007-01-12 02:21:52 +00:00
DJ Delorie
2da20a1b40
merge from gcc
2007-01-12 01:19:04 +00:00
Ben Elliston
cc0732ba28
* choose-temp.c (choose_temp_base): Check the result of the call
...
to mktemp rather than testing the length of the modified string.
2007-01-12 00:39:10 +00:00
Geoffrey Keating
6ef6358e51
* cp-demangle.h: Add comment explaining what to do to avoid
...
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.
2006-12-21 01:32:48 +00:00
Joern Rennecke
d8f813d405
include:
...
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.
2006-11-30 17:36:10 +00:00
DJ Delorie
3c9f59e48f
merge from gcc
2006-11-08 19:09:26 +00:00
Vladimir Prus
fb3471960f
2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
...
* 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.
2006-11-08 16:18:58 +00:00
Julian Brown
9e59254c41
* floatformat.c (get_field): Fix segfault with little-endian word
...
order on 64-bit hosts.
(put_field): Likewise.
(min): Move definition.
2006-11-07 15:17:40 +00:00
DJ Delorie
3ac01eb265
merge from gcc
2006-10-26 04:18:42 +00:00
DJ Delorie
78de3ccc2a
merge from gcc
2006-10-25 01:42:44 +00:00
DJ Delorie
bff368bd19
merge from gcc
2006-10-11 00:29:35 +00:00
DJ Delorie
e63f184e3f
merge from gcc
2006-09-22 19:19:32 +00:00