Iain Buclaw
|
b55f967878
|
Sync libiberty with upstream GCC.
include/ChangeLog
* libiberty.h (PEX_STDOUT_APPEND): New flag.
(PEX_STDERR_APPEND): Likewise.
* demangle.h (DMGL_DLANG): New macro.
(DMGL_STYLE_MASK): Add DMGL_DLANG.
(demangling_styles): Add dlang_demangling.
(DLANG_DEMANGLING_STYLE_STRING): New macro.
(DLANG_DEMANGLING): New macro.
(dlang_demangle): New prototype.
* longlong.h: Add __udiv_w_sdiv prototype.
libiberty/ChangeLog
* cp-demangle.c (d_substitution): Handle abi tags on abbreviation.
* pex-common.h (struct pex_funcs): Add new parameter for open_write field.
* pex-unix.c (pex_unix_open_write): Add support for new parameter.
* pex-djgpp.c (pex_djgpp_open_write): Likewise.
* pex-win32.c (pex_win32_open_write): Likewise.
* pex-common.c (pex_run_in_environment): Likewise.
* Makefile.in (CFILES): Add d-demangle.c.
(REQUIRED_OFILES): Add d-demangle.o.
* cplus-dem.c (libiberty_demanglers): Add dlang_demangling case.
(cplus_demangle): Likewise.
* d-demangle.c: New file.
* testsuite/Makefile.in (really-check): Add check-d-demangle.
* testsuite/d-demangle-expected: New file.
* simple-object-elf.c (simple_object_elf_write_ehdr): Correctly
handle objects with more than SHN_LORESERVE sections.
(simple_object_elf_write_shdr): Add sh_link parameter.
(simple_object_elf_write_to_file): Correctly handle objects with
more than SHN_LORESERVE sections.
* cp-demangle.c (d_dump): Only access field from s_fixed part of
the union for DEMANGLE_COMPONENT_FIXED_TYPE.
(d_count_templates_scopes): Likewise.
* testsuite/demangler-fuzzer.c: New file.
* testsuite/Makefile.in (fuzz-demangler): New rule.
(demangler-fuzzer): Likewise.
(mostlyclean): Clean up demangler fuzzer.
|
2014-10-11 10:29:10 +01:00 |
DJ Delorie
|
b3641a6eb9
|
merge from gcc
|
2012-04-10 17:07:35 +00:00 |
DJ Delorie
|
59e11e1703
|
merge from gcc
|
2011-01-03 21:05:58 +00:00 |
Richard Henderson
|
9c55e06476
|
Use spawnve on cygwin.
* configure.ac (AC_CHECK_HEADERS): Add process.h.
(checkfuncs): Add dup3, spawnve, spawnvpe; sort the list.
(AC_CHECK_FUNCS): Add dup3, spawnve, spawnvpe.
* configure, config.in: Rebuild.
* pex-unix.c [HAVE_SPAWNVE] (pex_unix_exec_child): New function.
[HAVE_SPAWNVE] (save_and_install_fd, restore_fd): New functions.
|
2010-11-04 23:41:21 +00:00 |
Doug Evans
|
16b8170d50
|
* pex-unix.c (pex_unix_exec_child): Save/restore environ.
|
2009-12-08 07:15:36 +00:00 |
Ben Elliston
|
c90188f694
|
* pex-unix.c (pex_child_error): Improve warning avoidance by
checking the results of write(3) and exiting with -2 if any write
returns a negative value.
|
2009-11-23 04:42:14 +00:00 |
Ben Elliston
|
17f99e29c5
|
* pex-unix.c (pex_child_error): Define writeerr macro to avoid
unused result warnings from write(3) calls. Undefine writeerr
after all uses.
|
2009-11-19 21:17:04 +00:00 |
DJ Delorie
|
9fef968a22
|
merge from gcc
|
2009-07-27 19:01:17 +00:00 |
DJ Delorie
|
29d89e071e
|
merge from gcc
|
2007-08-24 16:08:40 +00:00 |
Ben Elliston
|
0bbe7a79f5
|
* pex-unix.c (writeerr): Cast write result to void.
|
2007-01-12 02:21:52 +00:00 |
DJ Delorie
|
cb6c09ace5
|
merge from gcc
|
2006-08-28 00:56:25 +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
|
3db2e6ddf6
|
merge from gcc
|
2006-04-12 18:42:01 +00:00 |
DJ Delorie
|
abf6a75b42
|
merge from gcc
|
2005-05-24 21:01:33 +00:00 |
Nick Clifton
|
979c05d324
|
Update the address and phone number of the FSF organization.
|
2005-05-10 15:33:34 +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
|
1e45deed6a
|
merge from gcc
|
2005-03-28 05:07:08 +00:00 |
DJ Delorie
|
70615d15fb
|
merge from gcc
|
2004-11-30 03:01:37 +00:00 |
DJ Delorie
|
12a7367e81
|
merge from gcc
|
2004-03-18 04:07:41 +00:00 |
DJ Delorie
|
5a17353c6b
|
merge from gcc
|
2003-01-24 21:31:35 +00:00 |