Commit graph

549 commits

Author SHA1 Message Date
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
DJ Delorie
9334f9c6cd merge from gcc 2005-03-27 05:28:42 +00:00
DJ Delorie
0fad4bdb8e merge from gcc 2005-03-25 04:57:08 +00:00
DJ Delorie
51e32d644a merge from gcc 2005-03-25 04:27:21 +00:00
DJ Delorie
8ec3272396 merge from gcc 2005-03-10 01:06:07 +00:00
Ian Lance Taylor
27ff88367a * pex-os2.c: Remove.
* configure.ac: Remove *-*-os2-emx* case when setting pexecute.
	* Makefile.in (CFILES): Remove pex-os2.c.
	(CONFIGURED_OFILES): Remove pex-os2.o.
	(pex-os2.o): Remove target.
	* configure: Rebuild.
2005-03-09 21:28:10 +00:00
DJ Delorie
20cfcaee85 merge from gcc 2005-03-07 23:20:07 +00:00
Ian Lance Taylor
48e39b59f9 * mpw-config.in: Remove.
* mpw-make.sed: Remove.
	* mpw.c: Remove.
	* Makefile.in (CFILES): Remove pex-mpw.c.
	(CONFIGURED_OFILES): Remove pex-mpw.o.
	(mpw.o, pex-mpw.o): Remove targets.
	* maint-tool (undoc): Remove reference to mpw.c.
