]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
Synced with libiberty in the gcc repository.
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
eb383413 12000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 2
eb383413
L
3 * cp-demangle.c (demangle_operator_name): Add spaces before
4 names beginning with a letter: delete, delete[], new, new[],
5 sizeof.
6 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 7
eb383413
L
8Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
9
10 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
11
12Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
13
14 * cp-demangle.c (stdio.h): File included unconditionaly.
15 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
16 * dyn-string.c (stdio.h): File included.
17 * partition.c (partition_print): No `&' needed to take the address of
18 a function.
19
202000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21
22 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
23
24 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
25
26 * cp-demangle.c (demangle_char): Change parameter from char to int.
27 (demangle_expression, demangle_expr_primary): Remove extra
28 semi-colon in prototype.
29
30 * dyn-string.c (dyn_string_append_char): Change parameter from
31 char to int.
32
33 * memcmp.c (memcmp): Constify.
34
35 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
36 __extension__.
37
38 * partition.c (elem_compare): Prototype. Don't cast away
39 const-ness.
40
41 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
42
432000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
44
45 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
46
47 * cp-demangle.c: Include demangle.h.
48 (template_arg_list_new): DeANSIfy.
49 (cp_demangle): Make static and add prototype.
50 (operator_code, operators): Constify.
51 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
52
532000-06-05 Alex Samuel <samuel@codesourcery.com>
54
55 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
56 unsigned char.
57 (demangle_unqualified_name): Likewise.
58 (demangle_number_literally): Likewise.
59 (demangle_type): Likewise.
60 (demangle_substitution): Likewise.
61 (is_mangled_char): Likewise, for isalnum.
62
632000-06-04 Alex Samuel <samuel@codesourcery.com>
64
65 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
66 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
67 (cp-demangle.o): New dependency.
68 (dyn-string.o): Likewise.
69
70 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
71
72 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
73 demangler.
74 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
75 demangling mode.
76 (gnu_new_abi_symbol_characters): New function.
77 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
78 file.
79 * cp-demangle.c: New file.
80
f03aa80d
AC
81Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
82
83 * floatformat.c: Add name to each floatformat field.
84
77bfb694
JL
85Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
86
87 * Makefile.in (objalloc.o): Depend on config.h
88
5c82d20a
ZW
892000-05-29 Zack Weinberg <zack@wolery.cumb.org>
90
eb383413 91 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
92 if HAVE_STRING_H.
93 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
94 * objalloc.c: Include config.h. Include stdlib.h and don't
95 declare malloc or free if HAVE_STDLIB_H.
96 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
97 else declare malloc without prototype. Include string.h if
98 HAVE_STRING_H, else declare memset without prototype. Don't
99 include stddef.h.
100
eb383413
L
1012000-05-23 Mike Stump <mrs@wrs.com>
102
103 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
104 -j3.
105
1062000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
107
108 * xmalloc.c: Include config.h for HAVE_SBRK definition.
109
1102000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
111
112 * hashtab.c (hash_pointer): Delete low-order bits which are
113 probably zero, also eliminate a warning on alpha.
114
1152000-05-15 David Edelsohn <edelsohn@gnu.org>
116
117 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
118 on $(enable_shared).
119
1202000-05-10 Jakub Jelinek <jakub@redhat.com>
121
122 * config.table: Use mh-sparcpic for sparc*-*-*.
123
1242000-05-08 Nick Clifton <nickc@cygnus.com>
125
126 * Makefile.in (CFILES): Add strncmp.c.
127 (NEEDED): Add strncmp.
128
1292000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 130
eb383413
L
131 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
132 Cast the arguments to `islower' to `unsigned char'.
133 (print_demangler_list): Prototype.
134
135Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
136
137 * sort.c (UCHAR_MAX): Provide fallback definition.
138
1392000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
140
141 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
142 SUBDIRS.
143
eb383413
L
1442000-04-28 Kenneth Block <block@zk3.dec.com>
145 Jason Merrill <jason@casey.cygnus.com>
146
147 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
148 (cplus_demangle_set_style): New function for setting style.
149 (cplus_demangle_name_to_style): New function to translate name.
150
1512000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
152
153 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
154
155 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
156 (libiberty_AC_FUNC_STRNCMP): Invoke.
157
158 * strncmp.c: New file.
159
160Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
161
162 * hashtab.c (htab_expand): Add prototype.
163 (find_empty_slot_for_expand): Likewise.
164
1652000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
166
167 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
168 match prototype.
169 (htab_expand): Cast the return value of xcalloc.
170
1712000-04-24 Mark Mitchell <mark@codesourcery.com>
172
173 * hashtab.c (hash_pointer): New function.
174 (eq_pointer): Likewise.
175 (htab_hash_pointer): New variable.
176 (htab_eq_pointer): Likewise.
177
1782000-04-23 Mark Mitchell <mark@codesourcery.com>
179
180 * sort.c (sort_pointers): Fix endianness bugs.
181
182 * sort.c: New file.
183 * Makefile.in (CFILES): Add sort.c
184 (REQUIRED_OFILES): Add sort.o.
185 (sort.o): New target.
186
19be4303
JL
1872000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
188
189 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
190 4.3BSD systems.
191
eb383413
L
192Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
193
194 * hashtab.c: Various minor cleanups.
195 (htab_find_slot_with_hash): INSERT is now enum insert_option.
196 (htab_find_slot): Likewise.
197
1982000-04-16 Dave Pitts <dpitts@cozx.com>
199
200 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
201
afe36a78
RH
2022000-04-05 Richard Henderson <rth@cygnus.com>
203
204 * splay-tree.c (splay_tree_remove): New.
205
eb383413
L
2062000-03-30 Mark Mitchell <mark@codesourcery.com>
207
208 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
209 codes.
210 (htab_find_with_hash): Likewise.
211 (htab_find_slot_with_hash): Likewise.
212
2132000-03-29 Zack Weinberg <zack@wolery.cumb.org>
214
215 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
216 unless it will be used. Rearrange loop for better
217 optimization.
218 (higher_prime_number): Add static prototype.
219
b4fe2683
JM
220Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
221
222 * Makefile.in (partition.o): Depend on config.h
223
2242000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
225
226 * hashtab.c (find_empty_slot_for_expand): New function.
227 (htab_expand): Use it instead of htab_find_slot.
228 (htab_find_with_hash): Renamed from htab_find; now accepts extra
229 argument HASH.
230 (htab_find_slot_with_hash): Likewise for htab_find_slot.
231 (htab_find): New wrapper function.
232 (htab_find_slot): Likewise.
233 (htab_traverse): Pass slot, not entry, to called function.
234
2352000-03-09 Alex Samuel <samuel@codesourcery.com>
236
237 * Makefile.in (CFILES): Add partition.c.
238 (REQUIRED_OFILES): Add partition.o.
239 (partition.o): New rule.
240 * partition.c: New file.
241
2422000-03-09 Zack Weinberg <zack@wolery.cumb.org>
243
244 * hashtab.c (htab_create): Set del_f.
245 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
246 Use it.
247
2482000-03-08 Zack Weinberg <zack@wolery.cumb.org>
249
250 * hashtab.c: Remove debugging variables (all_searches,
251 all_collisions, all_expansions). Delete
252 all_hash_table_collisions.
253 (create_hash_table, delete_hash_table, empty_hash_table,
254 find_hash_table_entry, remove_element_from_hash_table_entry,
255 clear_hash_table_slot, traverse_hash_table, hash_table_size,
256 hash_table_elements_number, hash_table_collisions): Rename to:
257 htab_create, htab_delete, htab_empty, htab_find_slot,
258 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
259 htab_elements, htab_collisions.
260 (htab_find): New function, handles common case where you don't
261 plan to add or delete an entry.
262 (htab_expand): Don't create a whole new table, just a new
263 entry vector.
264 (htab_find_slot): Simplify logic.
265
08372f14
ILT
2661999-08-03 Ian Lance Taylor <ian@zembu.com>
267
268 * floatformat.c: Add casts to avoid signed/unsigned warnings.
269 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
270
271 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
272 $(TARGETLIB)n so it works on MSDOS.
273 (install_to_tooldir): Likewise.
274
9c8ac5a9
ILT
2751999-07-21 Ian Lance Taylor <ian@zembu.com>
276
277 From Mark Elbrecht:
278 * makefile.dos: Remove; obsolete.
8f36e47c 279 * configure.bat: Remove; obsolete.
9c8ac5a9 280
0c0a36a4
ILT
2811999-07-11 Ian Lance Taylor <ian@zembu.com>
282
283 * splay-tree.c (splay_tree_insert): Add initialization to avoid
284 warning.
285
2862000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
287
288 * pexecute.c: Conditionally include string.h.
b4fe2683 289 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
290
2912000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
292
293 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
294 we're using gcc.
295
296 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
297
2981999-12-27 Geoff Keating <geoffk@cygnus.com>
299
300 * vasprintf.c (int_vasprintf): Don't re-read the format character
301 as this mishandles strings like '%%s'.
302
3031999-12-05 Mark Mitchell <mark@codesourcery.com>
304
305 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
306 rather than struct splay_tree_node.
307 (splay_tree_insert): Use struct splay_tree_s rather than struct
308 splay_tree.
309
310Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
311
312 * hashtab.c (sys/types.h): File included.
313
3141999-11-22 Jason Merrill <jason@casey.cygnus.com>
315
316 * strtoul.c, strtol.c, random.c: Remove advertising clause from
317 BSD license, pursuant with
318
319 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
320
321Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
322
323 * hashtab.c: Include stdio.h.
324
325Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
326
327 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
328
329Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
330
331 * xstrdup (sys/types.h): Include this file.
332
3331999-10-28 Nathan Sidwell <nathan@acm.org>
334
335 * Makefile.in (SUBDIRS): New macro.
336 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
337 avoid multiple subdirectory cleaning.
338 (*-subdir): Use SUBDIRS.
339
3401999-10-25 Jim Kingdon <http://developer.redhat.com/>
341
342 * cplus-dem.c: Move declarations of standard_symbol_characters and
343 hp_symbol_characters inside #ifdef MAIN to avoid compiler
344 warnings.
345
3461999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
347
348 * hashtab.c (find_hash_table_entry): When returning a
349 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
350 (clear_hash_table_slot): New function which deletes an entry
351 by its position in the table, not its value.
352 (traverse_hash_table): New function which calls a hook
353 function for every live entry in the table.
354
3551999-10-19 Mark Mitchell <mark@codesourcery.com>
356
357 * cplus-dem.c (INTBUF_SIZE): New macro.
358 (string_append_template_idx): New function.
359 (demangle_expression): Likewise.
360 (demangle_integral_value): Use it.
361 (demangle_real_value): New function, split out from ...
362 (demangle_template_value_parm): ... here. Use
363 string_append_template_idx. Use demangle_real_value.
364 (demangle_template): Use string_append_template_idx.
365 (demangle_qualified): Use consume_count_with_underscores.
366 (get_count): Tweak formatting.
367 (do_type): Use string_append_template_idx.
b4fe2683 368
0c0a36a4
ILT
3691999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
370
371 * calloc.c: Add a public domain notice.
372
373Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
374
375 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
376
377Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
378
379 * Makefile.in (CFILES): Add hashtab.c
380 (REQUIRED_OFILES): Add hashtab.o
381 (hashtab.o): Add dependencies.
382 * hashtab.c: New file
383
384Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
385
386 * basename.c (DIR_SEPARATOR): New macro.
387 (DIR_SEPARATOR_2): Likewise.
388 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
389 (IS_DIR_SEPARATOR): Likewise.
390 (main): Handle MSDOS style pathname.
391
3921999-10-11 Mark Mitchell <mark@codesourcery.com>
393
394 * cplus-dem.c (do_type): Handle pointer to member types whose
395 enclosing classes have namespace scope.
396
397Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
398
399 * config.table: Provide a backup shell for executing move-if-change.
400
4011999-10-02 Mark Mitchell <mark@codesourcery.com>
402
403 * xmalloc.c (xmalloc): Fix spelling error.
404 (xcalloc, xrealloc): Likewise.
405
4061999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
407
408 * cplus-dem.c (fancy_abort, demangle_integral_value,
409 demangle_arm_hp_template, recursively_demangle,
410 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
411 (program_name, program_version, fatal): Constify a char*.
412 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
413 (main): Call return, not exit.
414
4151999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
416
417 * choose-temp.c: Remove obsolete comment about gcc.
418 (make_temp_file): Constify a char*.
419
420Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
421
422 * xmemdup.c: Include sys/types.h.
423
4241999-09-07 Jeff Garzik <jgarzik@pobox.com>
425
426 * xmemdup.c: New xmemdup function.
427 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
428
429Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
430
b4fe2683 431 * config.table: Add openedition target.
0c0a36a4
ILT
432 * config/mh-openedition: New file.
433
434Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
435
436 * pexecute.c (pexecute): Fill in temp_base when needed.
437
4381999-08-31 Richard Henderson <rth@cygnus.com>
439
440 * getpwd.c: Check HAVE_GETCWD before defining it away.
441
4421999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
443
444 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
445 (REQUIRED_OFILES): Add getpwd.o.
446 (getpwd.o): Add target.
447
448 * configure.in (AC_PREREQ): Bump to 2.13.
449 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
450
451 * getpwd.c: New file, moved here from gcc.
452
4531999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
454
455 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
456 comparing against a signed quantity.
457 (arm_special): Likewise.
458 (demangle_fund_type): Likewise.
459 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 460 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
461 (main): Constify variable `valid_symbols'.
462
463Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
464
465 * strtoul.c (strtoul): Add parentheses around && within ||.
466
467Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
468
469 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
470 libdir, libsubdir and tooldir.
471
4721999-08-01 Mark Mitchell <mark@codesourcery.com>
473
474 * splay-tree.c (splay_tree_insert): Return the new node.
475
35ca97ea
RH
4761999-07-14 Richard Henderson <rth@cygnus.com>
477
b4fe2683 478 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
479 prototyping directly.
480 * choose-temp.c: Conditionally include string.h.
481
0c0a36a4
ILT
4821999-07-12 Jason Merrill <jason@yorick.cygnus.com>
483
484 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
485
af32ff69
ILT
4861999-07-11 Ian Lance Taylor <ian@zembu.com>
487
488 * splay-tree.c (splay_tree_insert): Add initialization to avoid
489 warning.
490
0c0a36a4
ILT
4911999-07-07 Jason Merrill <jason@yorick.cygnus.com>
492
493 * Makefile.in (needed-list): Only include stuff we actually need
494 for libstdc++.
495
4961999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
497
498 * configure.in (checkfuncs): Add gettimeofday.
499 * config.in, configure: Regenerated.
500
501Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
502
503 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
504 the test fails.
505 * configure: Regenerate.
506
5071999-06-10 Mike Stump <mrs@wrs.com>
508
509 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
510 parallel builds.
511
5121999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
513
514 * putenv.c: Include ansidecl.h to define `const'.
515 * setenv.c: Likewise.
516
517Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
518
519 * Makefile.in (CFILES): Add putenv.c and setenv.c.
520 * configure.in (funcs): Add putenv and setenv.
521 (AC_CHECK_FUNCS): Check for putenv and setenv.
522 * configure: Rebuilt.
523 * putenv.c setenv.c: New files.
524
525 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
526 bytes of space using malloc.
527
528Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
529
530 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
531 the *mangled pointer beyond the end of the string. Clean up code to
532 match prevailing coding style.
533
5341999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
535
536 * tmpnam.c (L_tmpnam): Fix typo.
537
538Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
539
540 * cplus-dem.c (standard_symbol_characters): Renamed from
541 standard_symbol_alphabet. No longer modify TABLE.
542 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
543 modify TABLE.
544 (main): Corresponding changes. Use strchr to determine if a
545 character is valid.
546
e9868447
JB
5471999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
548
549 * cplus-dem.c (main): Use table lookup to distinguish identifier
550 characters from non-identifier characters.
551 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
552
33fbbfbc
RH
553Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
554
555 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
556 * getruntime.c: Only attempt to include sys/resource.h and
557 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
558 are defined.
559
0c0a36a4
ILT
560Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
561
562 * configure.in (alloca detection): Handle alloca directly for interix.
563 * configure: Rebuilt.
564
565Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
566
567 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
568
252b5132
RH
5691999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
570
571 Fix from Dale Hawkins:
b4fe2683 572 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
573 reallocated properly if we use it again.
574
575 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
576 stricter about syntax. Always null-terminate string.
577
c1687039
ILT
578Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
579
580 * configure.in (checkfuncs): Check for sbrk.
581 * config.in: Rebuilt.
582 * configure: Likewise.
583 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
584
0c0a36a4
ILT
5851999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
586
587 Fix from Marcus Daniels:
588 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
589 identifier looking for another underscore.
590
591Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
592
593 * pexecute.c: Change all references to __UWIN__ to _UWIN.
594 * xmalloc.c: Likewise.
595 (xcalloc): UWIN has sbrk.
596 (xrealloc): Fix guard macro.
597
252b5132
RH
5981999-04-11 Richard Henderson <rth@cygnus.com>
599
600 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
601 or <alloca.h>.
602 * clock.c (GNU_HZ): New definition.
603 (clock): Use it.
604 * getruntime.c: Likewise.
605
606 * config.table: Use mh-beos.
607 * config/mh-beos: New file.
608
0c0a36a4
ILT
6091999-04-11 Mark Mitchell <mark@codesourcery.com>
610
611 * cplus-dem.c (demangle_template_value_parm): Handle
612 pointers-to-members.
613 (do_type): Handle template parameters as qualifiers.
614
252b5132
RH
6151999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
616
617 * cplus-dem.c: Attempt to handle overflows in counts with some
618 semblance of grace.
619 (consume_count): Detect overflows. Return -1 to indicate errors,
620 instead of zero.
621 (demangle_template_value_parm, demangle_template): Handle change
622 to consume_count's return convention.
623
0c0a36a4
ILT
6241999-04-05 Tom Tromey <tromey@cygnus.com>
625
626 * testsuite/regress-demangle: New file.
627 * testsuite/demangle-expected: New file.
252b5132 628
0c0a36a4
ILT
629 * Makefile.in (all, check, installcheck, info, install-info,
630 clean-info, dvi, install, etags, tags, mostlyclean, clean,
631 distclean, maintainer-clean, realclean): Depend on corresponding
632 `-subdir' target.
633 (all-subdir check-subdir installcheck-subdir info-subdir
634 install-info-subdir clean-info-subdir dvi-subdir
635 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
636 distclean-subdir maintainer-clean-subdir): New target.
637 * testsuite/Makefile.in: New file.
638 * configure: Rebuilt.
639 * configure.in: Create testsuite/Makefile.
252b5132
RH
640
6411999-04-02 Mark Mitchell <mark@codesourcery.com>
642
643 * splay-tree.h (splay_tree_compare_pointers): Define.
644
6451999-03-30 Mark Mitchell <mark@codesourcery.com>
646
647 * splay-tree.c (splay_tree_compare_ints): Define.
648
6491999-03-30 Tom Tromey <tromey@cygnus.com>
650
651 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
652 don't advance input pointer.
653 (demangle_class_name): If consume_count didn't find a count, do
654 nothing. Don't bother with `strlen' sanity check; consume_count
655 does it for us.
656
6571999-03-16 Stan Shebs <shebs@andros.cygnus.com>
658
659 From Art Haas <ahaas@neosoft.com>:
660 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
661 when doing arm or hp style.
662 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 663
252b5132
RH
664Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
665
666 * pexecute.c (__CYGWIN32__): Rename to
667 (__CYGWIN__): this.
668 * xmalloc.c: Likewise.
669
670 Changes to support i386-pc-uwin.
671 * configure.in (*-*-uwin*): Workaround for vfork bug.
672 * configure: Regenerate.
673 * pexecute.c (pexecute): Be like standard Unix.
674 (pwait): Likewise.
675 * xmalloc.c (first_break): Define.
676 (xmalloc_set_program_name): Use.
677 (xmalloc): Use.
678
679Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
680
681 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
682
683Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
684
685 * config.table: Check cygwin*, not cygwin32*.
686
687Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
688
689 * Makefile.in: Change mkstemp -> mkstemps.
690
691Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
692
693 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
694 * configure.in (funcs): Check for and conditionally add mkstemps to
695 the list of functions libiberty will provide.
696 * configure: Rebuilt.
b4fe2683 697
252b5132
RH
698Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
699
b4fe2683 700 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
701 platforms that don't have HZ.
702 * getruntime.c (HZ): Likewise.
703
704Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
705
706 * Makefile.in (xstrdup.o): Depend on config.h.
707
708Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
709
710 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
711 freeing it.
712
713Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
714
715 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
716
717Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
718
719 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
720 splay-tree.o.
721
7221999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
723
724 * configure.in: Require autoconf 2.12.1 or higher.
725
7261998-12-30 Michael Meissner <meissner@cygnus.com>
727
728 * random.c (NULL): Don't redefine NULL if it is already defined.
729
730Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
731
732 * argv.c (buildargv): Cast the result of alloca in assignment.
733
734 * choose-temp.c: Include stdlib.h.
735
736 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
737 (snarf_numeric_literal): Constify first parameter.
738 (code_for_qualifier): Avoid a gcc extension, make the parameter an
739 int, not a char.
740 (demangle_qualifier): Likewise.
741 (demangle_signature): Cast the argument of a ctype function to
742 unsigned char.
743 (arm_pt): Add parens around assignment used as truth value.
744 (demangle_arm_hp_template): Constify variable `args'.
745 (do_hpacc_template_const_value): Cast the argument of a ctype
746 function to unsigned char.
747 (do_hpacc_template_literal): Remove unused variable `i'.
748 (snarf_numeric_literal): Constify parameter `args'.
749 Cast the argument of a ctype function to unsigned char.
750
751 * floatformat.c (floatformat_to_double): Add explicit braces to
752 avoid ambiguous `else'.
753
754 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
755 `cstart' and `cend' to unsigned char. Cast the argument of macro
756 `FOLD', which uses ctype functions, to unsigned char.
757
758 * objalloc.c (free): Add prototype.
759
760Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
761
762 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
763
764Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
765
766 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
767 doesn't exist.
768 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 769
252b5132
RH
770Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
771
772 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
773 bumping the pointer we read from. Also prepend these codes,
774 as we do in other places.
775
7761998-12-18 Nick Clifton <nickc@cygnus.com>
777
778 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
779 'const char *' in order to match its usage when calling siblings.
780 (snarf_numeric_literal): Make first arg 'const char **' in order
781 to match usage.
782
783Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
784
785 * choose-temp.c: Don't check IN_GCC anymore.
786
787 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
788 * memchr.c (memchr): Likewise.
789 * memcpy.c (memcpy): Likewise.
790 * memmove.c (memmove): Likewise.
791
792 * mkstemp.c: Don't check IN_GCC anymore.
793 * pexecute.c: Likewise.
794 * splay-tree.c: Likewise.
795
796 * strchr.c (strchr): Use `const', not `CONST'.
797 * strrchr.c (strrchr): Likewise.
798 * strtol.c (strtol): Likewise.
799 * strtoul.c (strtoul): Likewise.
800
801Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
802 Elena Zannoni <ezannoni@cygnus.com>
803 Stan Shebs <shebs@cygnus.com>
804 Edith Epstein <eepstein@cygnus.com>
805 Andres MacLeod <amacleod@cygnus.com>
806 Satish Pai <pai@apollo.hp.com>
807
808 * HP aCC demangling support.
809 * cplus-dem.c
810 (main): Remove default to HP style demangling, set to EDG
811 demangling correctly when -edg specified; set the demangling style
812 when user specifies 'edg'. Set strip_underscore to
813 prepends_underscore, if not HPUXHPPA. Set
814 current_demangling_style to hp_demangling if HPUXHPPA. Set
815 current demangling style correctly if the switch is hp. Read
816 label correctly also in the HP style case.
817 (work_stuff): add temp_start field; add field for volatile member
818 function.
819 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
820 style for this case is the same as ARM.
821 (demangle_args): handle EDG_DEMANGLING style; support HP style.
822 (demangle_arm_hp_template): new function. (It was
823 demangle_arm_pt.); check and set value of temp_start field in
824 multiple places. Also, when ceching for end of template args,
825 check to see if at end of static member of template class.
826 (demangle_class): new local variable : save_class_name_end Don't
827 include template args in string defining class.
828 (demangle_class_name): use demangel_arm_hp_template.
829 (demangle_function_name): handle case where demangling style is
830 HP_DEMANGLING and currently point at an 'X' in the mangled name.
831 Handle EDG_DEMANGLING style. Handle constructor and destructor
832 ops for HP style.
833 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
834 styles. global destructor and constructor for HP style are same
835 as for ARM style. Same for local variables.
836 (demangle_qualified): handle EDG_DEMANGLING style.
837 (demangle_signature): add case for volatile member function. For
838 cases '1' - '9' : initialize the temp_start field to -1 and handle
839 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
840 and AUTO_DEMANGLING styles. If expecting a function and managed
841 to demangle the funct args, then handle the LUCID_DEMANGLING,
842 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
843 class name after "Lnnn_ in HP style case. HP style too needs to
844 forget types. _nnn is OK for HP style, so don't report failure.
845 (do_hpacc_template_const_value): new function. Handle template's
846 value param for HP/aCC.
847 (do_hpacc_template_literal): new function. Handle a template's
848 literal parameter for HP aCC.
849 (recursively_demangle): new function
850 (snarf_numeric_literal): new function.
851 (usage): add 'edg' to the list of demangling styles; add hp switch
852 to message.
853
854Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
855
856 * pexecute.c: Remove obsolete ifdefed cygwin code.
857
858Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
859
860 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
861 * cplus-dem.c: Likewise. Conform to libiberty.h.
862 * pexecute.c: Likewise.
863 * splay-tree.c: Likewise.
864
8651998-11-25 Mike Stump <mrs@wrs.com>
866
867 * Makefile.in (splay-tree.o): Add config.h dependency.
868
869Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
870
871 * configure.in: Use AC_PREREQ(2.12.1).
872
8731998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
874
b4fe2683 875 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
876
877Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
878
879 * mpw.c (mpw_access): Add missing parens.
880
881Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
882
883 * configure.in: Call AC_HEADER_SYS_WAIT.
884
885 * pexecute.c: Include sys/wait.h when !IN_GCC.
886
887Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
888
889 * pexecute.c: revert back to checking old Cygwin
890 preprocessor symbol until some time has passed.
891
892Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
893
894 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
895 since it will now support similar constructs.
896
897Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
898
899 * configure.in: Check for calloc.
900
901 * calloc.c: New file.
902
903 * xmalloc.c (xcalloc): New function.
904
905Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
906
907 *cplus-dem.c (demangle_prefix): Use the last "__"
908 in the mangled name when looking for the signature. This allows
909 template names to begin with "__".
910
9111998-11-08 Mark Mitchell <mark@markmitchell.com>
912
913 * cplus-dem.c (type_kind_t): Add tk_reference.
914 (demangle_template_value_parm): Handle it.
915 (do_type): Use it for references, instead of tk_pointer.
916
917 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
918 not internal_cplus_demangle.
919
920Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
921
922 * choose-temp.c: Don't include gansidecl.h.
923 * mkstemp.c: Likewise.
924 * pexecute.c: Likewise.
925
926Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
927
b4fe2683
JM
928 * configure.in: detect cygwin* instead of cygwin32*
929 * configure: regenerate
252b5132
RH
930
931Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
932
933 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
934 whether to include config.h. Possibly include unistd.h in the
935 !IN_GCC case. Define VFORK_STRING as a printable function call
936 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
937 defined, include vfork.h. If VMS is defined, define vfork()
938 appropriately. Remove vfork check on USG, we're using autoconf.
939 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
940 locally what string to use.
941
9421998-10-26 Mark Mitchell <mark@markmitchell.com>
943
944 * splay-tree.c: Tweak include directives to make sure declarations of
945 xmalloc and free are available.
946
9471998-10-25 Mark Mitchell <mark@markmitchell.com>
948
949 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
950 anonymous namespaces.
951
9521998-10-23 Mark Mitchell <mark@markmitchell.com>
953
954 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
955 with type_quals.
956 (TYPE_UNQUALIFIED): New macro.
957 (TYPE_QUAL_CONST): Likewise.
958 (TYPE_QUAL_VOLATILE): Likewise.
959 (TYPE_QUAL_RESTRICT): Likewise.
960 (code_for_qualifier): New function.
961 (qualifier_string): Likewise.
962 (demangle_qualifier): Likewise.
963 (internal_cplus_demangle): Use them.
964 (demangle_signature): Likewise.
965 (demangle_template_value_parm): Likewise.
966 (do_type): Likewise.
967 (demangle_fund_type)): Likewise.
968
969Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
970
971 * splay-tree.c (splay_tree_foreach_helper): Make definition static
972 to match prototype.
973
9741998-10-21 Mark Mitchell <mark@markmitchell.com>
975
976 * splay-tree.c: New file.
977 * Makefile.in (CFILES): Add it.
978 (REQUIRED_OFILES): Likewise.
979 (splay-tree.o): Add dependencies.
980
981Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
982
983 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
984 range of 'K' index.
985
986Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
987
988 * choose-temp.c: Prototype mkstemps() when IN_GCC.
989
990 * cplus-dem.c (consume_count): Cast argument of ctype macro to
991 `unsigned char'.
992 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
993 comparing against one.
994 (cplus_mangle_opname): Likewise.
995 (demangle_integral_value): Cast argument of ctype macro to
996 `unsigned char'.
997 (demangle_template_value_parm): Likewise.
998 (demangle_template): Initialize variable `bindex'. Cast the
999 result of `strlen' to (int) when comparing against one. Remove
1000 unused variable `start_of_value_parm'.
1001 (demangle_class_name): Cast the result of `strlen' to (int) when
1002 comparing against one.
1003 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1004 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1005 when comparing against one.
1006 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1007 (get_count): Likewise.
1008 (do_type): Likewise. Cast the result of `strlen' to (int) when
1009 comparing against one.
1010 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1011 (demangle_function_name): Cast the result of `strlen' to (int)
1012 when comparing against one.
1013
1014 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1015 comparing against one.
1016
1017Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1018
b4fe2683
JM
1019 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1020 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1021 * config.in, configure: Rebuilt.
252b5132
RH
1022
1023 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1024 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1025 * config.in, configure: Rebuilt.
1026
1027Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1028
b4fe2683 1029 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1030
1031Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1032
1033 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1034
1035Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1036
1037 * Merge egcs & devo libiberty.
1038
1039