]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
* fold-const.c (fold): Fix comment.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
ed38f5d5
ZW
11999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2
3 * hashtab.c (find_hash_table_entry): When returning a
4 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
5 (clear_hash_table_slot): New function which deletes an entry
6 by its position in the table, not its value.
7 (traverse_hash_table): New function which calls a hook
8 function for every live entry in the table.
9
b60fe4a7
MM
101999-10-19 Mark Mitchell <mark@codesourcery.com>
11
12 * cplus-dem.c (INTBUF_SIZE): New macro.
13 (string_append_template_idx): New function.
14 (demangle_expression): Likewise.
15 (demangle_integral_value): Use it.
16 (demangle_real_value): New function, split out from ...
17 (demangle_template_value_parm): ... here. Use
18 string_append_template_idx. Use demangle_real_value.
19 (demangle_template): Use string_append_template_idx.
20 (demangle_qualified): Use consume_count_with_underscores.
21 (get_count): Tweak formatting.
22 (do_type): Use string_append_template_idx.
23
3da5522a
KG
241999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25
26 * calloc.c: Add a public domain notice.
27
d7d36ea8
PDM
28Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
29
30 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
31
a2f945c6
VM
32Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
33
34 * Makefile.in (CFILES): Add hashtab.c
35 (REQUIRED_OFILES): Add hashtab.o
36 (hashtab.o): Add dependencies.
37 * hashtab.c: New file
38
7f22ec2e
MK
39Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
40
41 * basename.c (DIR_SEPARATOR): New macro.
42 (DIR_SEPARATOR_2): Likewise.
43 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
44 (IS_DIR_SEPARATOR): Likewise.
45 (main): Handle MSDOS style pathname.
46
7c56a6ce
MM
471999-10-11 Mark Mitchell <mark@codesourcery.com>
48
49 * cplus-dem.c (do_type): Handle pointer to member types whose
50 enclosing classes have namespace scope.
51
cd32188b
ME
52Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
53
54 * config.table: Provide a backup shell for executing move-if-change.
55
fc232f7a
MM
561999-10-02 Mark Mitchell <mark@codesourcery.com>
57
58 * xmalloc.c (xmalloc): Fix spelling error.
59 (xcalloc, xrealloc): Likewise.
60
2a138827
KG
611999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
62
63 * cplus-dem.c (fancy_abort, demangle_integral_value,
64 demangle_arm_hp_template, recursively_demangle,
65 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
66 (program_name, program_version, fatal): Constify a char*.
67 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
68 (main): Call return, not exit.
69
5a657fc3
KG
701999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
71
72 * choose-temp.c: Remove obsolete comment about gcc.
73 (make_temp_file): Constify a char*.
74
33c5ddcd
KG
75Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
76
77 * xmemdup.c: Include sys/types.h.
78
b10647f1
JG
791999-09-07 Jeff Garzik <jgarzik@pobox.com>
80
81 * xmemdup.c: New xmemdup function.
82 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
83
3dd6c3af
LV
84Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
85
86 * config.table: Add openedition target.
87 * config/mh-openedition: New file.
88
19e28e2a
ME
89Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
90
91 * pexecute.c (pexecute): Fill in temp_base when needed.
92
4dfeccf9
RH
931999-08-31 Richard Henderson <rth@cygnus.com>
94
95 * getpwd.c: Check HAVE_GETCWD before defining it away.
96
4ac3cb83
KG
971999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
98
99 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
100 (REQUIRED_OFILES): Add getpwd.o.
101 (getpwd.o): Add target.
102
103 * configure.in (AC_PREREQ): Bump to 2.13.
104 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
105
106 * getpwd.c: New file, moved here from gcc.
107
e797ff70
KG
1081999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
109
110 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
111 comparing against a signed quantity.
112 (arm_special): Likewise.
113 (demangle_fund_type): Likewise.
114 (do_hpacc_template_const_value): Mark parameter `work' with
115 ATTRIBUTE_UNUSED.
116 (main): Constify variable `valid_symbols'.
117
55247fce
PDM
118Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
119
120 * strtoul.c (strtoul): Add parentheses around && within ||.
121
76632dd0
DJ
122Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
123
124 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
125 libdir, libsubdir and tooldir.
126
d080bbfa
MM
1271999-08-01 Mark Mitchell <mark@codesourcery.com>
128
129 * splay-tree.c (splay_tree_insert): Return the new node.
130
a81c752a
RH
1311999-07-14 Richard Henderson <rth@cygnus.com>
132
133 * argv.c: Include stdlib.h and string.h instead of
134 prototyping directly.
135 * choose-temp.c: Conditionally include string.h.
136
8f1824d9
JM
1371999-07-12 Jason Merrill <jason@yorick.cygnus.com>
138
139 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
140
652374d3
ILT
1411999-07-11 Ian Lance Taylor <ian@zembu.com>
142
143 * splay-tree.c (splay_tree_insert): Add initialization to avoid
144 warning.
145
a4494286
JM
1461999-07-07 Jason Merrill <jason@yorick.cygnus.com>
147
148 * Makefile.in (needed-list): Only include stuff we actually need
149 for libstdc++.
150
90e72e20
AS
1511999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
152
153 * configure.in (checkfuncs): Add gettimeofday.
154 * config.in, configure: Regenerated.
155
b569200e
MK
156Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
157
158 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
159 the test fails.
160 * configure: Regenerate.
161
73919448
MS
1621999-06-10 Mike Stump <mrs@wrs.com>
163
164 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
165 parallel builds.
166
fee9125c
KG
1671999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
168
169 * putenv.c: Include ansidecl.h to define `const'.
170 * setenv.c: Likewise.
171
71cce721
MN
172Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
173
a7c9637f
JL
174 * Makefile.in (CFILES): Add putenv.c and setenv.c.
175 * configure.in (funcs): Add putenv and setenv.
176 (AC_CHECK_FUNCS): Check for putenv and setenv.
177 * configure: Rebuilt.
178 * putenv.c setenv.c: New files.
179
71cce721
MN
180 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
181 bytes of space using malloc.
182
53504016
SG
183Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
184
185 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
186 the *mangled pointer beyond the end of the string. Clean up code to
187 match prevailing coding style.
188
34842539
MH
1891999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
190
191 * tmpnam.c (L_tmpnam): Fix typo.
192
3a08531d
ME
193Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
194
195 * cplus-dem.c (standard_symbol_characters): Renamed from
196 standard_symbol_alphabet. No longer modify TABLE.
197 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
198 modify TABLE.
199 (main): Corresponding changes. Use strchr to determine if a
200 character is valid.
201
8db9d08b
JB
2021999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
203
204 * cplus-dem.c (main): Use table lookup to distinguish identifier
205 characters from non-identifier characters.
206 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
207
6a071f4a
FF
208Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
209
210 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
211 * getruntime.c: Only attempt to include sys/resource.h and
212 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
213 are defined.
214
7dd88617
DT
215Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
216
217 * configure.in (alloca detection): Handle alloca directly for interix.
218 * configure: Rebuilt.
219
7a1528bc
MK
220Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
221
222 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
223
76409268
JB
2241999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
225
226 Fix from Dale Hawkins:
227 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
228 reallocated properly if we use it again.
229
230 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
231 stricter about syntax. Always null-terminate string.
232
acbbd80a
MK
233Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
234
235 * configure.in (checkfuncs): Check for sbrk.
236 * config.in: Rebuilt.
237 * configure: Likewise.
238 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
239
92523551
JB
2401999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
241
242 Fix from Marcus Daniels:
243 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
244 identifier looking for another underscore.
245
36eb4217
MK
246Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
247
248 * pexecute.c: Change all references to __UWIN__ to _UWIN.
249 * xmalloc.c: Likewise.
250 (xcalloc): UWIN has sbrk.
251 (xrealloc): Fix guard macro.
252
2c45d1a0
RH
2531999-04-11 Richard Henderson <rth@cygnus.com>
254
255 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
256 or <alloca.h>.
257 * clock.c (GNU_HZ): New definition.
258 (clock): Use it.
259 * getruntime.c: Likewise.
260
261 * config.table: Use mh-beos.
262 * config/mh-beos: New file.
263
391cdef0
MM
2641999-04-11 Mark Mitchell <mark@codesourcery.com>
265
266 * cplus-dem.c (demangle_template_value_parm): Handle
267 pointers-to-members.
268 (do_type): Handle template parameters as qualifiers.
269
9d229989
JB
2701999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
271
272 * cplus-dem.c: Attempt to handle overflows in counts with some
273 semblance of grace.
274 (consume_count): Detect overflows. Return -1 to indicate errors,
275 instead of zero.
276 (demangle_template_value_parm, demangle_template): Handle change
277 to consume_count's return convention.
278
7c72138a
TT
2791999-04-05 Tom Tromey <tromey@cygnus.com>
280
281 * testsuite/regress-demangle: New file.
282 * testsuite/demangle-expected: New file.
283
284 * Makefile.in (all, check, installcheck, info, install-info,
285 clean-info, dvi, install, etags, tags, mostlyclean, clean,
286 distclean, maintainer-clean, realclean): Depend on corresponding
287 `-subdir' target.
288 (all-subdir check-subdir installcheck-subdir info-subdir
289 install-info-subdir clean-info-subdir dvi-subdir
290 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
291 distclean-subdir maintainer-clean-subdir): New target.
292 * testsuite/Makefile.in: New file.
293 * configure: Rebuilt.
294 * configure.in: Create testsuite/Makefile.
295
ae7f7270
MM
2961999-04-02 Mark Mitchell <mark@codesourcery.com>
297
298 * splay-tree.h (splay_tree_compare_pointers): Define.
299
30f72379
MM
3001999-03-30 Mark Mitchell <mark@codesourcery.com>
301
302 * splay-tree.c (splay_tree_compare_ints): Define.
303
4cc48683
TT
3041999-03-30 Tom Tromey <tromey@cygnus.com>
305
306 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
307 don't advance input pointer.
308 (demangle_class_name): If consume_count didn't find a count, do
309 nothing. Don't bother with `strlen' sanity check; consume_count
310 does it for us.
311
3510075c
JL
3121999-03-16 Stan Shebs <shebs@andros.cygnus.com>
313
314 From Art Haas <ahaas@neosoft.com>:
315 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
316 when doing arm or hp style.
317 (demangle_nested_args): Decr forgetting_types field when done.
318
89f602a7
MK
319Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
320
321 * pexecute.c (__CYGWIN32__): Rename to
322 (__CYGWIN__): this.
323 * xmalloc.c: Likewise.
324
325 Changes to support i386-pc-uwin.
326 * configure.in (*-*-uwin*): Workaround for vfork bug.
327 * configure: Regenerate.
328 * pexecute.c (pexecute): Be like standard Unix.
329 (pwait): Likewise.
330 * xmalloc.c (first_break): Define.
331 (xmalloc_set_program_name): Use.
332 (xmalloc): Use.
333
9346c824
FS
334Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
335
336 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
337
3510075c
JL
338Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
339
340 * config.table: Check cygwin*, not cygwin32*.
341
8ec65f13
DB
342Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
343
344 * Makefile.in: Change mkstemp -> mkstemps.
345
687361c8
ME
346Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
347
348 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
349 * configure.in (funcs): Check for and conditionally add mkstemps to
350 the list of functions libiberty will provide.
351 * configure: Rebuilt.
352
b207e09c
MK
353Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
354
355 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
356 platforms that don't have HZ.
357 * getruntime.c (HZ): Likewise.
358
16b4c15e
RH
359Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
360
361 * Makefile.in (xstrdup.o): Depend on config.h.
362
38beb75c
UD
363Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
364
365 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
366 freeing it.
367
7e4311a3
KG
368Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
369
370 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
371
3510075c
JL
372Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
373
374 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
375 splay-tree.o.
376
3771999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
378
379 * configure.in: Require autoconf 2.12.1 or higher.
380
fb9939b8
MM
3811998-12-30 Michael Meissner <meissner@cygnus.com>
382
383 * random.c (NULL): Don't redefine NULL if it is already defined.
384
087aa398
KG
385Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
386
387 * argv.c (buildargv): Cast the result of alloca in assignment.
388
389 * choose-temp.c: Include stdlib.h.
38beb75c 390
087aa398
KG
391 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
392 (snarf_numeric_literal): Constify first parameter.
393 (code_for_qualifier): Avoid a gcc extension, make the parameter an
394 int, not a char.
395 (demangle_qualifier): Likewise.
396 (demangle_signature): Cast the argument of a ctype function to
397 unsigned char.
398 (arm_pt): Add parens around assignment used as truth value.
399 (demangle_arm_hp_template): Constify variable `args'.
400 (do_hpacc_template_const_value): Cast the argument of a ctype
401 function to unsigned char.
402 (do_hpacc_template_literal): Remove unused variable `i'.
403 (snarf_numeric_literal): Constify parameter `args'.
404 Cast the argument of a ctype function to unsigned char.
405
406 * floatformat.c (floatformat_to_double): Add explicit braces to
407 avoid ambiguous `else'.
38beb75c 408
087aa398
KG
409 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
410 `cstart' and `cend' to unsigned char. Cast the argument of macro
411 `FOLD', which uses ctype functions, to unsigned char.
412
413 * objalloc.c (free): Add prototype.
414
21f2174d
HPN
415Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
416
417 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
418
3510075c
JL
419Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
420
421 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
422 doesn't exist.
423 (do_hpacc_template_literal): remove unused variable `i'.
424
e8fc8222
AM
425Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
426
427 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
428 bumping the pointer we read from. Also prepend these codes,
429 as we do in other places.
430
3510075c
JL
4311998-12-18 Nick Clifton <nickc@cygnus.com>
432
433 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
434 'const char *' in order to match its usage when calling siblings.
435 (snarf_numeric_literal): Make first arg 'const char **' in order
436 to match usage.
11a0bb74 437
f4f30aa1
JL
438Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
439
11a0bb74
KG
440 * choose-temp.c: Don't check IN_GCC anymore.
441
442 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
443 * memchr.c (memchr): Likewise.
444 * memcpy.c (memcpy): Likewise.
445 * memmove.c (memmove): Likewise.
38beb75c 446
11a0bb74
KG
447 * mkstemp.c: Don't check IN_GCC anymore.
448 * pexecute.c: Likewise.
449 * splay-tree.c: Likewise.
38beb75c 450
11a0bb74
KG
451 * strchr.c (strchr): Use `const', not `CONST'.
452 * strrchr.c (strrchr): Likewise.
453 * strtol.c (strtol): Likewise.
454 * strtoul.c (strtoul): Likewise.
455
70d5ccef
DT
456Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
457 Elena Zannoni <ezannoni@cygnus.com>
458 Stan Shebs <shebs@cygnus.com>
459 Edith Epstein <eepstein@cygnus.com>
460 Andres MacLeod <amacleod@cygnus.com>
461 Satish Pai <pai@apollo.hp.com>
462
463 * HP aCC demangling support.
464 * cplus-dem.c
465 (main): Remove default to HP style demangling, set to EDG
466 demangling correctly when -edg specified; set the demangling style
467 when user specifies 'edg'. Set strip_underscore to
468 prepends_underscore, if not HPUXHPPA. Set
469 current_demangling_style to hp_demangling if HPUXHPPA. Set
470 current demangling style correctly if the switch is hp. Read
471 label correctly also in the HP style case.
472 (work_stuff): add temp_start field; add field for volatile member
473 function.
474 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
475 style for this case is the same as ARM.
476 (demangle_args): handle EDG_DEMANGLING style; support HP style.
477 (demangle_arm_hp_template): new function. (It was
478 demangle_arm_pt.); check and set value of temp_start field in
479 multiple places. Also, when ceching for end of template args,
480 check to see if at end of static member of template class.
481 (demangle_class): new local variable : save_class_name_end Don't
482 include template args in string defining class.
483 (demangle_class_name): use demangel_arm_hp_template.
484 (demangle_function_name): handle case where demangling style is
485 HP_DEMANGLING and currently point at an 'X' in the mangled name.
486 Handle EDG_DEMANGLING style. Handle constructor and destructor
487 ops for HP style.
488 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
489 styles. global destructor and constructor for HP style are same
490 as for ARM style. Same for local variables.
491 (demangle_qualified): handle EDG_DEMANGLING style.
492 (demangle_signature): add case for volatile member function. For
493 cases '1' - '9' : initialize the temp_start field to -1 and handle
494 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
495 and AUTO_DEMANGLING styles. If expecting a function and managed
496 to demangle the funct args, then handle the LUCID_DEMANGLING,
497 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
498 class name after "Lnnn_ in HP style case. HP style too needs to
499 forget types. _nnn is OK for HP style, so don't report failure.
500 (do_hpacc_template_const_value): new function. Handle template's
501 value param for HP/aCC.
502 (do_hpacc_template_literal): new function. Handle a template's
503 literal parameter for HP aCC.
504 (recursively_demangle): new function
505 (snarf_numeric_literal): new function.
506 (usage): add 'edg' to the list of demangling styles; add hp switch
507 to message.
508
8d525fa8
CF
509Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
510
511 * pexecute.c: Remove obsolete ifdefed cygwin code.
512
9b1a92d8
KG
513Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
514
515 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
516 * cplus-dem.c: Likewise. Conform to libiberty.h.
517 * pexecute.c: Likewise.
518 * splay-tree.c: Likewise.
519
c85c3232
MS
5201998-11-25 Mike Stump <mrs@wrs.com>
521
522 * Makefile.in (splay-tree.o): Add config.h dependency.
523
35a6cd99
KG
524Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
525
526 * configure.in: Use AC_PREREQ(2.12.1).
527
6e6e34b7
BK
5281998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
529
530 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
531
59b67c11
JL
532Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
533
534 * mpw.c (mpw_access): Add missing parens.
535
a6458d1d
KG
536Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
537
538 * configure.in: Call AC_HEADER_SYS_WAIT.
539
540 * pexecute.c: Include sys/wait.h when !IN_GCC.
541
3510075c
JL
542Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
543
544 * pexecute.c: revert back to checking old Cygwin
545 preprocessor symbol until some time has passed.
546
547Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
548
549 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
550 since it will now support similar constructs.
551
a9acf741
KG
552Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
553
554 * configure.in: Check for calloc.
555
556 * calloc.c: New file.
557
558 * xmalloc.c (xcalloc): New function.
559
a49fb37a
AM
560Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
561
562 *cplus-dem.c (demangle_prefix): Use the last "__"
563 in the mangled name when looking for the signature. This allows
564 template names to begin with "__".
565
0e714131
MM
5661998-11-08 Mark Mitchell <mark@markmitchell.com>
567
ec2288ff
MM
568 * cplus-dem.c (type_kind_t): Add tk_reference.
569 (demangle_template_value_parm): Handle it.
570 (do_type): Use it for references, instead of tk_pointer.
571
0e714131
MM
572 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
573 not internal_cplus_demangle.
574
2931b6d4
KG
575Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
576
577 * choose-temp.c: Don't include gansidecl.h.
578 * mkstemp.c: Likewise.
579 * pexecute.c: Likewise.
580
dd8f3ed5
GN
581Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
582
583 * configure.in: detect cygwin* instead of cygwin32*
584 * configure: regenerate
585
c5f7c445
KG
586Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
587
588 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
589 whether to include config.h. Possibly include unistd.h in the
590 !IN_GCC case. Define VFORK_STRING as a printable function call
591 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
592 defined, include vfork.h. If VMS is defined, define vfork()
593 appropriately. Remove vfork check on USG, we're using autoconf.
594 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
595 locally what string to use.
596
ad3ef78e
MM
5971998-10-26 Mark Mitchell <mark@markmitchell.com>
598
599 * splay-tree.c: Tweak include directives to make sure declarations of
600 xmalloc and free are available.
601
224301c1
MM
6021998-10-25 Mark Mitchell <mark@markmitchell.com>
603
604 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
605 anonymous namespaces.
38beb75c 606
d9db46fd
MM
6071998-10-23 Mark Mitchell <mark@markmitchell.com>
608
609 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
610 with type_quals.
611 (TYPE_UNQUALIFIED): New macro.
612 (TYPE_QUAL_CONST): Likewise.
613 (TYPE_QUAL_VOLATILE): Likewise.
614 (TYPE_QUAL_RESTRICT): Likewise.
615 (code_for_qualifier): New function.
616 (qualifier_string): Likewise.
617 (demangle_qualifier): Likewise.
618 (internal_cplus_demangle): Use them.
619 (demangle_signature): Likewise.
620 (demangle_template_value_parm): Likewise.
621 (do_type): Likewise.
622 (demangle_fund_type)): Likewise.
224301c1 623
b056ad1c
KG
624Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
625
626 * splay-tree.c (splay_tree_foreach_helper): Make definition static
627 to match prototype.
628
ed87f9c8
MM
6291998-10-21 Mark Mitchell <mark@markmitchell.com>
630
631 * splay-tree.c: New file.
632 * Makefile.in (CFILES): Add it.
633 (REQUIRED_OFILES): Likewise.
634 (splay-tree.o): Add dependencies.
635
e0c13971
AS
636Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
637
638 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
639 range of 'K' index.
640
91e0f659
KG
641Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
642
643 * choose-temp.c: Prototype mkstemps() when IN_GCC.
644
645 * cplus-dem.c (consume_count): Cast argument of ctype macro to
646 `unsigned char'.
647 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
648 comparing against one.
649 (cplus_mangle_opname): Likewise.
650 (demangle_integral_value): Cast argument of ctype macro to
651 `unsigned char'.
652 (demangle_template_value_parm): Likewise.
653 (demangle_template): Initialize variable `bindex'. Cast the
654 result of `strlen' to (int) when comparing against one. Remove
655 unused variable `start_of_value_parm'.
656 (demangle_class_name): Cast the result of `strlen' to (int) when
657 comparing against one.
658 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
659 (gnu_special): Likewise. Cast the result of `strlen' to (int)
660 when comparing against one.
661 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
662 (get_count): Likewise.
663 (do_type): Likewise. Cast the result of `strlen' to (int) when
664 comparing against one.
665 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
666 (demangle_function_name): Cast the result of `strlen' to (int)
667 when comparing against one.
668
669 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
670 comparing against one.
671
73aeb2ff
JL
672Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
673
ae76f1be
JL
674 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
675 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
676 * config.in, configure: Rebuilt.
677
73aeb2ff
JL
678 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
679 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
680 * config.in, configure: Rebuilt.
681
dd8f3ed5
GN
682Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
683
684 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
685
f77d8413
MT
686Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
687
688 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
689
ca6b370d
JL
690Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
691
692 * Merge egcs & devo libiberty.
693
ab4856b1
ML
694