Commit graph

23 commits

Author SHA1 Message Date
DJ Delorie
e9edcedc8e merge from gcc 2005-05-15 18:31:15 +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
ac119ae83b merge from gcc 2005-04-11 19:32:04 +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
0fad4bdb8e merge from gcc 2005-03-25 04:57:08 +00:00
DJ Delorie
b5c3b3deb6 merge from gcc 2005-01-11 21:01:13 +00:00
DJ Delorie
70ecf948d9 merge from gcc 2003-06-22 16:35:53 +00:00
Nick Clifton
5a4e47bd30 asprintf.c: Change comment to note that -1 is returned upon error.
vasprintf.c: Likewise.	(vasprintf): Return -1 upon error.
functions.texi: Document changes to asprintf and vasprintf.
2003-06-03 18:17:29 +00:00
Jim Blandy
e4f7904629 libiberty/ChangeLog:
2003-05-14  Jim Blandy  <jimb@redhat.com>

	* hex.c (_hex_value): Make this unsigned.
	(hex_value): Update documentation for new return type.  hex_value
	now expands to an unsigned int expression, to avoid unexpected
	sign extension when we store it in a bfd_vma, which is larger than
	int on some platforms.
	* functions.texi: Regenerated.

include/ChangeLog:
2003-05-14  Jim Blandy  <jimb@redhat.com>

	* libiberty.h (hex_value): Make the value an unsigned int, to
	avoid unexpected sign-extension when cast to unsigned types larger
	than int --- like bfd_vma, on some platforms.
	(_hex_value): Update declaration.
2003-05-15 19:08:25 +00:00
DJ Delorie
2ed1e5cc55 merge from gcc 2003-04-16 23:09:21 +00:00
DJ Delorie
10b57b38b3 merge from gcc 2003-04-16 03:51:54 +00:00
Daniel Jacobowitz
ba61a41253 * Makefile.in (CFILES): Add lrealpath.c.
(REQUIRED_OFILES): Add lrealpath.o.
	(lrealpath.o): Add rule.
	* aclocal.m4 (libiberty_NEED_DECLARATION): Add.
	* configure.in: Add realpath and canonicalize_file_name to
	checkfuncs and AC_CHECK_FUNCS.  Use libiberty_NEED_DECLARATION
	for canonicalize_file_name.
	* lrealpath.c: New file.
	* make-relative-prefix.c: Update documentation.
	(make_relative_prefix): Simplify.  Use lbasename and lrealpath.
	* config.in: Regenerated.
	* configure: Regenerated.
	* functions.texi: Regenerated.
2003-02-20 22:14:18 +00:00
DJ Delorie
5a17353c6b merge from gcc 2003-01-24 21:31:35 +00:00
DJ Delorie
2a80c0a458 merge from gcc 2002-11-22 21:02:14 +00:00
DJ Delorie
7dd4d42a60 merge from gcc 2002-03-28 04:06:38 +00:00
DJ Delorie
5d852400e9 merge from gcc 2001-10-17 22:35:28 +00:00
DJ Delorie
ba19b94f67 merge from gcc 2001-10-16 02:55:31 +00:00
DJ Delorie
56056af518 merge from gcc 2001-10-10 00:05:13 +00:00
DJ Delorie
99b5813985 merge from gcc 2001-10-07 22:42:23 +00:00
DJ Delorie
fa9f0e33b3 merge from gcc 2001-09-27 20:27:58 +00:00
DJ Delorie
3942352316 merge from gcc 2001-09-26 18:45:50 +00:00