Commit Graph

390 Commits

Author SHA1 Message Date
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
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
DJ Delorie 2a80c0a458 merge from gcc 2002-11-22 21:02:14 +00:00
DJ Delorie 3ebf1f59ec merge whitespace tweaks from gcc 2002-11-16 22:12:28 +00:00
Jakub Jelinek 768b20d89f * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
used with arguments in traditional C' warnings.
2002-11-16 12:39:57 +00:00
Jakub Jelinek f52d1d6405 * config.bfd (s390-*-linux*): Add targ64_selvecs.
(s390x-*-linux*): Add targ_selvecs.

	* config.table: Use mh-s390pic for s390x too.

	* configure.tgt (s390x-*-linux*): Add elf_s390 emulation.
	(s390-*-linux*): Add elf64_s390 emulation if want64.
	* emulparams/elf64_sparc.sh (LIB_PATH): Update to match 2002-05-22
	genscript.sh changes.
	* emulparams/elf_x86_64.sh (LIB_PATH): Likewise.
	* emulparams/elf64_s390.sh (LIB_PATH): Set up native 64 bit dirs.
2002-10-16 19:54:54 +00:00
DJ Delorie 0d3deb8deb merge from gcc 2002-10-06 20:21:01 +00:00
DJ Delorie 1b67de929e merge from gcc 2002-09-23 12:08:57 +00:00
DJ Delorie 585cc78f65 merge from gcc 2002-09-20 13:45:20 +00:00
Nick Clifton e21b0cc13f Update email addresses for bugs and patches. 2002-09-19 18:07:44 +00:00
DJ Delorie a54ba43fe9 merge from gcc 2002-09-12 01:11:29 +00:00
DJ Delorie 01cea6990b merge from gcc 2002-09-06 00:03:11 +00:00
DJ Delorie a2832523bf merge from gcc 2002-08-07 21:01:25 +00:00
DJ Delorie 1e3f0be004 merge from gcc 2002-07-29 18:01:19 +00:00
DJ Delorie b851d07bfd merge from gcc 2002-07-10 00:01:58 +00:00
DJ Delorie 2a9dffbf14 merge from gcc 2002-07-09 01:01:18 +00:00
DJ Delorie 793011ca4e merge from gcc 2002-07-02 04:09:35 +00:00
DJ Delorie b39b76b8b5 merge from gcc 2002-07-01 18:02:30 +00:00
DJ Delorie 4748c6d894 merge from gcc 2002-06-22 13:31:20 +00:00
DJ Delorie f9c3326aec merge from gcc 2002-06-18 03:01:43 +00:00
DJ Delorie 1889369086 merge from gcc 2002-06-06 12:55:24 +00:00
DJ Delorie 9296c8b21e merge from gcc 2002-05-13 20:01:19 +00:00
DJ Delorie 52d98c2de8 merge from gcc 2002-05-08 14:22:36 +00:00
DJ Delorie cafa39179f merge from gcc 2002-05-07 19:04:21 +00:00
Richard Henderson b1c933fc52 * hashtab.c (higher_prime_number): Use 7 as minimum.
(find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.
2002-04-10 00:43:27 +00:00
DJ Delorie 0c4460bb3c merge from gcc 2002-04-01 22:01:20 +00:00
DJ Delorie f2160d2bd1 merge from gcc 2002-03-30 06:17:57 +00:00
DJ Delorie 7dd4d42a60 merge from gcc 2002-03-28 04:06:38 +00:00
DJ Delorie 38e57a35dc merge from gcc 2002-03-27 19:17:34 +00:00
DJ Delorie cfed07154c merge from gcc 2002-03-26 23:29:30 +00:00
DJ Delorie 1504972f60 merge from gcc 2002-03-18 20:01:35 +00:00
DJ Delorie 35efcd67ac merge from gcc 2002-03-12 21:11:11 +00:00
DJ Delorie dabc64ea5d merge from gcc 2002-03-11 15:16:08 +00:00
Jim Blandy 3ddbd84c49 * splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
prototyped definitions.  Mark `data' arguments as unused.
2002-03-07 00:16:50 +00:00
Andrew Cagney efdab8079f Remove floatformat_arm_ext. 2002-03-06 06:29:42 +00:00
DJ Delorie 50d4562d6e merge from gcc 2002-03-04 22:01:27 +00:00
DJ Delorie 6e9980f54d merge from gcc 2002-03-04 00:55:25 +00:00
Jim Blandy 2bbcdae974 include:
Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.

libiberty:

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.
2002-02-21 22:19:14 +00:00
DJ Delorie 59ea9fe7b6 merge from gcc 2002-02-19 21:01:40 +00:00
DJ Delorie 6f84855018 merge from gcc 2002-02-18 23:01:39 +00:00
DJ Delorie 44354ae183 merge from gcc 2002-02-05 17:53:17 +00:00
DJ Delorie 42da15d6b3 merge from gcc 2002-02-03 13:12:45 +00:00
DJ Delorie b117c15877 merge from gcc 2002-02-01 21:20:30 +00:00
DJ Delorie c78d91b126 merge from gcc 2002-02-01 01:34:09 +00:00
DJ Delorie bef8b55d39 merge from gcc 2002-01-31 19:01:15 +00:00
DJ Delorie 2c955b8b61 merge from gcc 2002-01-31 02:21:27 +00:00
Richard Henderson 58b1717a5e * configure.in (variable detection): Use arrays of unspecified
size instead of plain integers.
2002-01-22 22:32:35 +00:00
DJ Delorie cc096b7166 merge from gcc 2002-01-22 20:14:53 +00:00
DJ Delorie c23795e245 merge from gcc 2002-01-03 00:25:57 +00:00
DJ Delorie 20d54542b9 merge from gcc 2002-01-02 18:01:38 +00:00
DJ Delorie d86cd7453a merge from gcc 2002-01-01 17:46:09 +00:00
DJ Delorie f348a7b160 merge from gcc 2002-01-01 01:03:22 +00:00
DJ Delorie 15ae9e7145 merge from gcc 2001-12-24 19:13:07 +00:00
DJ Delorie ae53364610 merge from gcc 2001-12-13 00:05:32 +00:00
DJ Delorie c0eb281b9d merge from gcc 2001-12-11 14:46:51 +00:00
Richard Henderson 2da4c07f1c * demangle.h (no_demangling): New.
(NO_DEMANGLING_STYLE_STRING): New.

        * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
        (cplus_demangle): Support no_demangling.
2001-12-06 21:57:28 +00:00