Commit graph

270 commits

Author SHA1 Message Date
DJ Delorie
9cc28cc8a9 * Makefile.in: add EXTRA_INCS
* configure.in: if with-newlib, point to it for includes
rather than using the installed includes, for target builds.
If cygwin, override function list only for target builds.
* configure: regenerate
Note from DJ: I waited a week for gcc approval and got none, but
we need this patch for cygwin builds *now*.  I'll fix it later if
need be.
2000-06-06 17:52:20 +00:00
Andrew Cagney
f03aa80df2 Add field ``name'' to floatformat. 2000-05-31 10:55:00 +00:00
Jeff Law
77bfb69416 * Makefile.in (objalloc.o): Depend on config.h 2000-05-30 21:08:32 +00:00
Zack Weinberg
5c82d20a26 * hashtab.c, partition.c, xmemdup.c: Include string.h
if HAVE_STRING_H.
	* pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
	* objalloc.c: Include config.h.  Include stdlib.h and don't
	declare malloc or free if HAVE_STDLIB_H.
	* strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
	else declare malloc without prototype.  Include string.h if
	HAVE_STRING_H, else declare memset without prototype.  Don't
	include stddef.h.

	* sort.c: Bring over from GCC.
2000-05-29 20:45:32 +00:00
Alexandre Oliva
010c70e10f * Makefile.in (maintainer-clean-subdir): Fix handling of empty
SUBDIRS.
2000-05-26 12:50:58 +00:00
Jeff Law
19be430370 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
* Makefile.in (*-subdir): Revamp slightly to avoid losing on
        4.3BSD systems.
2000-04-21 22:19:43 +00:00
Richard Henderson
afe36a788b * splay-tree.c (splay_tree_remove): New. 2000-04-06 00:16:01 +00:00
Jason Merrill
b4fe268363 merge from gcc 2000-03-24 21:31:22 +00:00
Ian Lance Taylor
0c0a36a403 merge with libiberty from egcs 2000-02-22 2000-02-22 16:14:35 +00:00
Geoffrey Keating
df840b63dc * vasprintf.c (int_vasprintf): Don't re-read the format character
as this mishandles strings like '%%s'.
1999-12-28 03:10:39 +00:00
Ian Lance Taylor
c1687039eb Revert last patch to xmalloc.c, and instead bring over this patch from
egcs:
Thu Apr 15 23:00:55 1999  Mumit Khan  <khan@xraylith.wisc.edu>

	* configure.in (checkfuncs): Check for sbrk.
	* config.in: Rebuilt.
	* configure: Likewise.
	* xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1999-08-05 21:15:29 +00:00
Ian Lance Taylor
1198f921ae * xmalloc.c: Control all uses of SBRK with a single define,
USE_SBRK.  Don't define it if __INTERIX.
1999-08-05 16:22:42 +00:00
Ian Lance Taylor
08372f1427 * floatformat.c: Add casts to avoid signed/unsigned warnings.
* pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1999-08-03 16:00:39 +00:00
Ian Lance Taylor
8f36e47c10 From Mark Elbrecht:
* configure.bat: Remove; obsolete.
1999-07-22 01:16:49 +00:00
Ian Lance Taylor
9c8ac5a997 From Mark Elbrecht:
* makefile.dos: Remove; obsolete.
1999-07-22 00:55:12 +00:00
Richard Henderson
35ca97eacf * argv.c: Include stdlib.h and string.h instead of
prototyping directly.
        * choose-temp.c: Conditionally include string.h.
1999-07-14 17:32:02 +00:00
Ian Lance Taylor
af32ff6969 * splay-tree.c (splay_tree_insert): Add initialization to avoid
warning.
1999-07-11 19:13:51 +00:00
Jim Blandy
e9868447b4 *** empty log message *** 1999-05-11 12:42:30 +00:00
Richard Henderson
33fbbfbc00 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
* getruntime.c: Only attempt to include sys/resource.h and
        use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
        are defined.
1999-05-06 20:59:17 +00:00
Richard Henderson
252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00