Commit Graph

244 Commits

Author SHA1 Message Date
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
DJ Delorie
5a17353c6b merge from gcc 2003-01-24 21:31:35 +00:00
DJ Delorie
eed2b28c05 merge from gcc 2003-01-20 19:03:56 +00:00
DJ Delorie
27a39a5f0a merge from gcc 2003-01-09 14:39:43 +00:00
DJ Delorie
b51c15537d merge from gcc 2002-12-04 02:05:31 +00:00
DJ Delorie
756954c3c9 merge from gcc 2002-11-24 15:59:22 +00:00