2005-03-07 21:12:04 +00:00
DJ Delorie
65dce80e6f merge from gcc 2005-03-06 18:48:16 +00:00
DJ Delorie
190eb1370b merge from gcc 2005-03-01 14:33:00 +00:00
DJ Delorie
bac7199c79 merge from gcc 2005-03-01 02:22:06 +00:00
Jason Merrill
aca9a74241 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
arguments.
2005-02-13 06:58:55 +00:00
DJ Delorie
b5c3b3deb6 merge from gcc 2005-01-11 21:01:13 +00:00
DJ Delorie
46a100497f merge from gcc 2004-12-27 21:39:28 +00:00
DJ Delorie
fbfdf75089 merge from gcc 2004-12-20 05:19:58 +00:00
DJ Delorie
11a338da34 merge from gcc 2004-12-20 04:20:34 +00:00
DJ Delorie
1a20add74a merge from gcc 2004-12-18 17:19:27 +00:00
H.J. Lu
96e00b336a 2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.in (top_builddir): Set to `.'.
	(OUTPUT_OPTION): Removed.
	(LIBTOOL): New.
	(LTLIBOBJS): New.
	(EXTRA_LTOFILES): New.
	(FLAGS_TO_PASS): Add EXTRA_LTOFILES.
	(all): Remove stamp-picdir.
	(LTCOMPILE): New.
	(.c.lo): New rule.
	(REQUIRED_LTOFILES): New.
	(CONFIGURED_LTOFILES): New.
	($(TARGETLIB)): Check .libs for PIC object files. Depend on
	$(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
	(stamp-picdir): Completely removed.
	(maint-missing): Pass $(REQUIRED_LTOFILES)
	$(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
	$(CONFIGURED_OFILES)
	(maint-buildall): Depend on $(REQUIRED_LTOFILES)
	$(CONFIGURED_LTOFILES).
	(mostlyclean): Also remove *.lo .libs.
	Run "make maint-deps".

	* aclocal.m4: Include ../libtool.m4.

	* config.table: Don't check --enable-shared.

	* configure.ac (AC_PROG_LIBTOOL): Add.
	(AC_PROG_CC_C_O): Removed.
	(OUTPUT_OPTION): Removed.
	(NO_MINUS_C_MINUS_O): Removed.
	(ltpexecute): New substitute.
	(LIBOBJS): Cleanup.
	* configure: Regenerated.

	* maint-tool: Updated for .lo/libtool.
2004-12-18 16:46:03 +00:00
DJ Delorie
40a59a4c46 merge from gcc 2004-12-10 22:04:41 +00:00
DJ Delorie
abe84df797 merge from gcc 2004-12-08 18:55:40 +00:00
Ben Elliston
6e33482eaa * Makefile.in (.NOEXPORT): Move above the autogenerated line. 2004-12-08 03:13:28 +00:00
DJ Delorie
62ce8ace27 merge from gcc 2004-12-08 01:02:33 +00:00
Ben Elliston
9888440ad6 * getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.
(_getopt_initialize): Annotate argc and argv parameters as unused.
	* Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.
2004-12-08 00:30:35 +00:00
DJ Delorie
9923bc337e merge from gcc 2004-12-07 20:02:09 +00:00
DJ Delorie
70615d15fb merge from gcc 2004-11-30 03:01:37 +00:00
DJ Delorie
eb129e357a merge from gcc 2004-11-24 03:00:34 +00:00
DJ Delorie
3e0f14040c merge from gcc 2004-11-20 03:00:47 +00:00
DJ Delorie
4ab53e235f merge from gcc 2004-11-13 18:03:59 +00:00
DJ Delorie
6cfb3176b5 merge from gcc 2004-11-13 15:48:36 +00:00
DJ Delorie
f9b4e353bb merge from gcc 2004-09-08 22:01:25 +00:00
Paolo Bonzini
c7efc4d538 2004-09-03 Paolo Bonzini <bonzini@gnu.org>
* configure: Regenerate.
2004-09-03 06:53:15 +00:00
Paolo Bonzini
f5396bbed4 2004-09-02 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: Do not enable multilibs for build-side libiberty.
2004-09-02 07:04:53 +00:00
DJ Delorie
950ad202a5 merge from gcc 2004-06-29 12:51:56 +00:00
DJ Delorie
a21da8bff0 merge from gcc 2004-06-28 18:01:46 +00:00
DJ Delorie
9f7d3e7dfa merge from gcc 2004-05-31 13:27:45 +00:00
DJ Delorie
0cb2db3ae1 merge from gcc 2004-05-25 20:03:59 +00:00
DJ Delorie
25319993a8 merge from gcc 2004-04-29 16:08:50 +00:00
DJ Delorie
7e9f5c71b4 merge from gcc 2004-04-26 18:23:59 +00:00
DJ Delorie
bb6a587dd3 merge from gcc 2004-04-22 18:39:03 +00:00
DJ Delorie
53239e4104 merge from gcc 2004-04-14 03:12:51 +00:00
DJ Delorie
d6ea4e809a merge from gcc 2004-04-13 15:23:19 +00:00
DJ Delorie
fe046a1715 merge from gcc 2004-04-01 02:00:55 +00:00
DJ Delorie
12a7367e81 merge from gcc 2004-03-18 04:07:41 +00:00
DJ Delorie
e0c148a751 merge from gcc 2004-03-18 02:07:18 +00:00
DJ Delorie
4105f7d73a merge from gcc 2004-03-10 01:02:12 +00:00
DJ Delorie
85f969cd0f merge from gcc 2004-03-10 00:01:28 +00:00
DJ Delorie
58670637de merge from gcc 2004-03-09 05:31:00 +00:00
DJ Delorie
758d77bec1 merge from gcc 2004-03-07 16:05:22 +00:00
DJ Delorie
2d7332114a merge from gcc 2004-02-25 05:40:03 +00:00
DJ Delorie
099f84cfba merge from gcc 2004-02-25 02:04:37 +00:00
DJ Delorie
74aee4eb9f merge from gcc 2004-02-24 16:30:50 +00:00
DJ Delorie
f937530551 merge from gcc 2004-02-17 02:11:39 +00:00
DJ Delorie
cbf0ee7967 merge from gcc 2004-01-26 12:52:10 +00:00
DJ Delorie
37254c9a9e merge from gcc 2004-01-22 19:34:11 +00:00
DJ Delorie
211333f61a merge from gcc 2004-01-15 16:34:19 +00:00
DJ Delorie
3795d586a3 merge from gcc 2004-01-14 22:01:54 +00:00
Daniel Jacobowitz
2d6520ee20 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
takes two parameters.
	* cp-demint.c (cplus_demangle_fill_component): Likewise.
2004-01-13 21:34:31 +00:00
DJ Delorie
5972747385 merge from gcc 2004-01-12 21:24:38 +00:00
DJ Delorie
13d40af009 merge from gcc 2004-01-10 04:10:18 +00:00
DJ Delorie
1a79b02433 merge from gcc 2004-01-10 04:04:05 +00:00
DJ Delorie
820542c970 merge from gcc 2004-01-02 21:11:34 +00:00
DJ Delorie
2f9c405836 merge from gcc 2003-12-26 16:27:37 +00:00
Daniel Jacobowitz
4fd47f10ae * Makefile.in (lbasename.o): Depend on filenames.h.
* lbasename.c: Include "filenames.h" instead of defining
	its macros locally.
2003-12-22 19:22:57 +00:00
DJ Delorie
b6fb00c07b merge from gcc 2003-12-22 16:03:32 +00:00
DJ Delorie
2730f65149 merge from gcc 2003-12-20 16:06:10 +00:00
DJ Delorie
d4edd1123b merge from gcc 2003-12-19 22:03:41 +00:00
DJ Delorie
d35d0cd43c merge from gcc 2003-12-16 00:58:45 +00:00
DJ Delorie
09e9708c4c merge from gcc 2003-12-15 19:03:58 +00:00
DJ Delorie
97ceaf5b4d merge from gcc 2003-12-15 17:45:42 +00:00
DJ Delorie
858b45cfbf merge from gcc 2003-12-04 20:03:39 +00:00
DJ Delorie
b52927b711 merge from gcc 2003-12-03 19:03:29 +00:00
DJ Delorie
24afc00d03 merge from gcc 2003-12-01 23:54:49 +00:00
DJ Delorie
331c3da232 merge from gcc 2003-11-27 01:17:34 +00:00
DJ Delorie
51948b34c5 merge from gcc 2003-11-25 22:35:33 +00:00
DJ Delorie
6d95373e7c merge from gcc 2003-11-24 19:33:33 +00:00
DJ Delorie
54a962d927 merge from gcc 2003-11-21 22:01:27 +00:00
DJ Delorie
8fe0d34792 merge from gcc 2003-11-21 21:02:26 +00:00
DJ Delorie
d00edca556 merge from gcc 2003-11-21 17:42:45 +00:00
DJ Delorie
dd9d4b48fd merge from gcc 2003-11-20 02:01:32 +00:00
DJ Delorie
0976f6a782 merge from gcc 2003-11-19 16:19:14 +00:00
DJ Delorie
5659daa1d9 merge from gcc 2003-11-18 19:10:05 +00:00
DJ Delorie
e7e6980b7e merge from gcc 2003-10-31 13:10:32 +00:00
DJ Delorie
2382c03f5a merge from gcc 2003-10-30 21:31:43 +00:00
DJ Delorie
686e72d729 merge from gcc 2003-10-30 18:39:13 +00:00
DJ Delorie
e281fb7919 merge from gcc 2003-10-21 00:06:36 +00:00
Joel Brobecker
eec65ede89 * cplus-dem.c (demangle_template): Register a new Btype only
when needed.
	* testsuite/demangle-expected: Add a new test.
2003-10-20 23:50:37 +00:00
H.J. Lu
cd275bff00 2003-10-14 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Update the expected output of
	_GLOBAL__I__Z2fnv.
2003-10-16 15:22:27 +00:00
Daniel Jacobowitz
e3b1168e9d * strerror.c: Revert last change. Declare static sys_nerr
and sys_errlist using different names.
2003-10-02 19:07:17 +00:00
Daniel Jacobowitz
efb150d5d8 * strerror.c: Don't provide or reference sys_errlist if
strerror is available.
2003-10-01 23:11:45 +00:00
H.J. Lu
b7ca9213c7 2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Check if $MAKEINFO is missing.
	* configure: Regenerated.
2003-10-01 17:12:11 +00:00
Daniel Jacobowitz
8ddbb5935d * configure.in: Use AC_PROG_CPP_WERROR.
* configure: Regenerated.
2003-09-25 14:26:41 +00:00
Andrew Cagney
5324d1855a 2003-09-22 Andrew Cagney <cagney@redhat.com>
* floatformat.h (struct floatformat): Add field "is_valid".

2003-09-22  Andrew Cagney  <cagney@redhat.com>

	* floatformat.c (floatformat_i387_ext_is_valid): New function.
	(floatformat_always_valid): New function.
	(floatformat_i387_ext): Initialize new "is_valid" field to
	"floatformat_i387_ext_is_valid".
	(floatformat_ieee_single_little): Initialize "is_valid" field to
	floatformat_always_valid.
	(floatformat_ieee_double_big): Ditto.
	(floatformat_ieee_double_little): Ditto.
	(floatformat_ieee_double_little): Ditto.
	(floatformat_ieee_double_littlebyte_bigword): Ditto.
	(floatformat_i960_ext): Ditto.
	(floatformat_m88110_ext): Ditto.
	(floatformat_m88110_harris_ext): Ditto.
	(floatformat_arm_ext_big): Ditto.
	(floatformat_arm_ext_littlebyte_bigword): Ditto.
	(floatformat_ia64_spill_big): Ditto.
	(floatformat_ia64_spill_little): Ditto.
	(floatformat_ia64_quad_big): Ditto.
	(floatformat_ia64_quad_little): Ditto.
	(floatformat_ia64_quad_little): Ditto.
	(floatformat_is_valid): Call "is_valid".
2003-09-22 17:41:02 +00:00
Andrew Cagney
34f4a11319 Index: include/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

	* floatformat.h (floatformat_to_double): Make input buffer constant.
	(floatformat_from_double, floatformat_is_valid): Ditto.

Index: libiberty/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

	* floatformat.c (get_field): Make "data" constant.
	(floatformat_is_valid, floatformat_to_double): Make "from"
	constant, fix casts.
	(floatformat_from_double): Make "from" constant.
2003-09-16 01:47:54 +00:00
Daniel Jacobowitz
3f2aacafdc * floatformat.c (floatformat_is_valid): New function.
(get_field, put_field): Correct comments.
2003-09-15 20:14:39 +00:00
DJ Delorie
aae66b9f43 merge from gcc 2003-09-06 23:51:12 +00:00
DJ Delorie
60b04ee881 merge from gcc 2003-09-03 00:03:18 +00:00
Daniel Jacobowitz
2299a76d2f * aclocal.m4: Include acx.m4 and no-executables.m4.
(libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
	(LIB_AC_PROG_CC): Remove.
	* configure.in: Update AC_PREREQ to 2.57.  Use GCC_NO_EXECUTABLES.
	Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
	LIB_AC_PROG_CC.  Use AC_LIBOBJ.  Call AC_ISC_POSIX later, only if
	performing link tests.
	* configure: Regenerated.
2003-08-27 21:15:13 +00:00
DJ Delorie
9ad1aa2911 merge from gcc 2003-08-12 12:23:42 +00:00
DJ Delorie
dbb9d0f3ee merge from gcc 2003-07-05 01:59:15 +00:00
DJ Delorie
ab8c7bb13f merge from gcc 2003-07-03 14:00:54 +00:00
H.J. Lu
78c5b0a5c0 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/demangle-expected: Add more GNU V3 testcases.
2003-06-26 19:08:40 +00:00
DJ Delorie
70ecf948d9 merge from gcc 2003-06-22 16:35:53 +00:00
DJ Delorie
cbc0188bd6 merge from gcc 2003-06-22 00:06:14 +00:00
DJ Delorie
5f73c3782d merge from gcc 2003-06-19 20:05:36 +00:00
DJ Delorie
e69f6c8c79 merge from gcc 2003-06-13 01:50:48 +00:00
DJ Delorie
54c60684a4 merge from gcc 2003-06-05 17:03:32 +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
DJ Delorie
916f5d137a * config.table: Accept i[345867]86 variant. 2003-05-20 02:49:35 +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
Jason Merrill
eafaf5ebda s/burtle/iterative 2003-05-07 20:30:13 +00:00
DJ Delorie
0f3538e70e merge from gcc 2003-05-07 19:15:59 +00:00
Jason Merrill
7108c5dc79 libiberty/
* hashtab.c (burtle_hash): New fn.
        * configure.in: Add AC_C_BIGENDIAN_CROSS.
        * aclocal.m4: Include accross.m4.
        * configure, config.in: Regenerate.
include/
        * hashtab.h (burtle_hash): Prototype.
        (burtle_hash_object): New macro.
2003-05-07 18:07:53 +00:00
DJ Delorie
0b55517356 merge from gcc 2003-05-04 23:05:58 +00:00
DJ Delorie
8730135a67 merge from gcc 2003-05-03 17:14:52 +00:00
DJ Delorie
341eccbc3e merge from gcc 2003-04-22 20:04:52 +00:00
DJ Delorie
2ed1e5cc55 merge from gcc 2003-04-16 23:09:21 +00:00
DJ Delorie
b496f1528d merge from gcc 2003-04-16 04:55:31 +00:00
DJ Delorie
10b57b38b3 merge from gcc 2003-04-16 03:51:54 +00:00
DJ Delorie
ff773b85a4 merge from gcc 2003-04-15 21:36:21 +00:00
DJ Delorie
1ea16ec5b4 merge from gcc 2003-04-15 21:29:34 +00:00
DJ Delorie
bb32582095 merge from gcc 2003-04-15 20:15:47 +00:00
DJ Delorie
258a4893ff merge from gcc 2003-04-15 15:27:20 +00:00
DJ Delorie
7ec2fc6f76 merge from gcc 2003-04-15 03:53:53 +00:00
DJ Delorie
eec539c779 merge from gcc 2003-04-15 03:02:18 +00:00
DJ Delorie
daf7c4ad3a merge from gcc 2003-04-14 18:27:58 +00:00
Alexandre Oliva
aa072e5934 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
instead of $$CC alone.
(install_to_tooldir): Use it.
2003-03-23 10:16:44 +00:00
DJ Delorie
f77ed96c7b merge from gcc 2003-03-17 18:01:07 +00:00
DJ Delorie
2336e17716 merge from gcc 2003-03-12 17:28:10 +00:00
DJ Delorie
c4d8feb262 merge from gcc 2003-03-12 15:08:02 +00:00
DJ Delorie
d8cbbf95b2 merge from gcc 2003-03-11 20:18:26 +00:00
DJ Delorie
a01fefebab merge from gcc 2003-03-04 03:02:50 +00:00
DJ Delorie
638ceb1a84 merge from gcc 2003-02-27 21:01:04 +00:00
DJ Delorie
ef8038066b merge from gcc 2003-02-27 15:17:29 +00:00
DJ Delorie
181fa22951 merge from gcc 2003-02-24 20:26:14 +00:00
DJ Delorie
cc52927424 merge from gcc 2003-02-22 17:08:34 +00:00
DJ Delorie
192cbe66da merge from gcc 2003-02-21 22:12:51 +00:00
DJ Delorie
900d2082a9 merge from gcc 2003-02-21 17:33:57 +00:00
DJ Delorie
4938384a1f merge from gcc 2003-02-21 01:35:29 +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
25dfe0ac20 merge from gcc 2003-02-20 21:05:37 +00:00
Alexandre Oliva
8b90eef446 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
config.status.
* configure: Rebuilt.
2003-02-20 09:08:42 +00:00
DJ Delorie
fcd7c7c9fd merge from gcc 2003-02-13 18:52:46 +00:00
DJ Delorie
073c427b16 merge from gcc 2003-02-13 02:10:04 +00:00
DJ Delorie
f8bd30003a merge from gcc 2003-02-04 02:13:39 +00:00
DJ Delorie
85b9a93839 merge from gcc 2003-01-30 20:00:42 +00:00
Alexandre Oliva
578460f23e * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
(info-subdir, install-info-subdir, clean-info-subdir)
(dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
(clean-subdir, distclean-subdir, maintainer-clean-subdir):
Pass $(FLAGS_TO_PASS).
2003-01-28 21:53:39 +00:00
Alexandre Oliva
7f285245cf * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
/`$$CC -print-multi-os-directory`.
2003-01-28 01:46:13 +00:00
Daniel Jacobowitz
5f9624e37e include/
* hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
	(struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f.
	(htab_create_alloc_ex): New prototype.
	(htab_set_functions_ex): New prototype.
libiberty/
	* hashtab.c (htab_create_alloc_ex): New function.
	(hatab_set_functions_ex): New function.
	(htab_delete, htab_expand): Support alternate allocation functions.
2003-01-26 07:33:29 +00:00
DJ Delorie
9c2259b8d5 merge from gcc 2003-01-25 00:23:30 +00:00