Commit Graph

306 Commits

Author SHA1 Message Date
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
DJ Delorie
24acd898d2 merge from gcc 2001-11-28 02:11:49 +00:00
DJ Delorie
fec501579d merge from gcc 2001-11-26 22:25:58 +00:00
DJ Delorie
5527febf4d merge from gcc 2001-11-26 21:23:10 +00:00
DJ Delorie
941d74a0b0 merge from gcc 2001-11-16 22:31:03 +00:00
DJ Delorie
dc5790516e merge from gcc 2001-11-15 19:06:06 +00:00
DJ Delorie
1a78a35acf merge from gcc 2001-11-13 03:54:15 +00:00
DJ Delorie
4e55c4b6b4 merge from gcc 2001-11-05 01:12:22 +00:00
DJ Delorie
d311a83ab4 merge from gcc 2001-10-23 15:32:45 +00:00
DJ Delorie
3bc62f91f4 merge from gcc 2001-10-21 00:08:22 +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
e6450fe561 merge from gcc 2001-10-07 17:24:36 +00:00
DJ Delorie
da191b5b76 merge from gcc 2001-09-29 16:55:59 +00:00
DJ Delorie
916aaa1251 merge from gcc 2001-09-29 03:19:56 +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
DJ Delorie
66c94e19fc merge from gcc 2001-09-25 23:02:03 +00:00
DJ Delorie
99ee3a8f13 merge from gcc 2001-09-24 23:37:52 +00:00
DJ Delorie
54c2024269 merge from gcc 2001-09-17 23:11:04 +00:00
DJ Delorie
843f21be9e merge from gcc 2001-09-04 21:33:56 +00:00
DJ Delorie
8a423cb3d6 merge from gcc 2001-08-27 20:05:03 +00:00
DJ Delorie
dc67663583 merge from gcc 2001-08-23 16:38:09 +00:00
DJ Delorie
f080c76dc0 merge from gcc 2001-08-22 22:55:38 +00:00
DJ Delorie
f01b59ed06 merge from gcc 2001-08-22 02:12:15 +00:00
DJ Delorie
8e777d6aa9 merge from gcc 2001-08-21 15:19:19 +00:00
Andrew Cagney
eb82859947 * floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.
2001-08-21 00:20:07 +00:00
DJ Delorie
68a41de77d merge from gcc 2001-08-17 21:14:20 +00:00
DJ Delorie
8fc3479902 merge from gcc 2001-08-17 06:33:05 +00:00
DJ Delorie
8aefe91ac7 sync with gcc - whitespace differences, one missing entry, and one
rearrangement.
2001-08-14 14:08:12 +00:00
Andrew Cagney
16bad250ba * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
name.
2001-08-14 01:34:00 +00:00
DJ Delorie
a9022147a2 merge from gcc 2001-08-13 02:25:01 +00:00
Andrew Cagney
3ea71002e4 (lbasename): Change function declaration to return a const char pointer. 2001-08-10 23:46:17 +00:00
DJ Delorie
e7e9b06936 merge from gcc 2001-08-09 00:05:37 +00:00
DJ Delorie
cc5144f8c0 merge from gcc 2001-08-04 01:07:57 +00:00
DJ Delorie
65a4f13c67 merge from gcc 2001-07-30 20:02:22 +00:00
DJ Delorie
86710ce268 merge from gcc 2001-07-30 17:39:28 +00:00
DJ Delorie
a5d8f731bf merge from gcc 2001-07-26 14:14:49 +00:00
DJ Delorie
6ad8a379a0 merge from gcc 2001-07-19 00:04:29 +00:00
DJ Delorie
2a6ef46975 merge from gcc 2001-07-11 00:15:54 +00:00
DJ Delorie
7b78baae9b merge from gcc 2001-07-05 17:29:17 +00:00
DJ Delorie
926150e277 merge from gcc 2001-06-18 21:16:33 +00:00
DJ Delorie
11f6f21d46 merge from gcc 2001-06-12 13:16:43 +00:00
DJ Delorie
d42dae6cb2 merge from gcc 2001-06-11 00:07:54 +00:00
DJ Delorie
e05c6d27bf merge from gcc 2001-05-16 21:04:30 +00:00
DJ Delorie
b50c407366 merge from gcc 2001-05-09 20:08:48 +00:00
DJ Delorie
457161bf17 merge from gcc 2001-05-08 14:35:18 +00:00
DJ Delorie
e00bc6a7ba merge from gcc 2001-05-07 16:21:15 +00:00
DJ Delorie
0279cc646c sync with egcs 2001-04-16 18:42:41 +00:00
Daniel Berlin
a5dd804ef9 Forgot the makefile portion 2001-04-16 14:11:24 +00:00
Daniel Berlin
400ee7e1e2 2001-04-15 Daniel Berlin <dan@cgsoftware.com>
* ternary.c: New file - Ternary search tree implementation.

2001-04-15  Daniel Berlin  <dan@cgsoftware.com>

	* ternary.h: New file - Ternary search tree header.
