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