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