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