]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - libiberty/ChangeLog
* configure.in (CXX_FOR_TARGET): Use xgcc for libstdc++-v3.
[thirdparty/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
079c672a
DD
12001-03-23 Jakub Jelinek <jakub@redhat.com>
2
3 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
4 `_' not followed by a digit is invalid.
5
a88e356a
JB
62001-03-22 Jim Blandy <jimb@redhat.com>
7
8 * cp-demangle.c (string_list_delete): Use dyn_string_delete
9 instead of free, to free the contents as well as the string
10 structure.
11
1dffcc66
DD
122001-03-21 Zack Weinberg <zackw@stanford.edu>
13
14 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
15 Don't default P_tmpdir to anything. Try /var/tmp before
16 /usr/tmp.
17
182001-03-20 Zack Weinberg <zackw@stanford.edu>
19
20 * choose-temp.c: Split off make_temp_file, and the code
21 duplicated between it and choose_temp_base, into...
22 * make-temp-file.c: ... here; new file.
23
24 * Makefile.in (CFILES): Add make-temp-file.c.
25 (REQUIRED_OFILES): Add make-temp-file.o.
26
e61231f1
JB
272001-03-20 Jim Blandy <jimb@redhat.com>
28
29 * cp-demangle.c (struct demangling_def): New fields:
30 is_constructor and is_destructor.
31 (demangling_new): Initialize them.
32 (demangle_ctor_dtor_name): Set them, if we detect a constructor
33 or destructor.
34 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
35 is_gnu_v3_mangled_dtor): New functions.
36
a9cbbe6d
DD
372001-03-20 Jason Merrill <jason@redhat.com>
38
39 * cplus-dem.c (main): Skip initial $.
40
b1e51b3c
DD
412001-03-15 Michael Meissner <meissner@redhat.com>
42
43 * hashtab.c (higher_prime_number): Silence warning that 4294967291
44 might be a signed integer under pre-ISO C systems.
45
8aa30e60 462001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 47 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 48
8aa30e60
DD
49 * libiberty/lbasename.c: New file.
50 * libiberty/Makefile.in: Update for lbasename.
51
30673bf5
DD
522001-03-06 Zack Weinberg <zackw@stanford.edu>
53
54 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
55 * configure.in: Replace all alloca logic with a simple use of
56 the above new macro.
57 * config.table: Kill *-*-beos* entry.
58 * config/mh-beos: Delete.
59 * configure, config.in: Regenerate.
fa03f0a7 60
30673bf5
DD
61 * Makefile.in (ALLOCA, HFILES): Kill.
62 (REQUIRED_OFILES): Add alloca.o.
63 (alloca.o): Depend on libiberty.h.
64 (argv.o): Don't depend on alloca-conf.h.
65 * alloca-conf.h: Delete.
66 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
67 blocks. Provide the C alloca unconditionally. Use PTR where
68 appropriate. Make i00afunc static.
69 * argv.c: Don't include alloca-conf.h.
fa03f0a7 70
5810f394
DD
712001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
72
73 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 74
a9db032a
DD
752001-02-16 Loren J. Rittle <ljrittle@acm.org>
76
77 * cplus-dem.c (main): Initialize style.
fa03f0a7 78
bc9bf259
DD
792001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
80
81 Add support for Java demangling under the v3 ABI:
82 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
83 (struct demangling_def): Add `style' field.
84 (demangling_new): New parameter `style'. Set it in demangling_t.
85 (demangle_prefix): Use NAMESPACE_SEPARATOR.
86 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
87 (cp_demangle): New parameter `style'. Pass it to demangling_new().
88 (main): Call cp_demangle with extra parameter.
89 (java_demangle_v3): New function.
90 (java_builtin_type_names): New. Table of primitive type names used
91 for Java demangling.
92 (demangle_builtin_type): Look up in java_builtin_type_names if doing
93 Java output.
94 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
95 demangling.
96 (long_options): Remove obsolete `java' option.
97 (main): Remove explicit handling of `java' option. Instead, pass style
98 parameter in cplus_demangle flags as gdb does.
99 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 100
bc9bf259
DD
1012001-01-29 Phil Edwards <pme@sources.redhat.com>
102
103 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
fa03f0a7 104
f6528837
DD
1052000-12-29 DJ Delorie <dj@redhat.com>
106
107 * fnmatch.c: Make the note about the origins of this file more
108 accurate, at least until we can sync with glibc.
109 * getopt.c: Ditto.
110 * getopt1.c: Ditto.
111 * md5.c: Ditto.
112 * obstack.c: Ditto.
9d969b59 113
c6da642e
DD
1142000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
115
116 * bsearch.c: New file.
117 * configure.in (funcs): Add bsearch.
118 (AC_CHECK_FUNCS): Likewise.
119 * configure, config.in: Regenerate.
120
ae7d06ad 1212000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
122
123 * safe-ctype.c: #include "ansidecl.h".
124 * strtod.c: Likewise.
125
ae7d06ad 1262000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
127
128 * strtoul.c: Include safe-ctype.h, not ctype.h.
129
ac424eb3
DD
1302000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
131
132 * safe-ctype.c: New file.
133 * Makefile.in (CFILES): Add safe-ctype.c.
134 (REQUIRED_OFILES): Add safe-ctype.o.
135
136 * argv.c: Define ISBLANK and use it, not isspace.
137 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
138 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
139 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
140 before calling TOLOWER(c)/TOUPPER(c).
141
4415a860
DD
1422000-12-07 Mike Stump <mrs@wrs.com>
143
144 * Makefile.in (distclean): When cleaning, remove testsuite.
145
849ee224
DD
1462000-12-05 Jason Merrill <jason@redhat.com>
147
148 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
149 name before allocating the dyn_string.
150
ae7d06ad 1512000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
152
153 * cp-demangle.c: s/new_abi/v3/.
154 * cplus-dem.c: Likewise.
155 (current_demangling_style): Now auto_demangling.
156 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 157 (main): Use standard symbol chars for auto_demangling.
e49a569c 158
ae7d06ad 1592000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
160
161 * hashtab.c (higher_prime_number): Use a table, rather than a
162 seive, to find the next prime.
ae7d06ad
NC
163
1642000-11-22 H.J. Lu <hjl@gnu.org>
165
166 * cplus-dem.c (main): Handle gnat_demangling.
167
1682000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
169
170 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
171 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
172 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
173 argument form of AC_DEFINE in dummy definitions block. Use
174 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
175 in dummy block. Preload cache variables instead of bypassing
176 tests, where possible.
177 * acconfig.h: Removed.
ae7d06ad 178
2ea7befd
DD
179 * xmalloc.c (xmalloc_failed): New function, does error
180 reporting on failed allocation.
181 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 182
f1775526
HPN
1832000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
184
185 * cplus-dem.c (cplus_demangle): Fix formatting.
186 (grow_vect): Ditto.
187 (ada_demangle): Ditto.
188 (internal_cplus_demangle): Ditto.
189 (mop_up): Ditto.
190
1912000-11-21 H.J. Lu <hjl@gnu.org>
192
193 * cplus-dem.c (main): Handle java_demangling.
194
ae7d06ad 1952000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
196
197 * cplus-dem.c (grow_vect): Prototype.
198 (ada_demangle): Cast the arg of ctype macros to unsigned char.
199
5dd42ef4
HPN
2002000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
201
202 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
203 parameter `option'.
204
296731c1
DD
2052000-11-15 Kenneth Block <kenneth.block@compaq.com>
206
8944fb9d 207 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
208 be used in GCC.
209
6e53a714 2102000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 211
5dd42ef4 212 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
213 list.
214
99a4c1bd
HPN
2152000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
216
217 * hashtab.c (htab_expand): Change to return int. Use calloc or
218 xcalloc depending on htab->return_allocation_failure. Return zero
219 if calloc fails.
220 (htab_create): Update comment to cover memory allocation.
221 (htab_try_create): New.
222 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
223 Update comment to cover this.
224
e0f3df8f
HPN
2252000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
226
227 * hashtab.c: Change void * to PTR where necessary.
228 (htab_create, htab_expand): Correct formatting of comment before
229 function.
230
ae7d06ad 2312000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
232
233 * cp-demangle.c (string_list_def): Add caret_position and comments.
234 (result_caret_pos): New macro.
235 (result_append_string): Rename to...
236 (result_add_string): ... this, and insert at caret position.
ae7d06ad 237 Rename throughout.
59666b35
DD
238 (result_append): Rename to...
239 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 240 throughout.
59666b35
DD
241 (result_append_char): Rename to...
242 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 243 throughout.
59666b35
DD
244 (result_append_space): Remove.
245 (string_list_new): Initialize caret position.
246 (result_add_separated_char): Use caret position.
247 (result_get_caret): New funtion.
248 (result_set_caret): Likewise.
249 (result_shift_caret): Likewise.
250 (result_previous_char_is_space): Likewise.
251 (substitution_start): Use caret position.
252 (substitution_add): Likewise.
253 (demangling_new): Initialize caret position.
254 (demangle_encoding): Use caret position.
ae7d06ad 255 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
256 (demangle_type_ptr): Use switch statement. Handle pointers to
257 arrays. Don't use result_append_space. Use caret position.
258 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
259 call to demangle_array_type.
260 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 261
ae7d06ad 2622000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
263
264 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
265
2662000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
267
268 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
269
2702000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
271
272 * splay-tree.c: #include <stdio.h>.
273
2742000-09-14 Hans-Peter Nilsson <hp@axis.com>
275
276 * testsuite/demangle-expected: Add two tests for anonymous
277 namespaces.
278 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
279
2802000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
281
282 * splay-tree.c (splay_tree_predecessor): New function.
283 (splay_tree_successor): Likewise.
ae7d06ad
NC
284
2852000-09-10 Hans-Peter Nilsson <hp@axis.com>
286
287 * testsuite/demangle-expected: Add four tests for type_info
288 mangling.
289 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
290 for a non-template non-qualified type_info function or node.
291
2922000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
293
294 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
295
2962000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
297
298 * md5.c: #include "ansidecl.h".
299
3002000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
301
302 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
303 (demangle_type): Handle substitution candidates correctly in the
304 face of special substitutions.
ae7d06ad
NC
305
3062000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
307
308 * cp-demangle.c (demangle_encoding): Rename variable.
309 (demangle_name): Rename parameter. Handle return type
310 suppression.
311 (demangle_nested_name): Rename parameter.
312 (demangle_prefix): Likewise. Change return type suppression.
313 (demangle_unqualified_name): Add parameter. Flag constructors and
314 conversion operators.
315 (demangle_special_name): Fix comment.
316 (demangle_type): Rename variable.
317 (demangle_bare_function_type): Check for missing return type and
318 parameter.
319 (demangle_class_enum_type): Rename parameter.
320 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
321
3222000-08-31 DJ Delorie <dj@redhat.com>
323
324 * configure.in (Cygwin): special case cygwin only when we're
325 building cygwin, not when we're hosting cygwin.
326
3272000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
328
329 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
330 <expression>.
ae7d06ad
NC
331
3322000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
333
334 * cp-demangle.c (demangle_type_ptr): Increment position past
335 pointer and reference characters.
ae7d06ad
NC
336
3372000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
338
339 * cp-demangle.c (demangle_nv_offset): New function.
340 (demangle_v_offset): Likewise.
341 (demangle_call_offset): Likewise.
342 (demangle_special_name): Update thunk demangling to comply with
343 ABI changes.
ae7d06ad
NC
344
3452000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
346
347 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
348 (substitution_def): Remove template_parm_number.
349 (NOT_TEMPLATE_PARM): Remove.
350 (result_insert_string): New macro.
351 (result_insert): Likewise.
352 (result_insert_char): Likewise.
353 (substitution_add): Remove last parameter. Don't store template
354 parm number.
355 (BFT_NO_RETURN_TYPE): Define as NULL.
356 (demangle_encoding): Adjust call to demangle_bare_function_type.
357 (demangle_name): Adjust substitution. Adjust call to
358 substitution_add.
359 (demangle_prefix): Adjust call to substitution_add.
360 (demangle_identifier): Handle anonymous namespaces.
361 (demangle_operator_name): Change demangling of vendor-extended
362 operator to match ABI changes.
363 (demangle_type_ptr): Change parameters. Make recursive. Handle
364 substitutions here.
365 (demangle_type): Adjust calls to demangle_template_param,
366 substitution_add, and demangle_type_ptr. Fix substitution of
367 templated types.
368 (demangle_function_type): Change parameter to a pointer.
369 (demangle_bare_function_type): Likewise. Adjust insertion point.
370 (demangle_template_param): Remove last parameter.
371 (demangle_expr_primary): Remove unused variable. Adjust call to
372 demangle_template_param.
373 (is_mangled_char): Accept `$' and `.'.
374 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
375 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
376
3772000-08-31 Hans-Peter Nilsson <hp@axis.com>
378
379 * testsuite/demangle-expected: Add nine tests for
380 underscore-after-number followed by five tests for name-signature
381 delimiter.
382
3832000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
384
385 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
386
3872000-08-28 Jason Merrill <jason@redhat.com>
388
389 * Makefile.in (REQUIRED_OFILES): Add md5.o.
390 (CFILES): Add md5.c.
391 * md5.c: New file.
392
3932000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
394
395 * cp-demangle.c (demangle_name): Initialize template_p in local
396 name case. Don't re-add substitutions as candidates.
397 (demangle_nested_name): Use <unqualified-name>.
398 (demangle_prefix): Likewise. Don't add template names as
399 substitution candidates twice, or re-add a substitution or the
400 last prefix component.
401 (demangle_local_name): Adjust output format.
ae7d06ad
NC
402
4032000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
404
405 * cp-demangle.c (result_add_separated_char): Change parameter to
406 int.
407 (substitution_add): Don't check for duplicates. Check if
408 previously allocated size is zero.
409 (demangle_name): Remove duplicate check for std substitution.
410 Clear template flag appropriately.
411 (demangle_prefix): Remove argument to demangle_substitution.
412 Don't check that template flag is already set.
413 (demangle_operator_name): Add pt operator.
414 (demangle_type): Don't treat r as built-in type. Remove argument
415 to demangle_substitution. Fix substitution candidate mechanics.
416 Handle <template-template-parm>s. Improve comments.
417 (demangle_template_param): Don't handle template arg lists here.
418 (demangle_substitution): Remove parameter.
419 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
420
4212000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
422
423 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
424
4252000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
426
427 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
428 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
429 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
430
4312000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
432
433 * cp-demangle.c (result_close_template_list): Remove function.
434 (result_add_separated_char): New function.
435 (result_open_template_list): New macro.
436 (result_close_template_list): Likewise.
437 (demangle_prefix): Don't set template_p if the
438 prefix ends with a ctor name.
439 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
440 (demangle_type): Check for template args after substitution.
441 (demangle_template_args): Use result_open_template_list.
d3e85005 442
ae7d06ad 4432000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 444
ae7d06ad 445 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 446
ae7d06ad 4472000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
448
449 * config/mh-openedition.h: Added -DLE370 definition.
450
a9f34fb6
JL
4512000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
452
453 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
454 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
455 Cast program to 'char *' in errmsg_arg assignment.
456 (PWAIT_ERROR): Define.
457 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
458 to DJGPP's WIF* macros.
459
90aaccd1 4602000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 461 Jeff Law <law@cygnus.com>
90aaccd1 462
ae7d06ad 463 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 464
90aaccd1 465 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
466 * rename.c: Include config.h, unistd.h
467 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 468
6ef554e3
HPN
4692000-07-24 Hans-Peter Nilsson <hp@axis.com>
470
471 * cplus-dem.c (work_stuff_copy_to_from): New.
472 (delete_non_B_K_work_stuff): New.
473 (delete_work_stuff): New.
474 (mop_up): Break out work_stuff partly destruction to
475 delete_non_B_K_work_stuff.
476 (iterate_demangle_function): New.
477 (demangle_prefix): Call iterate_demangle_function instead of
478 demangle_function_name. Leave handling of name-signature
479 __-delimiters to iterate_demangle_function.
480 (demangle_integral_value): Strip an optional
481 following underscore cautiously. Handle negative numbers.
482
ae7d06ad 4832000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 484
ae7d06ad 485 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
486 if (AUTO_DEMANGLING || GNU_DEMANGLING)
487
ae7d06ad
NC
4882000-07-21 Alex Samuel <samuel@codesourcery.com>
489
490 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
491 allocating ctor mangling.
492 (demangle_array_type): Handle empty and non-constant array length.
493
b1233257 4942000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
495 Jeff Law <law@cygnus.com>
496
497 * configure.in (AC_CHECK_HEADERS): Add time.h.
498 (AC_HEADER_TIME): Add check.
499 * configure, config.in: Regenerate.
500 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
501
502 * configure.in (AC_CHECK_HEADERS): Add limits.h.
503 * configure, config.in: Regenerate.
504 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
505 * strtol.c, strtoul.c: #include "config.h". Portably #include
506 <limits.h> and/or <sys/param.h>.
507 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 508
7d3ffcaf
JL
509 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
510 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
511 * configure, config.in: Regenerate.
512 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
513
b1233257
JL
514 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
515
ae7d06ad
NC
5162000-07-21 Mike Stump <mrs@wrs.com>
517
518 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
519 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
520
5212000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
522
523 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
524
525 * setenv.c (setenv): Initialize variable `ep'.
526
527 * sigsetmask.c (abort): Prototype.
528
529 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
530 __STDC__ for stdarg.h include.
531 (int_vasprintf): Prototype.
532 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
533 definition. Cast `global_total_width' in comparison.
534 (main): Prototype. Return a value.
535
536 * vfork.c (fork): Prototype.
537
538 * xexit.c: Include config.h.
539
9adf30b2
JL
5402000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
541
542 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
543 and print it with %u.
544
2ed78d1b
HPN
5452000-07-17 Hans-Peter Nilsson <hp@axis.com>
546
547 * testsuite/regress-demangle (failed test): Show result and
548 expected output.
549
0473bdf7
AH
5502000-07-07 Andrew Haley <aph@cygnus.com>
551
552 * cplus-dem.c (main): fflush() after emitting last char before
553 waiting for input.
554
03d5f569
JM
5552000-06-28 Alex Samuel <samuel@codesourcery.com>
556
557 * cp-demangle.c (demangle_encoding): Accept no substitutions.
558 (demangle_name): Handle <substitution> followed by
559 <unqualified-template-name>.
560 (demangle_type): Follow special substitutions with
561 <class-enum-type>
562 (demangle_subtitution): Set template_p for special substitutions.
563 (main): Fix typos.
ae7d06ad 564
03d5f569
JM
5652000-06-27 Alex Samuel <samuel@codesourcery.com>
566
567 * cp-demangle.c (demangle_special_name): Swap base and derived
568 class when demangling construction vtables.
569
5702000-06-21 Alex Samuel <samuel@codesourcery.com>
571
572 * cp-demangle.c: Don't include ctype.h.
573 (IS_DIGIT): New macro.
574 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
575 instead of isdigit and isalpanum.
576 (demangling_def): Make name and next const pointers.
577 (STATUS_ALLOCATION_FAILED): New status code.
578 (dyn_string_append_space): Handle failure in
579 dyn_string_append_char.
580 (int_to_dyn_string): Likewise. Change return value to status_t.
581 (string_list_new): Handle failure of dyn_string_init.
582 (result_close_template_list): Change return type to status_t.
583 Handle failure in dyn_string_append.
584 (result_push): Change return value to status_t. Handle failure in
585 string_list_new. Handle failure of result_push throughout.
586 (substitution_add): Change return value to status_t. Handle
587 dyn_string failures. Handle failure of substitution_add
588 throughout.
589 (template_arg_list_new): Return NULL on allocation failure.
590 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
591 Handle error result throughout.
592 (result_append): Likewise.
593 (result_append_char): Likewise.
594 (result_append_space): Likewise.
595 (demangling_new): Make argument a const pointer. Handle
596 allocation failures.
597 (demangle_template_args): Handle failure in template_arg_list_new
598 and result_close_template_list.
599 (demangle_discriminator): Return if int_to_dyn_string fails.
600 (cp_demangle): Likewise.
601 (cp_demangle_type): New function.
602 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
603 memory allocation failure.
604 (main): Likewise.
605 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
606 IN_LIBGCC2.
607 (dyn_string_init): Change return value to int. Handle
608 RETURN_ON_ALLOCATION_FAILURE case.
609 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
610 (dyn_string_release): Delete the dyn_string.
611 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
612 (dyn_string_copy): Change return type to int.
613 (dyn_string_copy_cstr): Likewise.
614 (dyn_string_prepend): Likewise.
615 (dyn_string_prepend_cstr): Likewise.
616 (dyn_string_insert): Likewise.
617 (dyn_string_insert_cstr): Likewise.
618 (dyn_string_append): Likewise.
619 (dyn_string_append_cstr): Likewise.
620 (dyn_string_append_char): Likewise.
621 (dyn_string_substring): Likewise.
ae7d06ad 622
eb383413 6232000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 624
eb383413
L
625 * cp-demangle.c (demangle_operator_name): Add spaces before
626 names beginning with a letter: delete, delete[], new, new[],
627 sizeof.
628 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 629
eb383413
L
630Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
631
632 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
633
634Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
635
636 * cp-demangle.c (stdio.h): File included unconditionaly.
637 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
638 * dyn-string.c (stdio.h): File included.
639 * partition.c (partition_print): No `&' needed to take the address of
640 a function.
641
6422000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
643
644 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 645
eb383413
L
646 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
647
648 * cp-demangle.c (demangle_char): Change parameter from char to int.
649 (demangle_expression, demangle_expr_primary): Remove extra
650 semi-colon in prototype.
651
652 * dyn-string.c (dyn_string_append_char): Change parameter from
653 char to int.
654
655 * memcmp.c (memcmp): Constify.
656
657 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
658 __extension__.
659
660 * partition.c (elem_compare): Prototype. Don't cast away
661 const-ness.
662
663 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 664
eb383413
L
6652000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
666
667 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
668
669 * cp-demangle.c: Include demangle.h.
670 (template_arg_list_new): DeANSIfy.
671 (cp_demangle): Make static and add prototype.
672 (operator_code, operators): Constify.
673 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
674
6752000-06-05 Alex Samuel <samuel@codesourcery.com>
676
677 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
678 unsigned char.
679 (demangle_unqualified_name): Likewise.
680 (demangle_number_literally): Likewise.
681 (demangle_type): Likewise.
682 (demangle_substitution): Likewise.
683 (is_mangled_char): Likewise, for isalnum.
684
6852000-06-04 Alex Samuel <samuel@codesourcery.com>
686
687 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
688 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
689 (cp-demangle.o): New dependency.
690 (dyn-string.o): Likewise.
691
692 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
693
694 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
695 demangler.
696 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
697 demangling mode.
698 (gnu_new_abi_symbol_characters): New function.
699 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
700 file.
701 * cp-demangle.c: New file.
ae7d06ad 702
f03aa80d
AC
703Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
704
705 * floatformat.c: Add name to each floatformat field.
706
77bfb694
JL
707Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
708
709 * Makefile.in (objalloc.o): Depend on config.h
710
5c82d20a
ZW
7112000-05-29 Zack Weinberg <zack@wolery.cumb.org>
712
eb383413 713 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
714 if HAVE_STRING_H.
715 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
716 * objalloc.c: Include config.h. Include stdlib.h and don't
717 declare malloc or free if HAVE_STDLIB_H.
718 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
719 else declare malloc without prototype. Include string.h if
720 HAVE_STRING_H, else declare memset without prototype. Don't
721 include stddef.h.
722
eb383413
L
7232000-05-23 Mike Stump <mrs@wrs.com>
724
725 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
726 -j3.
727
7282000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
729
730 * xmalloc.c: Include config.h for HAVE_SBRK definition.
731
7322000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
733
ae7d06ad 734 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
735 probably zero, also eliminate a warning on alpha.
736
7372000-05-15 David Edelsohn <edelsohn@gnu.org>
738
739 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
740 on $(enable_shared).
741
7422000-05-10 Jakub Jelinek <jakub@redhat.com>
743
744 * config.table: Use mh-sparcpic for sparc*-*-*.
745
7462000-05-08 Nick Clifton <nickc@cygnus.com>
747
748 * Makefile.in (CFILES): Add strncmp.c.
749 (NEEDED): Add strncmp.
750
7512000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 752
eb383413
L
753 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
754 Cast the arguments to `islower' to `unsigned char'.
755 (print_demangler_list): Prototype.
756
757Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
758
759 * sort.c (UCHAR_MAX): Provide fallback definition.
760
7612000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
762
763 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
764 SUBDIRS.
765
eb383413
L
7662000-04-28 Kenneth Block <block@zk3.dec.com>
767 Jason Merrill <jason@casey.cygnus.com>
768
ae7d06ad
NC
769 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
770 (cplus_demangle_set_style): New function for setting style.
771 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
772
7732000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
774
775 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
776
777 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
778 (libiberty_AC_FUNC_STRNCMP): Invoke.
779
780 * strncmp.c: New file.
781
782Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
783
784 * hashtab.c (htab_expand): Add prototype.
785 (find_empty_slot_for_expand): Likewise.
786
7872000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
788
789 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
790 match prototype.
791 (htab_expand): Cast the return value of xcalloc.
792
7932000-04-24 Mark Mitchell <mark@codesourcery.com>
794
795 * hashtab.c (hash_pointer): New function.
796 (eq_pointer): Likewise.
797 (htab_hash_pointer): New variable.
798 (htab_eq_pointer): Likewise.
799
8002000-04-23 Mark Mitchell <mark@codesourcery.com>
801
802 * sort.c (sort_pointers): Fix endianness bugs.
803
804 * sort.c: New file.
805 * Makefile.in (CFILES): Add sort.c
806 (REQUIRED_OFILES): Add sort.o.
807 (sort.o): New target.
808
19be4303
JL
8092000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
810
811 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
812 4.3BSD systems.
813
eb383413
L
814Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
815
816 * hashtab.c: Various minor cleanups.
817 (htab_find_slot_with_hash): INSERT is now enum insert_option.
818 (htab_find_slot): Likewise.
819
8202000-04-16 Dave Pitts <dpitts@cozx.com>
821
822 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 823
afe36a78
RH
8242000-04-05 Richard Henderson <rth@cygnus.com>
825
826 * splay-tree.c (splay_tree_remove): New.
827
eb383413
L
8282000-03-30 Mark Mitchell <mark@codesourcery.com>
829
830 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
831 codes.
832 (htab_find_with_hash): Likewise.
833 (htab_find_slot_with_hash): Likewise.
ae7d06ad 834
eb383413
L
8352000-03-29 Zack Weinberg <zack@wolery.cumb.org>
836
837 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
838 unless it will be used. Rearrange loop for better
839 optimization.
840 (higher_prime_number): Add static prototype.
841
b4fe2683
JM
842Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
843
844 * Makefile.in (partition.o): Depend on config.h
845
8462000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
847
848 * hashtab.c (find_empty_slot_for_expand): New function.
849 (htab_expand): Use it instead of htab_find_slot.
850 (htab_find_with_hash): Renamed from htab_find; now accepts extra
851 argument HASH.
852 (htab_find_slot_with_hash): Likewise for htab_find_slot.
853 (htab_find): New wrapper function.
854 (htab_find_slot): Likewise.
855 (htab_traverse): Pass slot, not entry, to called function.
856
8572000-03-09 Alex Samuel <samuel@codesourcery.com>
858
859 * Makefile.in (CFILES): Add partition.c.
860 (REQUIRED_OFILES): Add partition.o.
861 (partition.o): New rule.
862 * partition.c: New file.
ae7d06ad 863
b4fe2683
JM
8642000-03-09 Zack Weinberg <zack@wolery.cumb.org>
865
866 * hashtab.c (htab_create): Set del_f.
867 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
868 Use it.
869
8702000-03-08 Zack Weinberg <zack@wolery.cumb.org>
871
872 * hashtab.c: Remove debugging variables (all_searches,
873 all_collisions, all_expansions). Delete
874 all_hash_table_collisions.
875 (create_hash_table, delete_hash_table, empty_hash_table,
876 find_hash_table_entry, remove_element_from_hash_table_entry,
877 clear_hash_table_slot, traverse_hash_table, hash_table_size,
878 hash_table_elements_number, hash_table_collisions): Rename to:
879 htab_create, htab_delete, htab_empty, htab_find_slot,
880 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
881 htab_elements, htab_collisions.
882 (htab_find): New function, handles common case where you don't
883 plan to add or delete an entry.
884 (htab_expand): Don't create a whole new table, just a new
885 entry vector.
886 (htab_find_slot): Simplify logic.
887
08372f14
ILT
8881999-08-03 Ian Lance Taylor <ian@zembu.com>
889
890 * floatformat.c: Add casts to avoid signed/unsigned warnings.
891 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
892
893 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
894 $(TARGETLIB)n so it works on MSDOS.
895 (install_to_tooldir): Likewise.
896
9c8ac5a9
ILT
8971999-07-21 Ian Lance Taylor <ian@zembu.com>
898
899 From Mark Elbrecht:
900 * makefile.dos: Remove; obsolete.
8f36e47c 901 * configure.bat: Remove; obsolete.
9c8ac5a9 902
0c0a36a4
ILT
9031999-07-11 Ian Lance Taylor <ian@zembu.com>
904
905 * splay-tree.c (splay_tree_insert): Add initialization to avoid
906 warning.
907
9082000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
909
910 * pexecute.c: Conditionally include string.h.
b4fe2683 911 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
912
9132000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
914
915 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
916 we're using gcc.
917
918 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
919
9201999-12-27 Geoff Keating <geoffk@cygnus.com>
921
922 * vasprintf.c (int_vasprintf): Don't re-read the format character
923 as this mishandles strings like '%%s'.
924
9251999-12-05 Mark Mitchell <mark@codesourcery.com>
926
927 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
928 rather than struct splay_tree_node.
929 (splay_tree_insert): Use struct splay_tree_s rather than struct
930 splay_tree.
931
932Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
933
934 * hashtab.c (sys/types.h): File included.
935
9361999-11-22 Jason Merrill <jason@casey.cygnus.com>
937
938 * strtoul.c, strtol.c, random.c: Remove advertising clause from
939 BSD license, pursuant with
940
941 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
942
943Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
944
945 * hashtab.c: Include stdio.h.
946
947Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
948
949 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
950
951Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
952
953 * xstrdup (sys/types.h): Include this file.
954
9551999-10-28 Nathan Sidwell <nathan@acm.org>
956
957 * Makefile.in (SUBDIRS): New macro.
958 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
959 avoid multiple subdirectory cleaning.
960 (*-subdir): Use SUBDIRS.
961
9621999-10-25 Jim Kingdon <http://developer.redhat.com/>
963
964 * cplus-dem.c: Move declarations of standard_symbol_characters and
965 hp_symbol_characters inside #ifdef MAIN to avoid compiler
966 warnings.
967
9681999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
969
970 * hashtab.c (find_hash_table_entry): When returning a
971 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
972 (clear_hash_table_slot): New function which deletes an entry
973 by its position in the table, not its value.
974 (traverse_hash_table): New function which calls a hook
975 function for every live entry in the table.
976
9771999-10-19 Mark Mitchell <mark@codesourcery.com>
978
979 * cplus-dem.c (INTBUF_SIZE): New macro.
980 (string_append_template_idx): New function.
981 (demangle_expression): Likewise.
982 (demangle_integral_value): Use it.
983 (demangle_real_value): New function, split out from ...
984 (demangle_template_value_parm): ... here. Use
985 string_append_template_idx. Use demangle_real_value.
986 (demangle_template): Use string_append_template_idx.
987 (demangle_qualified): Use consume_count_with_underscores.
988 (get_count): Tweak formatting.
989 (do_type): Use string_append_template_idx.
b4fe2683 990
0c0a36a4
ILT
9911999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
992
993 * calloc.c: Add a public domain notice.
994
995Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
996
997 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
998
999Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1000
1001 * Makefile.in (CFILES): Add hashtab.c
1002 (REQUIRED_OFILES): Add hashtab.o
1003 (hashtab.o): Add dependencies.
1004 * hashtab.c: New file
1005
1006Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1007
1008 * basename.c (DIR_SEPARATOR): New macro.
1009 (DIR_SEPARATOR_2): Likewise.
1010 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1011 (IS_DIR_SEPARATOR): Likewise.
1012 (main): Handle MSDOS style pathname.
1013
10141999-10-11 Mark Mitchell <mark@codesourcery.com>
1015
1016 * cplus-dem.c (do_type): Handle pointer to member types whose
1017 enclosing classes have namespace scope.
1018
1019Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1020
1021 * config.table: Provide a backup shell for executing move-if-change.
1022
10231999-10-02 Mark Mitchell <mark@codesourcery.com>
1024
1025 * xmalloc.c (xmalloc): Fix spelling error.
1026 (xcalloc, xrealloc): Likewise.
1027
10281999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1029
1030 * cplus-dem.c (fancy_abort, demangle_integral_value,
1031 demangle_arm_hp_template, recursively_demangle,
1032 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1033 (program_name, program_version, fatal): Constify a char*.
1034 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1035 (main): Call return, not exit.
1036
10371999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1038
1039 * choose-temp.c: Remove obsolete comment about gcc.
1040 (make_temp_file): Constify a char*.
1041
1042Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1043
1044 * xmemdup.c: Include sys/types.h.
1045
10461999-09-07 Jeff Garzik <jgarzik@pobox.com>
1047
1048 * xmemdup.c: New xmemdup function.
1049 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1050
1051Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1052
b4fe2683 1053 * config.table: Add openedition target.
0c0a36a4
ILT
1054 * config/mh-openedition: New file.
1055
1056Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1057
1058 * pexecute.c (pexecute): Fill in temp_base when needed.
1059
10601999-08-31 Richard Henderson <rth@cygnus.com>
1061
1062 * getpwd.c: Check HAVE_GETCWD before defining it away.
1063
10641999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1065
1066 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1067 (REQUIRED_OFILES): Add getpwd.o.
1068 (getpwd.o): Add target.
1069
1070 * configure.in (AC_PREREQ): Bump to 2.13.
1071 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1072
1073 * getpwd.c: New file, moved here from gcc.
1074
10751999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1076
1077 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1078 comparing against a signed quantity.
1079 (arm_special): Likewise.
1080 (demangle_fund_type): Likewise.
1081 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1082 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1083 (main): Constify variable `valid_symbols'.
1084
1085Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1086
1087 * strtoul.c (strtoul): Add parentheses around && within ||.
1088
1089Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1090
1091 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1092 libdir, libsubdir and tooldir.
1093
10941999-08-01 Mark Mitchell <mark@codesourcery.com>
1095
1096 * splay-tree.c (splay_tree_insert): Return the new node.
1097
35ca97ea
RH
10981999-07-14 Richard Henderson <rth@cygnus.com>
1099
b4fe2683 1100 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1101 prototyping directly.
1102 * choose-temp.c: Conditionally include string.h.
1103
0c0a36a4
ILT
11041999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1105
1106 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1107
af32ff69
ILT
11081999-07-11 Ian Lance Taylor <ian@zembu.com>
1109
1110 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1111 warning.
1112
0c0a36a4
ILT
11131999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1114
1115 * Makefile.in (needed-list): Only include stuff we actually need
1116 for libstdc++.
1117
11181999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1119
1120 * configure.in (checkfuncs): Add gettimeofday.
1121 * config.in, configure: Regenerated.
1122
1123Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1124
1125 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1126 the test fails.
1127 * configure: Regenerate.
1128
11291999-06-10 Mike Stump <mrs@wrs.com>
1130
1131 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1132 parallel builds.
1133
11341999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1135
1136 * putenv.c: Include ansidecl.h to define `const'.
1137 * setenv.c: Likewise.
1138
1139Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1140
1141 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1142 * configure.in (funcs): Add putenv and setenv.
1143 (AC_CHECK_FUNCS): Check for putenv and setenv.
1144 * configure: Rebuilt.
1145 * putenv.c setenv.c: New files.
1146
1147 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1148 bytes of space using malloc.
1149
1150Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1151
1152 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1153 the *mangled pointer beyond the end of the string. Clean up code to
1154 match prevailing coding style.
1155
11561999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1157
1158 * tmpnam.c (L_tmpnam): Fix typo.
1159
1160Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1161
1162 * cplus-dem.c (standard_symbol_characters): Renamed from
1163 standard_symbol_alphabet. No longer modify TABLE.
1164 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1165 modify TABLE.
1166 (main): Corresponding changes. Use strchr to determine if a
1167 character is valid.
1168
e9868447
JB
11691999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1170
1171 * cplus-dem.c (main): Use table lookup to distinguish identifier
1172 characters from non-identifier characters.
1173 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1174
33fbbfbc
RH
1175Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1176
1177 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1178 * getruntime.c: Only attempt to include sys/resource.h and
1179 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1180 are defined.
1181
0c0a36a4
ILT
1182Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1183
1184 * configure.in (alloca detection): Handle alloca directly for interix.
1185 * configure: Rebuilt.
1186
1187Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1188
1189 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1190
252b5132
RH
11911999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1192
1193 Fix from Dale Hawkins:
b4fe2683 1194 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1195 reallocated properly if we use it again.
1196
1197 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1198 stricter about syntax. Always null-terminate string.
1199
c1687039
ILT
1200Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1201
1202 * configure.in (checkfuncs): Check for sbrk.
1203 * config.in: Rebuilt.
1204 * configure: Likewise.
1205 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1206
0c0a36a4
ILT
12071999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1208
1209 Fix from Marcus Daniels:
1210 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1211 identifier looking for another underscore.
1212
1213Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1214
1215 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1216 * xmalloc.c: Likewise.
1217 (xcalloc): UWIN has sbrk.
1218 (xrealloc): Fix guard macro.
1219
252b5132
RH
12201999-04-11 Richard Henderson <rth@cygnus.com>
1221
1222 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1223 or <alloca.h>.
1224 * clock.c (GNU_HZ): New definition.
1225 (clock): Use it.
1226 * getruntime.c: Likewise.
1227
1228 * config.table: Use mh-beos.
1229 * config/mh-beos: New file.
1230
0c0a36a4
ILT
12311999-04-11 Mark Mitchell <mark@codesourcery.com>
1232
1233 * cplus-dem.c (demangle_template_value_parm): Handle
1234 pointers-to-members.
1235 (do_type): Handle template parameters as qualifiers.
1236
252b5132
RH
12371999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1238
1239 * cplus-dem.c: Attempt to handle overflows in counts with some
1240 semblance of grace.
1241 (consume_count): Detect overflows. Return -1 to indicate errors,
1242 instead of zero.
1243 (demangle_template_value_parm, demangle_template): Handle change
1244 to consume_count's return convention.
1245
0c0a36a4
ILT
12461999-04-05 Tom Tromey <tromey@cygnus.com>
1247
1248 * testsuite/regress-demangle: New file.
1249 * testsuite/demangle-expected: New file.
252b5132 1250
0c0a36a4
ILT
1251 * Makefile.in (all, check, installcheck, info, install-info,
1252 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1253 distclean, maintainer-clean, realclean): Depend on corresponding
1254 `-subdir' target.
1255 (all-subdir check-subdir installcheck-subdir info-subdir
1256 install-info-subdir clean-info-subdir dvi-subdir
1257 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1258 distclean-subdir maintainer-clean-subdir): New target.
1259 * testsuite/Makefile.in: New file.
1260 * configure: Rebuilt.
1261 * configure.in: Create testsuite/Makefile.
252b5132
RH
1262
12631999-04-02 Mark Mitchell <mark@codesourcery.com>
1264
1265 * splay-tree.h (splay_tree_compare_pointers): Define.
1266
12671999-03-30 Mark Mitchell <mark@codesourcery.com>
1268
1269 * splay-tree.c (splay_tree_compare_ints): Define.
1270
12711999-03-30 Tom Tromey <tromey@cygnus.com>
1272
1273 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1274 don't advance input pointer.
1275 (demangle_class_name): If consume_count didn't find a count, do
1276 nothing. Don't bother with `strlen' sanity check; consume_count
1277 does it for us.
1278
12791999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1280
1281 From Art Haas <ahaas@neosoft.com>:
1282 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1283 when doing arm or hp style.
1284 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1285
252b5132
RH
1286Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1287
1288 * pexecute.c (__CYGWIN32__): Rename to
1289 (__CYGWIN__): this.
1290 * xmalloc.c: Likewise.
1291
1292 Changes to support i386-pc-uwin.
1293 * configure.in (*-*-uwin*): Workaround for vfork bug.
1294 * configure: Regenerate.
1295 * pexecute.c (pexecute): Be like standard Unix.
1296 (pwait): Likewise.
1297 * xmalloc.c (first_break): Define.
1298 (xmalloc_set_program_name): Use.
1299 (xmalloc): Use.
1300
1301Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1302
1303 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1304
1305Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1306
1307 * config.table: Check cygwin*, not cygwin32*.
1308
1309Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1310
1311 * Makefile.in: Change mkstemp -> mkstemps.
1312
1313Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1314
1315 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1316 * configure.in (funcs): Check for and conditionally add mkstemps to
1317 the list of functions libiberty will provide.
1318 * configure: Rebuilt.
b4fe2683 1319
252b5132
RH
1320Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1321
b4fe2683 1322 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1323 platforms that don't have HZ.
1324 * getruntime.c (HZ): Likewise.
1325
1326Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1327
1328 * Makefile.in (xstrdup.o): Depend on config.h.
1329
1330Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1331
1332 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1333 freeing it.
1334
1335Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1336
1337 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1338
1339Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1340
1341 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1342 splay-tree.o.
1343
13441999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1345
1346 * configure.in: Require autoconf 2.12.1 or higher.
1347
13481998-12-30 Michael Meissner <meissner@cygnus.com>
1349
1350 * random.c (NULL): Don't redefine NULL if it is already defined.
1351
1352Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1353
1354 * argv.c (buildargv): Cast the result of alloca in assignment.
1355
1356 * choose-temp.c: Include stdlib.h.
1357
1358 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
1359 (snarf_numeric_literal): Constify first parameter.
1360 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1361 int, not a char.
1362 (demangle_qualifier): Likewise.
1363 (demangle_signature): Cast the argument of a ctype function to
1364 unsigned char.
1365 (arm_pt): Add parens around assignment used as truth value.
1366 (demangle_arm_hp_template): Constify variable `args'.
1367 (do_hpacc_template_const_value): Cast the argument of a ctype
1368 function to unsigned char.
1369 (do_hpacc_template_literal): Remove unused variable `i'.
1370 (snarf_numeric_literal): Constify parameter `args'.
1371 Cast the argument of a ctype function to unsigned char.
1372
1373 * floatformat.c (floatformat_to_double): Add explicit braces to
1374 avoid ambiguous `else'.
1375
1376 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
1377 `cstart' and `cend' to unsigned char. Cast the argument of macro
1378 `FOLD', which uses ctype functions, to unsigned char.
1379
1380 * objalloc.c (free): Add prototype.
1381
1382Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1383
1384 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1385
1386Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1387
1388 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
1389 doesn't exist.
1390 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1391
252b5132
RH
1392Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1393
1394 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1395 bumping the pointer we read from. Also prepend these codes,
1396 as we do in other places.
1397
13981998-12-18 Nick Clifton <nickc@cygnus.com>
1399
1400 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1401 'const char *' in order to match its usage when calling siblings.
1402 (snarf_numeric_literal): Make first arg 'const char **' in order
1403 to match usage.
1404
1405Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1406
1407 * choose-temp.c: Don't check IN_GCC anymore.
1408
1409 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1410 * memchr.c (memchr): Likewise.
1411 * memcpy.c (memcpy): Likewise.
1412 * memmove.c (memmove): Likewise.
1413
1414 * mkstemp.c: Don't check IN_GCC anymore.
1415 * pexecute.c: Likewise.
1416 * splay-tree.c: Likewise.
1417
1418 * strchr.c (strchr): Use `const', not `CONST'.
1419 * strrchr.c (strrchr): Likewise.
1420 * strtol.c (strtol): Likewise.
1421 * strtoul.c (strtoul): Likewise.
1422
1423Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1424 Elena Zannoni <ezannoni@cygnus.com>
1425 Stan Shebs <shebs@cygnus.com>
1426 Edith Epstein <eepstein@cygnus.com>
1427 Andres MacLeod <amacleod@cygnus.com>
1428 Satish Pai <pai@apollo.hp.com>
1429
1430 * HP aCC demangling support.
1431 * cplus-dem.c
1432 (main): Remove default to HP style demangling, set to EDG
1433 demangling correctly when -edg specified; set the demangling style
1434 when user specifies 'edg'. Set strip_underscore to
1435 prepends_underscore, if not HPUXHPPA. Set
1436 current_demangling_style to hp_demangling if HPUXHPPA. Set
1437 current demangling style correctly if the switch is hp. Read
1438 label correctly also in the HP style case.
1439 (work_stuff): add temp_start field; add field for volatile member
1440 function.
1441 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
1442 style for this case is the same as ARM.
1443 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1444 (demangle_arm_hp_template): new function. (It was
1445 demangle_arm_pt.); check and set value of temp_start field in
1446 multiple places. Also, when ceching for end of template args,
1447 check to see if at end of static member of template class.
1448 (demangle_class): new local variable : save_class_name_end Don't
1449 include template args in string defining class.
1450 (demangle_class_name): use demangel_arm_hp_template.
1451 (demangle_function_name): handle case where demangling style is
1452 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1453 Handle EDG_DEMANGLING style. Handle constructor and destructor
1454 ops for HP style.
1455 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
1456 styles. global destructor and constructor for HP style are same
1457 as for ARM style. Same for local variables.
1458 (demangle_qualified): handle EDG_DEMANGLING style.
1459 (demangle_signature): add case for volatile member function. For
1460 cases '1' - '9' : initialize the temp_start field to -1 and handle
1461 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1462 and AUTO_DEMANGLING styles. If expecting a function and managed
1463 to demangle the funct args, then handle the LUCID_DEMANGLING,
1464 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1465 class name after "Lnnn_ in HP style case. HP style too needs to
1466 forget types. _nnn is OK for HP style, so don't report failure.
1467 (do_hpacc_template_const_value): new function. Handle template's
1468 value param for HP/aCC.
1469 (do_hpacc_template_literal): new function. Handle a template's
1470 literal parameter for HP aCC.
1471 (recursively_demangle): new function
1472 (snarf_numeric_literal): new function.
1473 (usage): add 'edg' to the list of demangling styles; add hp switch
1474 to message.
1475
1476Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1477
1478 * pexecute.c: Remove obsolete ifdefed cygwin code.
1479
1480Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1481
1482 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1483 * cplus-dem.c: Likewise. Conform to libiberty.h.
1484 * pexecute.c: Likewise.
1485 * splay-tree.c: Likewise.
1486
14871998-11-25 Mike Stump <mrs@wrs.com>
1488
1489 * Makefile.in (splay-tree.o): Add config.h dependency.
1490
1491Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1492
1493 * configure.in: Use AC_PREREQ(2.12.1).
1494
14951998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1496
b4fe2683 1497 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1498
1499Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1500
1501 * mpw.c (mpw_access): Add missing parens.
1502
1503Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1504
1505 * configure.in: Call AC_HEADER_SYS_WAIT.
1506
1507 * pexecute.c: Include sys/wait.h when !IN_GCC.
1508
1509Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1510
1511 * pexecute.c: revert back to checking old Cygwin
1512 preprocessor symbol until some time has passed.
1513
1514Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1515
1516 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1517 since it will now support similar constructs.
1518
1519Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1520
1521 * configure.in: Check for calloc.
1522
1523 * calloc.c: New file.
1524
1525 * xmalloc.c (xcalloc): New function.
1526
1527Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1528
1529 *cplus-dem.c (demangle_prefix): Use the last "__"
1530 in the mangled name when looking for the signature. This allows
1531 template names to begin with "__".
1532
15331998-11-08 Mark Mitchell <mark@markmitchell.com>
1534
1535 * cplus-dem.c (type_kind_t): Add tk_reference.
1536 (demangle_template_value_parm): Handle it.
1537 (do_type): Use it for references, instead of tk_pointer.
1538
1539 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1540 not internal_cplus_demangle.
1541
1542Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1543
1544 * choose-temp.c: Don't include gansidecl.h.
1545 * mkstemp.c: Likewise.
1546 * pexecute.c: Likewise.
1547
1548Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1549
b4fe2683
JM
1550 * configure.in: detect cygwin* instead of cygwin32*
1551 * configure: regenerate
252b5132
RH
1552
1553Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1554
1555 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
1556 whether to include config.h. Possibly include unistd.h in the
1557 !IN_GCC case. Define VFORK_STRING as a printable function call
1558 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1559 defined, include vfork.h. If VMS is defined, define vfork()
1560 appropriately. Remove vfork check on USG, we're using autoconf.
1561 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1562 locally what string to use.
1563
15641998-10-26 Mark Mitchell <mark@markmitchell.com>
1565
1566 * splay-tree.c: Tweak include directives to make sure declarations of
1567 xmalloc and free are available.
1568
15691998-10-25 Mark Mitchell <mark@markmitchell.com>
1570
1571 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1572 anonymous namespaces.
1573
15741998-10-23 Mark Mitchell <mark@markmitchell.com>
1575
1576 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1577 with type_quals.
1578 (TYPE_UNQUALIFIED): New macro.
1579 (TYPE_QUAL_CONST): Likewise.
1580 (TYPE_QUAL_VOLATILE): Likewise.
1581 (TYPE_QUAL_RESTRICT): Likewise.
1582 (code_for_qualifier): New function.
1583 (qualifier_string): Likewise.
1584 (demangle_qualifier): Likewise.
1585 (internal_cplus_demangle): Use them.
1586 (demangle_signature): Likewise.
1587 (demangle_template_value_parm): Likewise.
1588 (do_type): Likewise.
1589 (demangle_fund_type)): Likewise.
1590
1591Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1592
1593 * splay-tree.c (splay_tree_foreach_helper): Make definition static
1594 to match prototype.
1595
15961998-10-21 Mark Mitchell <mark@markmitchell.com>
1597
1598 * splay-tree.c: New file.
1599 * Makefile.in (CFILES): Add it.
1600 (REQUIRED_OFILES): Likewise.
1601 (splay-tree.o): Add dependencies.
1602
1603Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1604
1605 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
1606 range of 'K' index.
1607
1608Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1609
1610 * choose-temp.c: Prototype mkstemps() when IN_GCC.
1611
1612 * cplus-dem.c (consume_count): Cast argument of ctype macro to
1613 `unsigned char'.
1614 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
1615 comparing against one.
1616 (cplus_mangle_opname): Likewise.
1617 (demangle_integral_value): Cast argument of ctype macro to
1618 `unsigned char'.
1619 (demangle_template_value_parm): Likewise.
1620 (demangle_template): Initialize variable `bindex'. Cast the
1621 result of `strlen' to (int) when comparing against one. Remove
1622 unused variable `start_of_value_parm'.
1623 (demangle_class_name): Cast the result of `strlen' to (int) when
1624 comparing against one.
1625 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
1626 (gnu_special): Likewise. Cast the result of `strlen' to (int)
1627 when comparing against one.
1628 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
1629 (get_count): Likewise.
1630 (do_type): Likewise. Cast the result of `strlen' to (int) when
1631 comparing against one.
1632 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
1633 (demangle_function_name): Cast the result of `strlen' to (int)
1634 when comparing against one.
1635
1636 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
1637 comparing against one.
1638
1639Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
1640
b4fe2683
JM
1641 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
1642 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
1643 * config.in, configure: Rebuilt.
252b5132
RH
1644
1645 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
1646 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
1647 * config.in, configure: Rebuilt.
1648
1649Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
1650
b4fe2683 1651 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
1652
1653Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
1654
1655 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
1656
1657Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
1658
1659 * Merge egcs & devo libiberty.
1660
1661