2001-04-16 14:10:14 +00:00
DJ Delorie
d969735448 merge from gcc 2001-04-04 01:16:27 +00:00
DJ Delorie
a7bf099bb7 merge from gcc 2001-03-28 17:38:43 +00:00
DJ Delorie
30a1def20d merge from gcc 2001-03-28 05:02:47 +00:00
DJ Delorie
079c672a7a merge from gcc 2001-03-23 23:57:50 +00:00
Jim Blandy
a88e356aab * cp-demangle.c (string_list_delete): Don't forget to free the
actual contents of the string.
2001-03-22 15:16:04 +00:00
DJ Delorie
1dffcc6638 merge from gcc 2001-03-21 20:12:30 +00:00
Jim Blandy
e61231f114 * libiberty/cp-demangle.c (struct demangling_def): New fields:
is_constructor and is_destructor.
(demangling_new): Initialize them.
(demangle_ctor_dtor_name): Set them, if we detect a constructor
or destructor.
(demangle_v3_with_details, is_gnu_v3_mangled_ctor,
is_gnu_v3_mangled_dtor): New functions.

* include/demangle.h (enum gnu_v3_constructor_kinds,
is_gnu_v3_mangled_ctor, enum gnu_v3_destructor_kinds,
is_gnu_v3_mangled_dtor): New declarations.
2001-03-20 18:22:38 +00:00
DJ Delorie
a9cbbe6d3e merge from gcc 2001-03-20 17:09:17 +00:00
DJ Delorie
06b0287c20 merge from gcc 2001-03-15 22:02:06 +00:00
DJ Delorie
b1e51b3cd9 merge from gcc 2001-03-15 21:07:01 +00:00
DJ Delorie
fa03f0a706 Fix minor formatting bugs. 2001-03-14 20:46:12 +00:00
DJ Delorie
8aa30e60ce merge from gcc 2001-03-10 22:23:50 +00:00
DJ Delorie
abde120385 merge from gcc 2001-03-06 19:03:36 +00:00
DJ Delorie
30673bf511 merge from gcc 2001-03-06 18:27:14 +00:00
DJ Delorie
5810f3948f merge from gcc 2001-03-05 19:42:04 +00:00
DJ Delorie
a9db032a7a merge from gcc 2001-02-17 00:11:29 +00:00
DJ Delorie
c91db3ccc1 merge from gcc 2001-02-02 20:08:59 +00:00
DJ Delorie
bc9bf2596e merge from gcc 2001-02-02 18:58:51 +00:00
Michael Sokolov
9d969b59b8 Remove extraneous tab from the blank line after the most recent entry 2001-01-27 17:28:11 +00:00
DJ Delorie
f65288376e * fnmatch.c: Make the note about the origins of this file more
accurate, at least until we can sync with glibc.
* getopt.c: Ditto.
* getopt1.c: Ditto.
* md5.c: Ditto.
* obstack.c: Ditto.
2000-12-29 20:16:02 +00:00
DJ Delorie
c6da642e79 * bsearch.c: New file.
* configure.in (funcs): Add bsearch.
(AC_CHECK_FUNCS): Likewise.
* configure, config.in: Regenerate.
2000-12-26 22:19:44 +00:00
Nick Clifton
ae7d06ad04 Synchronise with master FSF GCC sources 2000-12-26 18:17:51 +00:00
DJ Delorie
f021637a75 * safe-ctype.c: #include "ansidecl.h".
* strtod.c: Likewise.
* strtoul.c: Include safe-ctype.h, not ctype.h.
2000-12-17 03:07:49 +00:00
DJ Delorie
c00c39edd4 Add - before rms to be more portable. 2000-12-09 16:10:41 +00:00
DJ Delorie
ac424eb32c * safe-ctype.c: New file.
* Makefile.in (CFILES): Add safe-ctype.c.
(REQUIRED_OFILES): Add safe-ctype.o.

* argv.c: Define ISBLANK and use it, not isspace.
* basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h.  Use
uppercase ctype macros.  Don't test ISUPPER(c)/ISLOWER(c)
before calling TOLOWER(c)/TOUPPER(c).
2000-12-08 16:37:01 +00:00
DJ Delorie
4415a860ff * Makefile.in (distclean): When cleaning, remove testsuite. 2000-12-07 23:14:29 +00:00
DJ Delorie
849ee22471 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
name before allocating the dyn_string.
2000-12-05 19:08:13 +00:00
DJ Delorie
e49a569c10 * cp-demangle.c: s/new_abi/v3/.
* cplus-dem.c: Likewise.
(current_demangling_style): Now auto_demangling.
(cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
(main): Use standard symbol chars for auto_demangling.
2000-12-05 16:51:29 +00:00
DJ Delorie
92655e1933 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.

* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
2000-11-29 20:07:08 +00:00
DJ Delorie
5ca0f83d75 * hashtab.c (higher_prime_number): Use a table, rather than a
seive, to find the next prime.
2000-11-29 19:19:10 +00:00
DJ Delorie
2ea7befd8e * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
(AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
* configure.in: Call AC_C_INLINE and AC_C_CONST.  Use three
argument form of AC_DEFINE in dummy definitions block.  Use
AC_DEFINE_NOAUTOHEADER for real definitions of things defined
in dummy block.  Preload cache variables instead of bypassing
tests, where possible.
* acconfig.h: Removed.
* xmalloc.c (xmalloc_failed): New function, does error
reporting on failed allocation.
(xmalloc, xcalloc, xrealloc): Use it.
2000-11-29 19:17:37 +00:00
Hans-Peter Nilsson
9c26dc82b6 * cplus-dem.c (main): Handle gnat_demangling. 2000-11-23 00:08:38 +00:00