A misc IA-64 ELF patch I missed in the first pass.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
afe36a78
RH
12000-04-05 Richard Henderson <rth@cygnus.com>
2
3 * splay-tree.c (splay_tree_remove): New.
4
b4fe2683
JM
5Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
6
7 * Makefile.in (partition.o): Depend on config.h
8
92000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
10
11 * hashtab.c (find_empty_slot_for_expand): New function.
12 (htab_expand): Use it instead of htab_find_slot.
13 (htab_find_with_hash): Renamed from htab_find; now accepts extra
14 argument HASH.
15 (htab_find_slot_with_hash): Likewise for htab_find_slot.
16 (htab_find): New wrapper function.
17 (htab_find_slot): Likewise.
18 (htab_traverse): Pass slot, not entry, to called function.
19
202000-03-09 Alex Samuel <samuel@codesourcery.com>
21
22 * Makefile.in (CFILES): Add partition.c.
23 (REQUIRED_OFILES): Add partition.o.
24 (partition.o): New rule.
25 * partition.c: New file.
26
272000-03-09 Zack Weinberg <zack@wolery.cumb.org>
28
29 * hashtab.c (htab_create): Set del_f.
30 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
31 Use it.
32
332000-03-08 Zack Weinberg <zack@wolery.cumb.org>
34
35 * hashtab.c: Remove debugging variables (all_searches,
36 all_collisions, all_expansions). Delete
37 all_hash_table_collisions.
38 (create_hash_table, delete_hash_table, empty_hash_table,
39 find_hash_table_entry, remove_element_from_hash_table_entry,
40 clear_hash_table_slot, traverse_hash_table, hash_table_size,
41 hash_table_elements_number, hash_table_collisions): Rename to:
42 htab_create, htab_delete, htab_empty, htab_find_slot,
43 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
44 htab_elements, htab_collisions.
45 (htab_find): New function, handles common case where you don't
46 plan to add or delete an entry.
47 (htab_expand): Don't create a whole new table, just a new
48 entry vector.
49 (htab_find_slot): Simplify logic.
50
08372f14
ILT
511999-08-03 Ian Lance Taylor <ian@zembu.com>
52
53 * floatformat.c: Add casts to avoid signed/unsigned warnings.
54 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
55
56 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
57 $(TARGETLIB)n so it works on MSDOS.
58 (install_to_tooldir): Likewise.
59
9c8ac5a9
ILT
601999-07-21 Ian Lance Taylor <ian@zembu.com>
61
62 From Mark Elbrecht:
63 * makefile.dos: Remove; obsolete.
8f36e47c 64 * configure.bat: Remove; obsolete.
9c8ac5a9 65
0c0a36a4
ILT
661999-07-11 Ian Lance Taylor <ian@zembu.com>
67
68 * splay-tree.c (splay_tree_insert): Add initialization to avoid
69 warning.
70
712000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
72
73 * pexecute.c: Conditionally include string.h.
b4fe2683 74 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
75
762000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
77
78 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
79 we're using gcc.
80
81 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
82
831999-12-27 Geoff Keating <geoffk@cygnus.com>
84
85 * vasprintf.c (int_vasprintf): Don't re-read the format character
86 as this mishandles strings like '%%s'.
87
881999-12-05 Mark Mitchell <mark@codesourcery.com>
89
90 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
91 rather than struct splay_tree_node.
92 (splay_tree_insert): Use struct splay_tree_s rather than struct
93 splay_tree.
94
95Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
96
97 * hashtab.c (sys/types.h): File included.
98
991999-11-22 Jason Merrill <jason@casey.cygnus.com>
100
101 * strtoul.c, strtol.c, random.c: Remove advertising clause from
102 BSD license, pursuant with
103
104 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
105
106Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
107
108 * hashtab.c: Include stdio.h.
109
110Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
111
112 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
113
114Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
115
116 * xstrdup (sys/types.h): Include this file.
117
1181999-10-28 Nathan Sidwell <nathan@acm.org>
119
120 * Makefile.in (SUBDIRS): New macro.
121 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
122 avoid multiple subdirectory cleaning.
123 (*-subdir): Use SUBDIRS.
124
1251999-10-25 Jim Kingdon <http://developer.redhat.com/>
126
127 * cplus-dem.c: Move declarations of standard_symbol_characters and
128 hp_symbol_characters inside #ifdef MAIN to avoid compiler
129 warnings.
130
1311999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
132
133 * hashtab.c (find_hash_table_entry): When returning a
134 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
135 (clear_hash_table_slot): New function which deletes an entry
136 by its position in the table, not its value.
137 (traverse_hash_table): New function which calls a hook
138 function for every live entry in the table.
139
1401999-10-19 Mark Mitchell <mark@codesourcery.com>
141
142 * cplus-dem.c (INTBUF_SIZE): New macro.
143 (string_append_template_idx): New function.
144 (demangle_expression): Likewise.
145 (demangle_integral_value): Use it.
146 (demangle_real_value): New function, split out from ...
147 (demangle_template_value_parm): ... here. Use
148 string_append_template_idx. Use demangle_real_value.
149 (demangle_template): Use string_append_template_idx.
150 (demangle_qualified): Use consume_count_with_underscores.
151 (get_count): Tweak formatting.
152 (do_type): Use string_append_template_idx.
b4fe2683 153
0c0a36a4
ILT
1541999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
155
156 * calloc.c: Add a public domain notice.
157
158Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
159
160 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
161
162Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
163
164 * Makefile.in (CFILES): Add hashtab.c
165 (REQUIRED_OFILES): Add hashtab.o
166 (hashtab.o): Add dependencies.
167 * hashtab.c: New file
168
169Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
170
171 * basename.c (DIR_SEPARATOR): New macro.
172 (DIR_SEPARATOR_2): Likewise.
173 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
174 (IS_DIR_SEPARATOR): Likewise.
175 (main): Handle MSDOS style pathname.
176
1771999-10-11 Mark Mitchell <mark@codesourcery.com>
178
179 * cplus-dem.c (do_type): Handle pointer to member types whose
180 enclosing classes have namespace scope.
181
182Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
183
184 * config.table: Provide a backup shell for executing move-if-change.
185
1861999-10-02 Mark Mitchell <mark@codesourcery.com>
187
188 * xmalloc.c (xmalloc): Fix spelling error.
189 (xcalloc, xrealloc): Likewise.
190
1911999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
192
193 * cplus-dem.c (fancy_abort, demangle_integral_value,
194 demangle_arm_hp_template, recursively_demangle,
195 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
196 (program_name, program_version, fatal): Constify a char*.
197 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
198 (main): Call return, not exit.
199
2001999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
201
202 * choose-temp.c: Remove obsolete comment about gcc.
203 (make_temp_file): Constify a char*.
204
205Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
206
207 * xmemdup.c: Include sys/types.h.
208
2091999-09-07 Jeff Garzik <jgarzik@pobox.com>
210
211 * xmemdup.c: New xmemdup function.
212 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
213
214Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
215
b4fe2683 216 * config.table: Add openedition target.
0c0a36a4
ILT
217 * config/mh-openedition: New file.
218
219Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
220
221 * pexecute.c (pexecute): Fill in temp_base when needed.
222
2231999-08-31 Richard Henderson <rth@cygnus.com>
224
225 * getpwd.c: Check HAVE_GETCWD before defining it away.
226
2271999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
228
229 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
230 (REQUIRED_OFILES): Add getpwd.o.
231 (getpwd.o): Add target.
232
233 * configure.in (AC_PREREQ): Bump to 2.13.
234 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
235
236 * getpwd.c: New file, moved here from gcc.
237
2381999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
239
240 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
241 comparing against a signed quantity.
242 (arm_special): Likewise.
243 (demangle_fund_type): Likewise.
244 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 245 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
246 (main): Constify variable `valid_symbols'.
247
248Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
249
250 * strtoul.c (strtoul): Add parentheses around && within ||.
251
252Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
253
254 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
255 libdir, libsubdir and tooldir.
256
2571999-08-01 Mark Mitchell <mark@codesourcery.com>
258
259 * splay-tree.c (splay_tree_insert): Return the new node.
260
35ca97ea
RH
2611999-07-14 Richard Henderson <rth@cygnus.com>
262
b4fe2683 263 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
264 prototyping directly.
265 * choose-temp.c: Conditionally include string.h.
266
0c0a36a4
ILT
2671999-07-12 Jason Merrill <jason@yorick.cygnus.com>
268
269 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
270
af32ff69
ILT
2711999-07-11 Ian Lance Taylor <ian@zembu.com>
272
273 * splay-tree.c (splay_tree_insert): Add initialization to avoid
274 warning.
275
0c0a36a4
ILT
2761999-07-07 Jason Merrill <jason@yorick.cygnus.com>
277
278 * Makefile.in (needed-list): Only include stuff we actually need
279 for libstdc++.
280
2811999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
282
283 * configure.in (checkfuncs): Add gettimeofday.
284 * config.in, configure: Regenerated.
285
286Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
287
288 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
289 the test fails.
290 * configure: Regenerate.
291
2921999-06-10 Mike Stump <mrs@wrs.com>
293
294 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
295 parallel builds.
296
2971999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
298
299 * putenv.c: Include ansidecl.h to define `const'.
300 * setenv.c: Likewise.
301
302Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
303
304 * Makefile.in (CFILES): Add putenv.c and setenv.c.
305 * configure.in (funcs): Add putenv and setenv.
306 (AC_CHECK_FUNCS): Check for putenv and setenv.
307 * configure: Rebuilt.
308 * putenv.c setenv.c: New files.
309
310 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
311 bytes of space using malloc.
312
313Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
314
315 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
316 the *mangled pointer beyond the end of the string. Clean up code to
317 match prevailing coding style.
318
3191999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
320
321 * tmpnam.c (L_tmpnam): Fix typo.
322
323Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
324
325 * cplus-dem.c (standard_symbol_characters): Renamed from
326 standard_symbol_alphabet. No longer modify TABLE.
327 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
328 modify TABLE.
329 (main): Corresponding changes. Use strchr to determine if a
330 character is valid.
331
e9868447
JB
3321999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
333
334 * cplus-dem.c (main): Use table lookup to distinguish identifier
335 characters from non-identifier characters.
336 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
337
33fbbfbc
RH
338Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
339
340 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
341 * getruntime.c: Only attempt to include sys/resource.h and
342 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
343 are defined.
344
0c0a36a4
ILT
345Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
346
347 * configure.in (alloca detection): Handle alloca directly for interix.
348 * configure: Rebuilt.
349
350Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
351
352 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
353
252b5132
RH
3541999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
355
356 Fix from Dale Hawkins:
b4fe2683 357 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
358 reallocated properly if we use it again.
359
360 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
361 stricter about syntax. Always null-terminate string.
362
c1687039
ILT
363Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
364
365 * configure.in (checkfuncs): Check for sbrk.
366 * config.in: Rebuilt.
367 * configure: Likewise.
368 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
369
0c0a36a4
ILT
3701999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
371
372 Fix from Marcus Daniels:
373 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
374 identifier looking for another underscore.
375
376Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
377
378 * pexecute.c: Change all references to __UWIN__ to _UWIN.
379 * xmalloc.c: Likewise.
380 (xcalloc): UWIN has sbrk.
381 (xrealloc): Fix guard macro.
382
252b5132
RH
3831999-04-11 Richard Henderson <rth@cygnus.com>
384
385 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
386 or <alloca.h>.
387 * clock.c (GNU_HZ): New definition.
388 (clock): Use it.
389 * getruntime.c: Likewise.
390
391 * config.table: Use mh-beos.
392 * config/mh-beos: New file.
393
0c0a36a4
ILT
3941999-04-11 Mark Mitchell <mark@codesourcery.com>
395
396 * cplus-dem.c (demangle_template_value_parm): Handle
397 pointers-to-members.
398 (do_type): Handle template parameters as qualifiers.
399
252b5132
RH
4001999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
401
402 * cplus-dem.c: Attempt to handle overflows in counts with some
403 semblance of grace.
404 (consume_count): Detect overflows. Return -1 to indicate errors,
405 instead of zero.
406 (demangle_template_value_parm, demangle_template): Handle change
407 to consume_count's return convention.
408
0c0a36a4
ILT
4091999-04-05 Tom Tromey <tromey@cygnus.com>
410
411 * testsuite/regress-demangle: New file.
412 * testsuite/demangle-expected: New file.
252b5132 413
0c0a36a4
ILT
414 * Makefile.in (all, check, installcheck, info, install-info,
415 clean-info, dvi, install, etags, tags, mostlyclean, clean,
416 distclean, maintainer-clean, realclean): Depend on corresponding
417 `-subdir' target.
418 (all-subdir check-subdir installcheck-subdir info-subdir
419 install-info-subdir clean-info-subdir dvi-subdir
420 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
421 distclean-subdir maintainer-clean-subdir): New target.
422 * testsuite/Makefile.in: New file.
423 * configure: Rebuilt.
424 * configure.in: Create testsuite/Makefile.
252b5132
RH
425
4261999-04-02 Mark Mitchell <mark@codesourcery.com>
427
428 * splay-tree.h (splay_tree_compare_pointers): Define.
429
4301999-03-30 Mark Mitchell <mark@codesourcery.com>
431
432 * splay-tree.c (splay_tree_compare_ints): Define.
433
4341999-03-30 Tom Tromey <tromey@cygnus.com>
435
436 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
437 don't advance input pointer.
438 (demangle_class_name): If consume_count didn't find a count, do
439 nothing. Don't bother with `strlen' sanity check; consume_count
440 does it for us.
441
4421999-03-16 Stan Shebs <shebs@andros.cygnus.com>
443
444 From Art Haas <ahaas@neosoft.com>:
445 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
446 when doing arm or hp style.
447 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 448
252b5132
RH
449Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
450
451 * pexecute.c (__CYGWIN32__): Rename to
452 (__CYGWIN__): this.
453 * xmalloc.c: Likewise.
454
455 Changes to support i386-pc-uwin.
456 * configure.in (*-*-uwin*): Workaround for vfork bug.
457 * configure: Regenerate.
458 * pexecute.c (pexecute): Be like standard Unix.
459 (pwait): Likewise.
460 * xmalloc.c (first_break): Define.
461 (xmalloc_set_program_name): Use.
462 (xmalloc): Use.
463
464Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
465
466 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
467
468Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
469
470 * config.table: Check cygwin*, not cygwin32*.
471
472Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
473
474 * Makefile.in: Change mkstemp -> mkstemps.
475
476Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
477
478 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
479 * configure.in (funcs): Check for and conditionally add mkstemps to
480 the list of functions libiberty will provide.
481 * configure: Rebuilt.
b4fe2683 482
252b5132
RH
483Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
484
b4fe2683 485 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
486 platforms that don't have HZ.
487 * getruntime.c (HZ): Likewise.
488
489Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
490
491 * Makefile.in (xstrdup.o): Depend on config.h.
492
493Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
494
495 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
496 freeing it.
497
498Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
499
500 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
501
502Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
503
504 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
505 splay-tree.o.
506
5071999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
508
509 * configure.in: Require autoconf 2.12.1 or higher.
510
5111998-12-30 Michael Meissner <meissner@cygnus.com>
512
513 * random.c (NULL): Don't redefine NULL if it is already defined.
514
515Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
516
517 * argv.c (buildargv): Cast the result of alloca in assignment.
518
519 * choose-temp.c: Include stdlib.h.
520
521 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
522 (snarf_numeric_literal): Constify first parameter.
523 (code_for_qualifier): Avoid a gcc extension, make the parameter an
524 int, not a char.
525 (demangle_qualifier): Likewise.
526 (demangle_signature): Cast the argument of a ctype function to
527 unsigned char.
528 (arm_pt): Add parens around assignment used as truth value.
529 (demangle_arm_hp_template): Constify variable `args'.
530 (do_hpacc_template_const_value): Cast the argument of a ctype
531 function to unsigned char.
532 (do_hpacc_template_literal): Remove unused variable `i'.
533 (snarf_numeric_literal): Constify parameter `args'.
534 Cast the argument of a ctype function to unsigned char.
535
536 * floatformat.c (floatformat_to_double): Add explicit braces to
537 avoid ambiguous `else'.
538
539 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
540 `cstart' and `cend' to unsigned char. Cast the argument of macro
541 `FOLD', which uses ctype functions, to unsigned char.
542
543 * objalloc.c (free): Add prototype.
544
545Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
546
547 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
548
549Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
550
551 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
552 doesn't exist.
553 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 554
252b5132
RH
555Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
556
557 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
558 bumping the pointer we read from. Also prepend these codes,
559 as we do in other places.
560
5611998-12-18 Nick Clifton <nickc@cygnus.com>
562
563 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
564 'const char *' in order to match its usage when calling siblings.
565 (snarf_numeric_literal): Make first arg 'const char **' in order
566 to match usage.
567
568Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569
570 * choose-temp.c: Don't check IN_GCC anymore.
571
572 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
573 * memchr.c (memchr): Likewise.
574 * memcpy.c (memcpy): Likewise.
575 * memmove.c (memmove): Likewise.
576
577 * mkstemp.c: Don't check IN_GCC anymore.
578 * pexecute.c: Likewise.
579 * splay-tree.c: Likewise.
580
581 * strchr.c (strchr): Use `const', not `CONST'.
582 * strrchr.c (strrchr): Likewise.
583 * strtol.c (strtol): Likewise.
584 * strtoul.c (strtoul): Likewise.
585
586Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
587 Elena Zannoni <ezannoni@cygnus.com>
588 Stan Shebs <shebs@cygnus.com>
589 Edith Epstein <eepstein@cygnus.com>
590 Andres MacLeod <amacleod@cygnus.com>
591 Satish Pai <pai@apollo.hp.com>
592
593 * HP aCC demangling support.
594 * cplus-dem.c
595 (main): Remove default to HP style demangling, set to EDG
596 demangling correctly when -edg specified; set the demangling style
597 when user specifies 'edg'. Set strip_underscore to
598 prepends_underscore, if not HPUXHPPA. Set
599 current_demangling_style to hp_demangling if HPUXHPPA. Set
600 current demangling style correctly if the switch is hp. Read
601 label correctly also in the HP style case.
602 (work_stuff): add temp_start field; add field for volatile member
603 function.
604 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
605 style for this case is the same as ARM.
606 (demangle_args): handle EDG_DEMANGLING style; support HP style.
607 (demangle_arm_hp_template): new function. (It was
608 demangle_arm_pt.); check and set value of temp_start field in
609 multiple places. Also, when ceching for end of template args,
610 check to see if at end of static member of template class.
611 (demangle_class): new local variable : save_class_name_end Don't
612 include template args in string defining class.
613 (demangle_class_name): use demangel_arm_hp_template.
614 (demangle_function_name): handle case where demangling style is
615 HP_DEMANGLING and currently point at an 'X' in the mangled name.
616 Handle EDG_DEMANGLING style. Handle constructor and destructor
617 ops for HP style.
618 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
619 styles. global destructor and constructor for HP style are same
620 as for ARM style. Same for local variables.
621 (demangle_qualified): handle EDG_DEMANGLING style.
622 (demangle_signature): add case for volatile member function. For
623 cases '1' - '9' : initialize the temp_start field to -1 and handle
624 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
625 and AUTO_DEMANGLING styles. If expecting a function and managed
626 to demangle the funct args, then handle the LUCID_DEMANGLING,
627 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
628 class name after "Lnnn_ in HP style case. HP style too needs to
629 forget types. _nnn is OK for HP style, so don't report failure.
630 (do_hpacc_template_const_value): new function. Handle template's
631 value param for HP/aCC.
632 (do_hpacc_template_literal): new function. Handle a template's
633 literal parameter for HP aCC.
634 (recursively_demangle): new function
635 (snarf_numeric_literal): new function.
636 (usage): add 'edg' to the list of demangling styles; add hp switch
637 to message.
638
639Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
640
641 * pexecute.c: Remove obsolete ifdefed cygwin code.
642
643Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
644
645 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
646 * cplus-dem.c: Likewise. Conform to libiberty.h.
647 * pexecute.c: Likewise.
648 * splay-tree.c: Likewise.
649
6501998-11-25 Mike Stump <mrs@wrs.com>
651
652 * Makefile.in (splay-tree.o): Add config.h dependency.
653
654Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
655
656 * configure.in: Use AC_PREREQ(2.12.1).
657
6581998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
659
b4fe2683 660 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
661
662Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
663
664 * mpw.c (mpw_access): Add missing parens.
665
666Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
667
668 * configure.in: Call AC_HEADER_SYS_WAIT.
669
670 * pexecute.c: Include sys/wait.h when !IN_GCC.
671
672Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
673
674 * pexecute.c: revert back to checking old Cygwin
675 preprocessor symbol until some time has passed.
676
677Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
678
679 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
680 since it will now support similar constructs.
681
682Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
683
684 * configure.in: Check for calloc.
685
686 * calloc.c: New file.
687
688 * xmalloc.c (xcalloc): New function.
689
690Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
691
692 *cplus-dem.c (demangle_prefix): Use the last "__"
693 in the mangled name when looking for the signature. This allows
694 template names to begin with "__".
695
6961998-11-08 Mark Mitchell <mark@markmitchell.com>
697
698 * cplus-dem.c (type_kind_t): Add tk_reference.
699 (demangle_template_value_parm): Handle it.
700 (do_type): Use it for references, instead of tk_pointer.
701
702 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
703 not internal_cplus_demangle.
704
705Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
706
707 * choose-temp.c: Don't include gansidecl.h.
708 * mkstemp.c: Likewise.
709 * pexecute.c: Likewise.
710
711Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
712
b4fe2683
JM
713 * configure.in: detect cygwin* instead of cygwin32*
714 * configure: regenerate
252b5132
RH
715
716Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
717
718 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
719 whether to include config.h. Possibly include unistd.h in the
720 !IN_GCC case. Define VFORK_STRING as a printable function call
721 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
722 defined, include vfork.h. If VMS is defined, define vfork()
723 appropriately. Remove vfork check on USG, we're using autoconf.
724 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
725 locally what string to use.
726
7271998-10-26 Mark Mitchell <mark@markmitchell.com>
728
729 * splay-tree.c: Tweak include directives to make sure declarations of
730 xmalloc and free are available.
731
7321998-10-25 Mark Mitchell <mark@markmitchell.com>
733
734 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
735 anonymous namespaces.
736
7371998-10-23 Mark Mitchell <mark@markmitchell.com>
738
739 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
740 with type_quals.
741 (TYPE_UNQUALIFIED): New macro.
742 (TYPE_QUAL_CONST): Likewise.
743 (TYPE_QUAL_VOLATILE): Likewise.
744 (TYPE_QUAL_RESTRICT): Likewise.
745 (code_for_qualifier): New function.
746 (qualifier_string): Likewise.
747 (demangle_qualifier): Likewise.
748 (internal_cplus_demangle): Use them.
749 (demangle_signature): Likewise.
750 (demangle_template_value_parm): Likewise.
751 (do_type): Likewise.
752 (demangle_fund_type)): Likewise.
753
754Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
755
756 * splay-tree.c (splay_tree_foreach_helper): Make definition static
757 to match prototype.
758
7591998-10-21 Mark Mitchell <mark@markmitchell.com>
760
761 * splay-tree.c: New file.
762 * Makefile.in (CFILES): Add it.
763 (REQUIRED_OFILES): Likewise.
764 (splay-tree.o): Add dependencies.
765
766Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
767
768 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
769 range of 'K' index.
770
771Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
772
773 * choose-temp.c: Prototype mkstemps() when IN_GCC.
774
775 * cplus-dem.c (consume_count): Cast argument of ctype macro to
776 `unsigned char'.
777 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
778 comparing against one.
779 (cplus_mangle_opname): Likewise.
780 (demangle_integral_value): Cast argument of ctype macro to
781 `unsigned char'.
782 (demangle_template_value_parm): Likewise.
783 (demangle_template): Initialize variable `bindex'. Cast the
784 result of `strlen' to (int) when comparing against one. Remove
785 unused variable `start_of_value_parm'.
786 (demangle_class_name): Cast the result of `strlen' to (int) when
787 comparing against one.
788 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
789 (gnu_special): Likewise. Cast the result of `strlen' to (int)
790 when comparing against one.
791 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
792 (get_count): Likewise.
793 (do_type): Likewise. Cast the result of `strlen' to (int) when
794 comparing against one.
795 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
796 (demangle_function_name): Cast the result of `strlen' to (int)
797 when comparing against one.
798
799 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
800 comparing against one.
801
802Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
803
b4fe2683
JM
804 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
805 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
806 * config.in, configure: Rebuilt.
252b5132
RH
807
808 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
809 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
810 * config.in, configure: Rebuilt.
811
812Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
813
b4fe2683 814 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
815
816Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
817
818 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
819
820Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
821
822 * Merge egcs & devo libiberty.
823