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