]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
* rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
6d93ad38 12000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
4 we're using gcc.
5
6 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
7
59dfb43e 81999-12-27 Geoff Keating <geoffk@cygnus.com>
9
10 * vasprintf.c (int_vasprintf): Don't re-read the format character
11 as this mishandles strings like '%%s'.
12
b04bbebb 131999-12-05 Mark Mitchell <mark@codesourcery.com>
14
15 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
16 rather than struct splay_tree_node.
17 (splay_tree_insert): Use struct splay_tree_s rather than struct
18 splay_tree.
19
d7f8de75 20Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
21
22 * hashtab.c (sys/types.h): File included.
23
7202ac7d 241999-11-22 Jason Merrill <jason@casey.cygnus.com>
25
26 * strtoul.c, strtol.c, random.c: Remove advertising clause from
27 BSD license, pursuant with
28
29 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
30
bd41a79e 31Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
32
33 * hashtab.c: Include stdio.h.
34
b77d3fd0 35Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
36
37 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
38
1b4391fe 39Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
40
41 * xstrdup (sys/types.h): Include this file.
42
4bc57096 431999-10-28 Nathan Sidwell <nathan@acm.org>
44
45 * Makefile.in (SUBDIRS): New macro.
46 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
47 avoid multiple subdirectory cleaning.
48 (*-subdir): Use SUBDIRS.
49
9087cad2 501999-10-25 Jim Kingdon <http://developer.redhat.com/>
51
52 * cplus-dem.c: Move declarations of standard_symbol_characters and
53 hp_symbol_characters inside #ifdef MAIN to avoid compiler
54 warnings.
55
21a7d507 561999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
57
58 * hashtab.c (find_hash_table_entry): When returning a
59 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
60 (clear_hash_table_slot): New function which deletes an entry
61 by its position in the table, not its value.
62 (traverse_hash_table): New function which calls a hook
63 function for every live entry in the table.
64
42c870f1 651999-10-19 Mark Mitchell <mark@codesourcery.com>
66
67 * cplus-dem.c (INTBUF_SIZE): New macro.
68 (string_append_template_idx): New function.
69 (demangle_expression): Likewise.
70 (demangle_integral_value): Use it.
71 (demangle_real_value): New function, split out from ...
72 (demangle_template_value_parm): ... here. Use
73 string_append_template_idx. Use demangle_real_value.
74 (demangle_template): Use string_append_template_idx.
75 (demangle_qualified): Use consume_count_with_underscores.
76 (get_count): Tweak formatting.
77 (do_type): Use string_append_template_idx.
78
33b090eb 791999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
80
81 * calloc.c: Add a public domain notice.
82
9879c2ce 83Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
84
85 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
86
5da6c26f 87Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
88
89 * Makefile.in (CFILES): Add hashtab.c
90 (REQUIRED_OFILES): Add hashtab.o
91 (hashtab.o): Add dependencies.
92 * hashtab.c: New file
93
be42b79e 94Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
95
96 * basename.c (DIR_SEPARATOR): New macro.
97 (DIR_SEPARATOR_2): Likewise.
98 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
99 (IS_DIR_SEPARATOR): Likewise.
100 (main): Handle MSDOS style pathname.
101
6c65e8d7 1021999-10-11 Mark Mitchell <mark@codesourcery.com>
103
104 * cplus-dem.c (do_type): Handle pointer to member types whose
105 enclosing classes have namespace scope.
106
278929f3 107Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
108
109 * config.table: Provide a backup shell for executing move-if-change.
110
a7599ac8 1111999-10-02 Mark Mitchell <mark@codesourcery.com>
112
113 * xmalloc.c (xmalloc): Fix spelling error.
114 (xcalloc, xrealloc): Likewise.
115
4d84eafd 1161999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
117
118 * cplus-dem.c (fancy_abort, demangle_integral_value,
119 demangle_arm_hp_template, recursively_demangle,
120 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
121 (program_name, program_version, fatal): Constify a char*.
122 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
123 (main): Call return, not exit.
124
8f376364 1251999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
126
127 * choose-temp.c: Remove obsolete comment about gcc.
128 (make_temp_file): Constify a char*.
129
3a4fff76 130Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
131
132 * xmemdup.c: Include sys/types.h.
133
7570bccb 1341999-09-07 Jeff Garzik <jgarzik@pobox.com>
135
136 * xmemdup.c: New xmemdup function.
137 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
138
b50c7be3 139Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
140
141 * config.table: Add openedition target.
142 * config/mh-openedition: New file.
143
fd0c1d22 144Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
145
146 * pexecute.c (pexecute): Fill in temp_base when needed.
147
be342bf0 1481999-08-31 Richard Henderson <rth@cygnus.com>
149
150 * getpwd.c: Check HAVE_GETCWD before defining it away.
151
71774460 1521999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
153
154 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
155 (REQUIRED_OFILES): Add getpwd.o.
156 (getpwd.o): Add target.
157
158 * configure.in (AC_PREREQ): Bump to 2.13.
159 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
160
161 * getpwd.c: New file, moved here from gcc.
162
ac126d82 1631999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
164
165 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
166 comparing against a signed quantity.
167 (arm_special): Likewise.
168 (demangle_fund_type): Likewise.
169 (do_hpacc_template_const_value): Mark parameter `work' with
170 ATTRIBUTE_UNUSED.
171 (main): Constify variable `valid_symbols'.
172
4f3b4661 173Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
174
175 * strtoul.c (strtoul): Add parentheses around && within ||.
176
f92ff492 177Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
178
179 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
180 libdir, libsubdir and tooldir.
181
a9f46aed 1821999-08-01 Mark Mitchell <mark@codesourcery.com>
183
184 * splay-tree.c (splay_tree_insert): Return the new node.
185
db081298 1861999-07-14 Richard Henderson <rth@cygnus.com>
187
188 * argv.c: Include stdlib.h and string.h instead of
189 prototyping directly.
190 * choose-temp.c: Conditionally include string.h.
191
e5aa3a54 1921999-07-12 Jason Merrill <jason@yorick.cygnus.com>
193
194 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
195
4ef402f7 1961999-07-11 Ian Lance Taylor <ian@zembu.com>
197
198 * splay-tree.c (splay_tree_insert): Add initialization to avoid
199 warning.
200
d65034bd 2011999-07-07 Jason Merrill <jason@yorick.cygnus.com>
202
203 * Makefile.in (needed-list): Only include stuff we actually need
204 for libstdc++.
205
18912799 2061999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
207
208 * configure.in (checkfuncs): Add gettimeofday.
209 * config.in, configure: Regenerated.
210
d96f58b6 211Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
212
213 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
214 the test fails.
215 * configure: Regenerate.
216
4248b202 2171999-06-10 Mike Stump <mrs@wrs.com>
218
219 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
220 parallel builds.
221
3c243ded 2221999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
223
224 * putenv.c: Include ansidecl.h to define `const'.
225 * setenv.c: Likewise.
226
654c70ae 227Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
228
34f75864 229 * Makefile.in (CFILES): Add putenv.c and setenv.c.
230 * configure.in (funcs): Add putenv and setenv.
231 (AC_CHECK_FUNCS): Check for putenv and setenv.
232 * configure: Rebuilt.
233 * putenv.c setenv.c: New files.
234
654c70ae 235 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
236 bytes of space using malloc.
237
41980611 238Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
239
240 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
241 the *mangled pointer beyond the end of the string. Clean up code to
242 match prevailing coding style.
243
08b8ada9 2441999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
245
246 * tmpnam.c (L_tmpnam): Fix typo.
247
2fb1c6e9 248Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
249
250 * cplus-dem.c (standard_symbol_characters): Renamed from
251 standard_symbol_alphabet. No longer modify TABLE.
252 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
253 modify TABLE.
254 (main): Corresponding changes. Use strchr to determine if a
255 character is valid.
256
25398e41 2571999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
258
259 * cplus-dem.c (main): Use table lookup to distinguish identifier
260 characters from non-identifier characters.
261 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
262
29723d26 263Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
264
265 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
266 * getruntime.c: Only attempt to include sys/resource.h and
267 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
268 are defined.
269
dde96550 270Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
271
272 * configure.in (alloca detection): Handle alloca directly for interix.
273 * configure: Rebuilt.
274
e98ba651 275Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
276
277 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
278
3460a017 2791999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
280
281 Fix from Dale Hawkins:
282 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
283 reallocated properly if we use it again.
284
285 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
286 stricter about syntax. Always null-terminate string.
287
b01c0955 288Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
289
290 * configure.in (checkfuncs): Check for sbrk.
291 * config.in: Rebuilt.
292 * configure: Likewise.
293 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
294
87c2e884 2951999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
296
297 Fix from Marcus Daniels:
298 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
299 identifier looking for another underscore.
300
16b8e80f 301Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
302
303 * pexecute.c: Change all references to __UWIN__ to _UWIN.
304 * xmalloc.c: Likewise.
305 (xcalloc): UWIN has sbrk.
306 (xrealloc): Fix guard macro.
307
4d0cfb7e 3081999-04-11 Richard Henderson <rth@cygnus.com>
309
310 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
311 or <alloca.h>.
312 * clock.c (GNU_HZ): New definition.
313 (clock): Use it.
314 * getruntime.c: Likewise.
315
316 * config.table: Use mh-beos.
317 * config/mh-beos: New file.
318
0dc64970 3191999-04-11 Mark Mitchell <mark@codesourcery.com>
320
321 * cplus-dem.c (demangle_template_value_parm): Handle
322 pointers-to-members.
323 (do_type): Handle template parameters as qualifiers.
324
9fec6063 3251999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
326
327 * cplus-dem.c: Attempt to handle overflows in counts with some
328 semblance of grace.
329 (consume_count): Detect overflows. Return -1 to indicate errors,
330 instead of zero.
331 (demangle_template_value_parm, demangle_template): Handle change
332 to consume_count's return convention.
333
715f424c 3341999-04-05 Tom Tromey <tromey@cygnus.com>
335
336 * testsuite/regress-demangle: New file.
337 * testsuite/demangle-expected: New file.
338
339 * Makefile.in (all, check, installcheck, info, install-info,
340 clean-info, dvi, install, etags, tags, mostlyclean, clean,
341 distclean, maintainer-clean, realclean): Depend on corresponding
342 `-subdir' target.
343 (all-subdir check-subdir installcheck-subdir info-subdir
344 install-info-subdir clean-info-subdir dvi-subdir
345 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
346 distclean-subdir maintainer-clean-subdir): New target.
347 * testsuite/Makefile.in: New file.
348 * configure: Rebuilt.
349 * configure.in: Create testsuite/Makefile.
350
71c5948c 3511999-04-02 Mark Mitchell <mark@codesourcery.com>
352
353 * splay-tree.h (splay_tree_compare_pointers): Define.
354
d1264606 3551999-03-30 Mark Mitchell <mark@codesourcery.com>
356
357 * splay-tree.c (splay_tree_compare_ints): Define.
358
6fd618e7 3591999-03-30 Tom Tromey <tromey@cygnus.com>
360
361 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
362 don't advance input pointer.
363 (demangle_class_name): If consume_count didn't find a count, do
364 nothing. Don't bother with `strlen' sanity check; consume_count
365 does it for us.
366
bdaa26ad 3671999-03-16 Stan Shebs <shebs@andros.cygnus.com>
368
369 From Art Haas <ahaas@neosoft.com>:
370 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
371 when doing arm or hp style.
372 (demangle_nested_args): Decr forgetting_types field when done.
373
d267f778 374Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
375
376 * pexecute.c (__CYGWIN32__): Rename to
377 (__CYGWIN__): this.
378 * xmalloc.c: Likewise.
379
380 Changes to support i386-pc-uwin.
381 * configure.in (*-*-uwin*): Workaround for vfork bug.
382 * configure: Regenerate.
383 * pexecute.c (pexecute): Be like standard Unix.
384 (pwait): Likewise.
385 * xmalloc.c (first_break): Define.
386 (xmalloc_set_program_name): Use.
387 (xmalloc): Use.
388
90405950 389Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
390
391 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
392
bdaa26ad 393Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
394
395 * config.table: Check cygwin*, not cygwin32*.
396
e6ed8194 397Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
398
399 * Makefile.in: Change mkstemp -> mkstemps.
400
301e59c9 401Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
402
403 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
404 * configure.in (funcs): Check for and conditionally add mkstemps to
405 the list of functions libiberty will provide.
406 * configure: Rebuilt.
407
89e305f9 408Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
409
410 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
411 platforms that don't have HZ.
412 * getruntime.c (HZ): Likewise.
413
ecfe64e7 414Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
415
416 * Makefile.in (xstrdup.o): Depend on config.h.
417
2e5e2114 418Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
419
420 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
421 freeing it.
422
6aa62a59 423Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
424
425 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
426
bdaa26ad 427Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
428
429 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
430 splay-tree.o.
431
4321999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
433
434 * configure.in: Require autoconf 2.12.1 or higher.
435
9e1ed734 4361998-12-30 Michael Meissner <meissner@cygnus.com>
437
438 * random.c (NULL): Don't redefine NULL if it is already defined.
439
7c8c70e9 440Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
441
442 * argv.c (buildargv): Cast the result of alloca in assignment.
443
444 * choose-temp.c: Include stdlib.h.
2e5e2114 445
7c8c70e9 446 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
447 (snarf_numeric_literal): Constify first parameter.
448 (code_for_qualifier): Avoid a gcc extension, make the parameter an
449 int, not a char.
450 (demangle_qualifier): Likewise.
451 (demangle_signature): Cast the argument of a ctype function to
452 unsigned char.
453 (arm_pt): Add parens around assignment used as truth value.
454 (demangle_arm_hp_template): Constify variable `args'.
455 (do_hpacc_template_const_value): Cast the argument of a ctype
456 function to unsigned char.
457 (do_hpacc_template_literal): Remove unused variable `i'.
458 (snarf_numeric_literal): Constify parameter `args'.
459 Cast the argument of a ctype function to unsigned char.
460
461 * floatformat.c (floatformat_to_double): Add explicit braces to
462 avoid ambiguous `else'.
2e5e2114 463
7c8c70e9 464 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
465 `cstart' and `cend' to unsigned char. Cast the argument of macro
466 `FOLD', which uses ctype functions, to unsigned char.
467
468 * objalloc.c (free): Add prototype.
469
9070a37e 470Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
471
472 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
473
bdaa26ad 474Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
475
476 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
477 doesn't exist.
478 (do_hpacc_template_literal): remove unused variable `i'.
479
0a5a5994 480Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
481
482 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
483 bumping the pointer we read from. Also prepend these codes,
484 as we do in other places.
485
bdaa26ad 4861998-12-18 Nick Clifton <nickc@cygnus.com>
487
488 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
489 'const char *' in order to match its usage when calling siblings.
490 (snarf_numeric_literal): Make first arg 'const char **' in order
491 to match usage.
4ed77eec 492
50cbddd6 493Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
494
4ed77eec 495 * choose-temp.c: Don't check IN_GCC anymore.
496
497 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
498 * memchr.c (memchr): Likewise.
499 * memcpy.c (memcpy): Likewise.
500 * memmove.c (memmove): Likewise.
2e5e2114 501
4ed77eec 502 * mkstemp.c: Don't check IN_GCC anymore.
503 * pexecute.c: Likewise.
504 * splay-tree.c: Likewise.
2e5e2114 505
4ed77eec 506 * strchr.c (strchr): Use `const', not `CONST'.
507 * strrchr.c (strrchr): Likewise.
508 * strtol.c (strtol): Likewise.
509 * strtoul.c (strtoul): Likewise.
510
f75dc4de 511Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
512 Elena Zannoni <ezannoni@cygnus.com>
513 Stan Shebs <shebs@cygnus.com>
514 Edith Epstein <eepstein@cygnus.com>
515 Andres MacLeod <amacleod@cygnus.com>
516 Satish Pai <pai@apollo.hp.com>
517
518 * HP aCC demangling support.
519 * cplus-dem.c
520 (main): Remove default to HP style demangling, set to EDG
521 demangling correctly when -edg specified; set the demangling style
522 when user specifies 'edg'. Set strip_underscore to
523 prepends_underscore, if not HPUXHPPA. Set
524 current_demangling_style to hp_demangling if HPUXHPPA. Set
525 current demangling style correctly if the switch is hp. Read
526 label correctly also in the HP style case.
527 (work_stuff): add temp_start field; add field for volatile member
528 function.
529 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
530 style for this case is the same as ARM.
531 (demangle_args): handle EDG_DEMANGLING style; support HP style.
532 (demangle_arm_hp_template): new function. (It was
533 demangle_arm_pt.); check and set value of temp_start field in
534 multiple places. Also, when ceching for end of template args,
535 check to see if at end of static member of template class.
536 (demangle_class): new local variable : save_class_name_end Don't
537 include template args in string defining class.
538 (demangle_class_name): use demangel_arm_hp_template.
539 (demangle_function_name): handle case where demangling style is
540 HP_DEMANGLING and currently point at an 'X' in the mangled name.
541 Handle EDG_DEMANGLING style. Handle constructor and destructor
542 ops for HP style.
543 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
544 styles. global destructor and constructor for HP style are same
545 as for ARM style. Same for local variables.
546 (demangle_qualified): handle EDG_DEMANGLING style.
547 (demangle_signature): add case for volatile member function. For
548 cases '1' - '9' : initialize the temp_start field to -1 and handle
549 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
550 and AUTO_DEMANGLING styles. If expecting a function and managed
551 to demangle the funct args, then handle the LUCID_DEMANGLING,
552 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
553 class name after "Lnnn_ in HP style case. HP style too needs to
554 forget types. _nnn is OK for HP style, so don't report failure.
555 (do_hpacc_template_const_value): new function. Handle template's
556 value param for HP/aCC.
557 (do_hpacc_template_literal): new function. Handle a template's
558 literal parameter for HP aCC.
559 (recursively_demangle): new function
560 (snarf_numeric_literal): new function.
561 (usage): add 'edg' to the list of demangling styles; add hp switch
562 to message.
563
a5c56042 564Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
565
566 * pexecute.c: Remove obsolete ifdefed cygwin code.
567
4ae63959 568Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
569
570 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
571 * cplus-dem.c: Likewise. Conform to libiberty.h.
572 * pexecute.c: Likewise.
573 * splay-tree.c: Likewise.
574
b41b6b67 5751998-11-25 Mike Stump <mrs@wrs.com>
576
577 * Makefile.in (splay-tree.o): Add config.h dependency.
578
a1dd5bff 579Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
580
581 * configure.in: Use AC_PREREQ(2.12.1).
582
d54546fb 5831998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
584
585 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
586
9fdb1080 587Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
588
589 * mpw.c (mpw_access): Add missing parens.
590
1ed7db2f 591Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
592
593 * configure.in: Call AC_HEADER_SYS_WAIT.
594
595 * pexecute.c: Include sys/wait.h when !IN_GCC.
596
bdaa26ad 597Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
598
599 * pexecute.c: revert back to checking old Cygwin
600 preprocessor symbol until some time has passed.
601
602Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
603
604 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
605 since it will now support similar constructs.
606
34fa8831 607Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
608
609 * configure.in: Check for calloc.
610
611 * calloc.c: New file.
612
613 * xmalloc.c (xcalloc): New function.
614
75ebb412 615Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
616
617 *cplus-dem.c (demangle_prefix): Use the last "__"
618 in the mangled name when looking for the signature. This allows
619 template names to begin with "__".
620
5b546829 6211998-11-08 Mark Mitchell <mark@markmitchell.com>
622
73bea962 623 * cplus-dem.c (type_kind_t): Add tk_reference.
624 (demangle_template_value_parm): Handle it.
625 (do_type): Use it for references, instead of tk_pointer.
626
5b546829 627 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
628 not internal_cplus_demangle.
629
0e4558d2 630Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
631
632 * choose-temp.c: Don't include gansidecl.h.
633 * mkstemp.c: Likewise.
634 * pexecute.c: Likewise.
635
7b8b8d43 636Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
637
638 * configure.in: detect cygwin* instead of cygwin32*
639 * configure: regenerate
640
f9a39df1 641Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
642
643 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
644 whether to include config.h. Possibly include unistd.h in the
645 !IN_GCC case. Define VFORK_STRING as a printable function call
646 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
647 defined, include vfork.h. If VMS is defined, define vfork()
648 appropriately. Remove vfork check on USG, we're using autoconf.
649 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
650 locally what string to use.
651
797ba725 6521998-10-26 Mark Mitchell <mark@markmitchell.com>
653
654 * splay-tree.c: Tweak include directives to make sure declarations of
655 xmalloc and free are available.
656
3662c79b 6571998-10-25 Mark Mitchell <mark@markmitchell.com>
658
659 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
660 anonymous namespaces.
2e5e2114 661
af5199c0 6621998-10-23 Mark Mitchell <mark@markmitchell.com>
663
664 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
665 with type_quals.
666 (TYPE_UNQUALIFIED): New macro.
667 (TYPE_QUAL_CONST): Likewise.
668 (TYPE_QUAL_VOLATILE): Likewise.
669 (TYPE_QUAL_RESTRICT): Likewise.
670 (code_for_qualifier): New function.
671 (qualifier_string): Likewise.
672 (demangle_qualifier): Likewise.
673 (internal_cplus_demangle): Use them.
674 (demangle_signature): Likewise.
675 (demangle_template_value_parm): Likewise.
676 (do_type): Likewise.
677 (demangle_fund_type)): Likewise.
3662c79b 678
e61da89d 679Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
680
681 * splay-tree.c (splay_tree_foreach_helper): Make definition static
682 to match prototype.
683
9a4eb61d 6841998-10-21 Mark Mitchell <mark@markmitchell.com>
685
686 * splay-tree.c: New file.
687 * Makefile.in (CFILES): Add it.
688 (REQUIRED_OFILES): Likewise.
689 (splay-tree.o): Add dependencies.
690
e5d3a45b 691Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
692
693 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
694 range of 'K' index.
695
4350e959 696Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
697
698 * choose-temp.c: Prototype mkstemps() when IN_GCC.
699
700 * cplus-dem.c (consume_count): Cast argument of ctype macro to
701 `unsigned char'.
702 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
703 comparing against one.
704 (cplus_mangle_opname): Likewise.
705 (demangle_integral_value): Cast argument of ctype macro to
706 `unsigned char'.
707 (demangle_template_value_parm): Likewise.
708 (demangle_template): Initialize variable `bindex'. Cast the
709 result of `strlen' to (int) when comparing against one. Remove
710 unused variable `start_of_value_parm'.
711 (demangle_class_name): Cast the result of `strlen' to (int) when
712 comparing against one.
713 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
714 (gnu_special): Likewise. Cast the result of `strlen' to (int)
715 when comparing against one.
716 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
717 (get_count): Likewise.
718 (do_type): Likewise. Cast the result of `strlen' to (int) when
719 comparing against one.
720 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
721 (demangle_function_name): Cast the result of `strlen' to (int)
722 when comparing against one.
723
724 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
725 comparing against one.
726
5dfe2c03 727Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
728
0be6f86d 729 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
730 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
731 * config.in, configure: Rebuilt.
732
5dfe2c03 733 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
734 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
735 * config.in, configure: Rebuilt.
736
7b8b8d43 737Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
738
739 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
740
68b78c88 741Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
742
743 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
744
804ec1bf 745Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
746
747 * Merge egcs & devo libiberty.
748
7a1ec54f 749