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