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
DJ Delorie
b5d60b683c
merge from gcc
2006-09-13 22:07:31 +00:00
Corinna Vinschen
069e4b1944
* configure.ac: Add case for Mingw as host.
...
* configure: Regenerate.
2006-08-30 13:08:27 +00:00
DJ Delorie
cb6c09ace5
merge from gcc
2006-08-28 00:56:25 +00:00
DJ Delorie
a7d421b815
merge from gcc
2006-07-27 18:05:31 +00:00
Alexandre Oliva
6816f9950e
ChangeLog:
...
* ltconfig: chmod 644 before ranlib during install.
libiberty/ChangeLog:
* Makefile.in: chmod 644 before ranlib during install.
2006-07-04 20:31:03 +00:00
DJ Delorie
7741be99dd
merge from gcc
2006-06-02 15:37:03 +00:00
DJ Delorie
014a8caf46
merge from gcc
2006-06-01 14:57:50 +00:00
DJ Delorie
069c63e246
merge from gcc
2006-05-28 17:49:15 +00:00
DJ Delorie
f6b66e9075
merge from gcc
2006-05-12 20:00:37 +00:00
Julian Brown
c77d28aca7
* floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
2006-04-24 21:34:41 +00:00
DJ Delorie
3db2e6ddf6
merge from gcc
2006-04-12 18:42:01 +00:00
DJ Delorie
545c9aee9b
merge from gcc
2006-04-07 00:01:28 +00:00
DJ Delorie
8e1e9959c5
merge from gcc
2006-03-31 23:01:16 +00:00
DJ Delorie
57b126a363
merge from gcc
2006-03-24 23:02:57 +00:00
DJ Delorie
9223c9457d
merge from gcc
2006-03-13 20:00:44 +00:00
DJ Delorie
96f4851a80
merge from gcc
2006-02-21 02:38:06 +00:00
DJ Delorie
1c7a49d207
merge from gcc
2006-02-21 02:01:56 +00:00
DJ Delorie
e27d251e32
merge from gcc
2006-02-12 15:54:25 +00:00
DJ Delorie
fd7d450d2b
merge from gcc
2006-01-29 20:07:09 +00:00
DJ Delorie
67d78caad5
merge from gcc
2006-01-21 04:28:49 +00:00
DJ Delorie
648c3dc081
merge from gcc
2005-12-17 20:51:56 +00:00
DJ Delorie
7887b2ce66
merge from gcc
2005-12-11 02:16:09 +00:00
DJ Delorie
718c0ded1f
merge from gcc
2005-11-07 16:36:16 +00:00
DJ Delorie
fb10537e39
merge from gcc
2005-10-31 18:01:19 +00:00
Mark Mitchell
5209596cca
* at-file.texi: Fix typo.
2005-10-07 14:20:47 +00:00
Mark Mitchell
7b96829ccc
* at-file.texi: New file.
2005-10-04 05:34:17 +00:00
Mark Mitchell
48e79b0a53
* argv.c (expandargv): Do not use xmalloc_failed.
2005-09-27 15:21:13 +00:00
Mark Mitchell
7b17bc2995
* libiberty.h (expandargv): New function.
...
* argv.c (safe-ctype.h): Include it.
(ISBLANK): Remove.
(stdio.h): Include.
(buildargv): Use ISSPACE instead of ISBLANK.
(expandargv): New function.
* Makefile.in: Regenerated.
2005-09-26 21:02:59 +00:00
DJ Delorie
f59e96e06c
merge from gcc
2005-09-15 01:04:05 +00:00
DJ Delorie
3b6940c0d1
merge from gcc
2005-08-17 18:03:42 +00:00
Kelley Cook
a9479c3f88
2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
...
* strverscmp.c: Update FSF address.
* testsuite/Makefile.in: Likewise.
* testsuite/test-demangle.c: Likewise.
* testsuite/test-pexecute.c: Likewise.
2005-08-17 03:46:41 +00:00
DJ Delorie
55060c0b16
merge from gcc
2005-07-23 15:17:18 +00:00
DJ Delorie
6038baea6c
merge from gcc
2005-07-22 04:28:52 +00:00
DJ Delorie
c750388a85
merge from gcc
2005-07-22 03:26:05 +00:00
DJ Delorie
a4e5c0d804
merge from gcc
2005-07-22 03:16:33 +00:00
DJ Delorie
7edb1832f2
merge from gcc
2005-07-22 03:00:51 +00:00
Ben Elliston
e865f979ac
* configure.ac: Check for a getopt(3) declaration.
...
* configure, config.in: Regenerate.
2005-07-22 02:10:56 +00:00
DJ Delorie
4fe190829b
merge from gcc
2005-07-15 02:00:50 +00:00
DJ Delorie
f2942ea4dd
merge from gcc
2005-07-12 10:35:00 +00:00
DJ Delorie
460565cb9d
merge from gcc
2005-07-09 13:05:49 +00:00
Ben Elliston
c94c2c4ee4
* memcpy.c: Remove ANSI_PROTOTYPES conditional code.
...
* memmove.c: Likewise.
* objalloc.c: Likewise.
2005-07-09 06:56:27 +00:00
Kelley Cook
4cf896a535
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
...
* config.table: Delete file. Move former contents into ...
* configure.ac: ... here and escape any brackets for m4.
* Makefile.in (config.status): Remove dependency on config.table.
* configure: Regenerate.
2005-07-07 02:21:57 +00:00
Kelley Cook
20ae7c3446
2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
...
* config.in: Regenerate for 6/20 change.
2005-07-07 02:19:14 +00:00
DJ Delorie
6ba85b8caf
merge from gcc
2005-07-03 19:16:20 +00:00
DJ Delorie
c3cca4c912
merge from gcc
2005-06-30 23:03:37 +00:00
Geoffrey Keating
67f3cb056f
Index: include/ChangeLog
...
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* libiberty.h (strverscmp): Prototype.
Index: libiberty/ChangeLog
2005-06-20 Geoffrey Keating <geoffk@apple.com>
* strverscmp.c: New.
* Makefile.in (CFILES): Add strverscmp.c.
(CONFIGURED_OFILES): Add strverscmp.o.
(strverscmp.o): New rule.
(stamp-functions): Add $(srcdir) to files in source directory.
* configure.ac (funcs): Add strverscmp.
(AC_CHECK_FUNCS): Add strverscmp.
* configure: Regenerate.
* functions.texi: Regenerate.
2005-06-21 00:28:25 +00:00
DJ Delorie
01e94249b6
merge from gcc
2005-05-28 19:49:24 +00:00
Richard Henderson
839e4798b0
include/
...
* demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
libiberty/
* cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
(d_make_comp, d_print_comp): Likewise.
(d_special_name): Generate one.
* testsuite/demangle-expected: Add a hidden alias test.
2005-05-25 23:32:36 +00:00
DJ Delorie
abf6a75b42
merge from gcc
2005-05-24 21:01:33 +00:00
DJ Delorie
2349f55700
merge from gcc
2005-05-16 18:02:47 +00:00
DJ Delorie
e9edcedc8e
merge from gcc
2005-05-15 18:31:15 +00:00
DJ Delorie
f13c9beaa3
merge from gcc
2005-05-15 17:25:43 +00:00
Ian Lance Taylor
282d9ec36b
2005-05-11 Eli Zaretskii <eliz@gnu.org>
...
* pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
sys/stat.h.
(pex_init): Fix last argument to pex_init_common.
(pex_djgpp_exec_child): Remove leading underscore from _open,
_dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
which is undeclared, with `executable', which was unused. Remove
unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
(pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
2005-05-12 03:45:53 +00:00
DJ Delorie
75919f948c
merge from gcc
2005-05-11 02:10:00 +00:00
Nick Clifton
979c05d324
Update the address and phone number of the FSF organization.
2005-05-10 15:33:34 +00:00
DJ Delorie
0093138c53
merge from gcc
2005-05-07 02:00:41 +00:00
DJ Delorie
c631edf1cc
merge from gcc
2005-04-26 01:02:02 +00:00
DJ Delorie
7b6f628627
merge from gcc
2005-04-16 21:49:14 +00:00
DJ Delorie
fa99459db0
merge from gcc
2005-04-16 01:05:05 +00:00
DJ Delorie
ab70e2a569
merge from gcc
2005-04-14 02:22:18 +00:00
DJ Delorie
776dbd277f
merge from gcc
2005-04-13 01:06:55 +00:00
DJ Delorie
ea7143ac88
merge from gcc
2005-04-13 01:05:22 +00:00
DJ Delorie
41c953f989
merge from gcc
2005-04-12 15:04:41 +00:00
DJ Delorie
ac119ae83b
merge from gcc
2005-04-11 19:32:04 +00:00
DJ Delorie
6e933b4716
merge from gcc
2005-04-04 21:00:49 +00:00
DJ Delorie
14a88c496b
merge from gcc
2005-04-03 04:41:10 +00:00
DJ Delorie
aa55ccb120
merge from gcc
2005-04-02 20:20:01 +00:00
Ian Lance Taylor
b31a49d78d
* cp-demangle.c: Update copyright.
2005-04-02 17:18:43 +00:00
DJ Delorie
0e867e7957
merge from gcc
2005-03-31 17:03:35 +00:00
Ian Lance Taylor
b109e79adc
libiberty:
...
* pex-common.c: New file.
* pex-one.c: New file.
* pexecute.c: New file.
* pex-common.h: Include <stdio.h>.
(struct pex_obj): Define.
(struct pex_funcs): Define.
(pex_init_common): Declare.
* pex-unix.c: Rewrite.
* pex-win32.c: Rewrite.
* pex-djgpp.c: Rewrite.
* pex-msdos.c: Rewrite.
* testsuite/text-pexecute.c: New file.
* pexecute.txh: Rewrite.
* configure.ac: Check for wait3 and wait4. Set CHECK to
really-check rather than check-cplus-dem.
* functions.texi: Rebuild.
* Makefile.in: Rebuild dependencies.
(CFILES): Add pexecute.c, pex-common.c, pex-one.c.
(REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
* testsuite/Makefile.in (really-check): New target.
(check-pexecute, test-pexecute): New targets.
* configure: Rebuild.
include:
* libiberty.h: Include <stdio.h>.
(PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
(PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
(PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
(pex_init, pex_run, pex_read_output): Declare.
(pex_get_status, pex_get_times, pex_free, pex_one): Declare.
(struct pex_time): Define.
2005-03-29 02:15:24 +00:00
DJ Delorie
864e8148e9
merge from gcc
2005-03-28 18:02:14 +00:00
DJ Delorie
e064c173c6
merge from gcc
2005-03-28 17:14:34 +00:00
DJ Delorie
1e45deed6a
merge from gcc
2005-03-28 05:07:08 +00:00
DJ Delorie
49b1fae430
merge from gcc
2005-03-28 02:09:01 +00:00