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