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