]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
Makefile.in (top_builddir): Set to `.'.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
207db768
L
12004-12-18 H.J. Lu <hongjiu.lu@intel.com>
2
3 * Makefile.in (top_builddir): Set to `.'.
4 (OUTPUT_OPTION): Removed.
5 (LIBTOOL): New.
6 (LTLIBOBJS): New.
7 (EXTRA_LTOFILES): New.
8 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
9 (all): Remove stamp-picdir.
10 (LTCOMPILE): New.
11 (.c.lo): New rule.
12 (REQUIRED_LTOFILES): New.
13 (CONFIGURED_LTOFILES): New.
14 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
15 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
16 (stamp-picdir): Completely removed.
17 (maint-missing): Pass $(REQUIRED_LTOFILES)
18 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
19 $(CONFIGURED_OFILES)
20 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
21 $(CONFIGURED_LTOFILES).
22 (mostlyclean): Also remove *.lo .libs.
23 Run "make maint-deps".
24
25 * aclocal.m4: Include ../libtool.m4.
26
27 * config.table: Don't check --enable-shared.
28
29 * configure.ac (AC_PROG_LIBTOOL): Add.
30 (AC_PROG_CC_C_O): Removed.
31 (OUTPUT_OPTION): Removed.
32 (NO_MINUS_C_MINUS_O): Removed.
33 (ltpexecute): New substitute.
34 (LIBOBJS): Cleanup.
35 * configure: Regenerated.
36
37 * maint-tool: Updated for .lo/libtool.
38
d49d0907
BE
392004-12-11 Ben Elliston <bje@au.ibm.com>
40
41 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
42 * configure: Regenerate.
43 * config.in: Likewise.
44
b180d5fb
DD
452004-12-07 DJ Delorie <dj@redhat.com>
46
47 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
48 that recursion (and thus large stack space) is not needed.
49
ecc30353
MK
502004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
51
52 * pex-unix.c: Fix the spelling of longjmp.
53
0b167d51
ILT
542004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
55
56 PR other/18623
57 * cp-demangle.c (d_call_offset): Remove useless local variables
58 offset and virtual_offset.
59 * cplus-dem.c (ada_demangle): Remove useless local variable
60 at_start_name.
61 (demangle_template): Remove useless local variable start.
62
2d59754f
RS
632004-11-19 Roger Sayle <roger@eyesopen.com>
64
65 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
66 "ansidecl.h" to avoid redeclaration errors with native compilers.
67 * regex.c: Protect config.h from multiple inclusion.
68
ea27a394
MS
692004-11-12 Mike Stump <mrs@apple.com>
70
610784f0
MS
71 * Makefile.in (libiberty.html): Fix html generation.
72
626ff3de
AN
732004-09-08 Adam Nemet <anemet@lnxw.com>
74
75 * vasprintf.c: Accept __va_copy in addition to va_copy.
76
7b3ed47d
PB
772004-09-03 Paolo Bonzini <bonzini@gnu.org>
78
79 * configure: Regenerate.
80
27cfe310
PB
812004-09-02 Paolo Bonzini <bonzini@gnu.org>
82
83 * configure.ac: Do not enable multilibs for build-side libiberty.
84
50a2de96
DS
852004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
86
87 * lrealpath.c (lrealpath): Add _WIN32 support.
88
0cf61401
ZW
892004-06-28 Zack Weinberg <zack@codesourcery.com>
90
91 * cp-demangle.h: Declare cplus_demangle_operators,
92 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
93 cplus_demangle_type as static if IN_GLIBCPP_V3.
94
00a5aa9c
ILT
952004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
96
97 PR other/16240
98 * cp-demangle.c (d_expr_primary): Check for a failure return from
99 cplus_demangle_type.
5cd29062 100 * testsuite/demangle-expected: Add test case.
00a5aa9c 101
b47785f4
DS
1022004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
103
104 * pex-win32.c (fix_argv): Expand comment.
105
54b2f310
DJ
1062004-05-25 Daniel Jacobowitz <drow@false.org>
107
108 * Makefile.in: Add .NOEXPORT.
109
8fd58397
DR
1102004-04-29 Douglas B Rupp <rupp@gnat.com>
111
112 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
113 copyright.
114
6489430a
MR
1152004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
116
117 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
118 * configure: Regenerate.
119
9bf3c9cc
RH
1202004-04-22 Richard Henderson <rth@redhat.com>
121
122 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
123 (CHAR_BIT): Provide default.
124 (struct prime_ent, prime_tab): New.
125 (higher_prime_index): Rename from higher_prime_number, return index.
126 (htab_mod_1): New.
127 (htab_mod, htab_mod_m2): Use it.
128 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
129 (htab_expand): Likewise.
130 * configure.ac: Check for stdint.h.
131 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
132 * config.in, configure: Rebuild.
133
80790b05
ILT
1342004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
135
136 * strerror.c: Include config.h, and redefine sys_nerr and
137 sys_errlist, before including ansidecl.h and libiberty.h.
138
7f96816a
JL
1392004-04-13 Jeff Law <law@redhat.com>
140
141 * hashtab.c (htab_remove_elt_with_hash): New function.
142 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
143
d9175b87
RH
1442004-03-31 Richard Henderson <rth@redhat.com>
145
146 * hashtab.c (htab_size): Move to top of file; mark inline.
147 (htab_elements): Likewise.
148 (htab_mod, htab_mod_m2): New.
149 (htab_delete): Refactor htab->size and htab->entries.
150 (htab_empty): Likewise.
151 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
152 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
153 (htab_clear_slot): Use htab_size, htab_elements.
154 (htab_traverse_noresize, htab_traverse): Likewise.
155
e8190aa2
ILT
1562004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
157
fed8129b
ILT
158 * pex-unix.c (pexecute): Use vfork instead of fork, with
159 appropriate changes to make this safe.
160 * pex-common.h (STDERR_FILE_NO): Define.
161
e8190aa2
ILT
162 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
163 an 80 column screen. Run maint-deps.
164
a4f74b58
KC
1652004-03-09 Kelley Cook <kcook@gcc.gnu.org>
166
167 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
168 * acconfig.h: Delete redundant file.
169 * config.in: Regenerate.
170 * configure: Regenerate.
171
3beb1315
HPN
1722004-03-09 Hans-Peter Nilsson <hp@axis.com>
173
174 * configure: Regenerate for config/accross.m4 correction.
175
688556b9
AJ
1762004-03-07 Andreas Jaeger <aj@suse.de>
177
178 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
179 prototypes.
180 (main): Initialize style.
181
80a19ac8
ILT
1822004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
183
31058ee3
ILT
184 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
185 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
186 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
187 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
188 short types to D_PRINT_DEFAULT. Change other integer types to use
189 new D_PRINT_* values where appropriate. Change float types to
190 D_PRINT_FLOAT.
191 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
192 values.
193 * testsuite/demangle-expected: Adjust two test cases.
194
195 * cp-demangle.c (d_print_function_type): Print a space before the
196 parenthesis around the function type in more cases.
197 * testsuite/demangle-expected: Adjust one test case.
198
93f20626
ILT
199 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
200 parentheses around a cast.
201 * testsuite/demangle-expected: Adjust two test cases to match new
202 output.
203
dbd6ec2b
ILT
204 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
205
80a19ac8
ILT
206 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
207 push more than one of the same CV-qualifier on the top of the
208 stack.
209 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
210 move the CV-qualifiers to apply to the element type instead.
211 (d_print_array_type): When checking the modifiers, keep looking
212 past ones which have been printed already.
213 * testsuite/demangle-expected: Add three test cases.
214
8ad1c80e
ILT
2152004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
216
e8ed4ac2
ILT
217 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
218 empty string correctly.
219
4a368ffd
ILT
220 * cp-demangle.c (__cxa_demangle): It is not an error if status is
221 not NULL. It is an error if the mangled name is the same as a
222 built-in type name.
223 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
224 than cplus_demangle_v3.
225
8ad1c80e
ILT
226 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
227 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
228
ef2a223f
MK
2292004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
230
231 * regex.c: Include <ansidecl.h>.
232 (regcomp): Cast i to int.
233 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
234
5254fd7b
ILT
2352004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
236
237 * configure.ac: Add m4_pattern_allow(LIBOBJS).
238 * configure: Regenerate.
239
398b3deb
DD
2402004-01-22 DJ Delorie <dj@redhat.com>
241
242 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
243 with explicit build rules.
244 (VPATH): Remove.
245 (.c.o): Poison.
246 * configure.ac (pexecute, LIBOBJS): Add ./ .
247 * maint-tool: Build dependencies with explicit rules.
248
4e394293
KH
2492004-01-15 Kazu Hirata <kazu@cs.umass.edu>
250
251 * strdup.c (strdup): Constify the argument.
252
0046e342
LR
2532004-01-14 Loren J. Rittle <ljrittle@acm.org>
254
255 * Makefile.in (distclean): Remove config.cache.
256
d4f3ce5c
DJ
2572004-01-13 Daniel Jacobowitz <drow@mvista.com>
258
259 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
260 takes two parameters.
261 * cp-demint.c (cplus_demangle_fill_component): Likewise.
262
5e777af5
ILT
2632004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
264
265 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
266 defined, rename some functions which are to become static via
267 #define.
268 (CP_STATIC_IF_GLIBCPP_V3): Define.
269 (struct d_operator_info): Move definition to cp-demangle.h, and
270 rename to demangle_operator_info. Change all uses.
271 (enum d_builtin_type_print): Move definition to cp-demangle.h.
272 (struct d_builtin_type_info): Move definition to cp-demangle.h,
273 and rename to demangle_builtin_type_info. Change all uses.
274 (enum d_comp_type): Move definition to include/demangle.h, and
275 rename to demangle_component_type, and change all enums to start
276 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
277 (struct d_comp): Move definition to include/demangle.h, and rename
278 to demangle_component. Change all uses.
279 (struct d_info): Move definition to cp-demangle.h.
280 (cplus_demangle_fill_name): New function.
281 (cplus_demangle_fill_extended_operator): New function.
282 (cplus_demangle_fill_ctor): New function.
283 (cplus_demangle_fill_dtor): New function.
284 (d_make_empty): Remove type parameter. Change all callers.
285 (d_make_name): Use cplus_demangle_fill_name.
286 (d_make_extended_operator): Use
287 cplus_demangle_fill_extended_operator.
288 (d_make_ctor): Use cplus_demangle_fill_ctor.
289 (d_make_dtor): Use cplus_demangle_fill_dtor.
290 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
291 non-static by default. Change all callers.
292 (cplus_demangle_operators): Rename from d_operators. Change all
293 uses. Make non-static by default. Add sentinel at end of array.
294 (d_operator_name): Adjust initialization of high for new sentinel
295 in cplus_demangle_operators.
296 (cplus_demangle_builtin_types): Rename from d_builtin_types.
297 Change all uses. Make non-static by default. Change initializer
298 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
299 (cplus_demangle_type): Rename from d_type. Make non-static by
300 default. Change all callers.
301 (cplus_demangle_init_info): Rename from d_init_info. Make
302 non-static by default. Change all callers.
303 * cp-demangle.h: New file.
304 * cp-demint.c: New file.
305 * Makefile.in: Rebuild dependencies.
306 (CFILES): Add cp-demint.c.
307 (REQUIRED_OFILES): Add cp-demint.o.
308
c31d56ed
KC
3092004-01-09 Kelley Cook <kcook@gcc.gnu.org>
310
311 * configure.in: Rename file to ...
312 * configure.ac: ... this.
313 * Makefile.in: Update a comment for above change.
314 * README: Likewise.
315 * config.in: Regenerate.
316
e4796f1c
ILT
3172004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
318
319 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
320 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
321 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
322 demangling template parameters.
323 * testsuite/test-demangle.c (fail): New static function.
324 (main): Support new options in input file: --no-params,
325 --is-v3-ctor, and --is-v3-dtor.
326 * testsuite/demangle-expected: Add --no-params to most tests, and
327 add the correct result when parameters are not demangled. Add
328 some simple tests for V3 constructor/destructor recognition.
329
4d425229
KG
3302003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
331
332 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
333
6b309c6e
DJ
3342003-12-22 Daniel Jacobowitz <drow@mvista.com>
335
336 PR debug/13272
337 * Makefile.in (lbasename.o): Depend on filenames.h.
338 * lbasename.c: Include "filenames.h" instead of defining
339 its macros locally.
340
2d6c4025
ILT
3412003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
342
343 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
344 dynamic arrays.
345 (struct d_operator_info): Add len field.
346 (struct d_builtin_type_info): Add len and java_len fields.
347 (struct d_standard_sub_info): Add simple_len, full_len, and
348 set_last_name_len fields.
349 (struct d_comp): Add len field to s_string.
350 (struct d_info): Add send, did_subs, and expansion fields.
351 (d_append_string_constant): Define.
352 (d_append_string): Remove. Change all users to use
353 d_append_string_constant or d_append_buffer instead.
354 (d_make_sub): Add len parameter. Change all callers.
355 (d_name): Increase expansion when substituting std::.
356 (d_unqualified_name): Increase expansion for an operator.
357 (d_number): Don't use multiplication for negative numbers.
358 (d_identifier): Make sure there are enough characters in the
359 string for the specified length. Adjust expansion for an
360 anonymous namespace.
361 (d_operators): Initialize len field.
362 (d_special_name, d_ctor_dtor_name): Increase expansion.
363 (d_builtin_types): Initialize len and java_len fields.
364 (d_type): Increase expansion for a builtin type.
365 (d_cv_qualifiers): Increase expansion for each qualifier.
366 (d_bare_function_type): Decrease expansion when removing single
367 void parameter.
368 (d_template_param): Increment did_subs.
369 (d_expression): Increase expansion for an operator.
370 (d_expr_primary): Decrease expansion for a type we will print
371 specially.
372 (standard_subs): Initialize new fields.
373 (d_substitution): Increment did_subs when doing a normal
374 substitution. Increase expansion for a special substitution.
375 (d_print): Add estimate parameter. Change all callers.
376 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
377 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
378 (d_print_java_identifier): Rename from d_print_identifier. Handle
379 only Java case. Change caller.
380 (d_init_info): Change return type to void. Change all callers.
381 Initialize send, did_subs, and expansion fields. Do not
382 initialize comps and subs fields.
383 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
384 arrays on stack. Make an estimate of the length of the demangled
385 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
386 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
387 subs arrays on stack.
388
2307e075
ILT
3892003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
390
391 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
392 after the identifier.
393 * testsuite/demangle-expected: Add test case.
394
a91d1af0
ILT
3952003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
396
397 Fix for PR c++/13447:
398 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
399 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
400 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
401 D_COMP_QUAL_NAME.
402 (is_ctor_or_dtor): Likewise.
403 (d_local_name): Use D_COMP_LOCAL_NAME rather than
404 D_COMP_QUAL_NAME.
405 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
406 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
407 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
408 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
409 * testsuite/demangle-expected: Add two test cases.
410
411 * cp-demangle.c (d_print_function_type): Clear the global modifier
412 list when printing the modifiers, not just when printing the
413 function parameters.
414 * testsuite/demangle-expected: Add two test cases.
415
8d686df2
ILT
4162003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
417
cbc278f4
ILT
418 * cp-demangle.c (d_print_function_type): Print the function
419 parameters with no modifiers.
420 * testsuite/demangle-expected: Add test case.
421
8d686df2
ILT
422 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
423 expect that we've read the entire string.
424 (is_ctor_or_dtor): Don't expect that we've read the entire
425 string--reverse patch of 2003-11-29.
426
adf269c7
BK
4272003-12-15 Brendan Kehoe <brendan@zen.org>
428
429 * libiberty/Makefile.in (floatformat.o): Add dependency on
430 config.h to accompany change of 2003-12-03.
431
374caa50
ILT
4322003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
433
434 Fix handling of constructor/destructor of standard substitution:
435 * cp-demangle.c (struct d_standard_sub_info): Define.
436 (d_substitution): Add prefix argument. Change all callers.
437 Rework handling of standard substitutions to print full name when
438 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
439 * testsuite/demangle-expected: Add test case.
440
441 Fix handling of negative literal constants:
442 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
443 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
444 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
445 (d_print_comp): Handle D_COMP_LITERAL_NEG.
446 * testsuite/demangle-expected: Add test case.
447
a51753e4
ILT
4482003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
449
450 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
451 (d_last_char): Define new macro.
452 (d_make_name): Reject an empty name.
453 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
454 (d_substitution, d_print_identifier): Likewise.
455 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
456 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
457 (d_print_mod) Use new d_last_char macro.
458 (d_print_cast): Use new d_last_char macro.
459 (is_ctor_or_dtor): Don't leak memory.
460
461 Fix handling of member function modifiers:
462 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
463 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
464 (d_dump): Dump new d_comp_type values.
465 (d_make_comp): Accept new d_comp_type values.
466 (has_return_type): Only accept _THIS variants of qualifiers.
467 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
468 qualifiers.
469 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
470 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
471 qualifiers and printing them at the end, add _THIS qualifiers to
472 the modifier list.
473 (d_print_comp) [D_COMP_*_THIS]: New cases.
474 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
475 qualifiers.
476 (d_print_mod_list): Add suffix parameter. Change all callers.
477 Keep walking the list even if the current modifier has been
478 printed.
479 (d_print_mod): Handle new _THIS qualifiers.
480 (d_print_function_type): Handle new _THIS qualifiers when deciding
481 whether to print a parenthesis. Put a space before the
482 parenthesis in some cases. Call d_print_mod_list again at the
483 end, passing suffix as 1.
484 (is_ctor_or_dtor): Look for new _THIS qualifiers.
485 * testsuite/demangle-expected: Add test case.
486
487 Fix for PR gcc/13304:
488 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
489 before the '<' is itself a '<', insert a space.
490 (d_print_cast): Likewise.
491 * testsuite/demangle-expected: Add test case.
492
493 Fix for PR gcc/13244:
494 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
495 which uses the '>' operator in an extra layer of parens.
496 * testsuite/demangle-expected: Add test case.
497
bee6ab3e
ILT
4982003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
499
500 * floatformat.c: Include "config.h" and <string.h> if available.
501 (INFINITY, NAN): Define if not defined by <math.h>.
502 (floatformat_to_double): Handle NaN, infinity, and denormalized
503 numbers.
504 (floatformat_from_double): Likewise.
505 (ieee_test): In debugging code, use little endian rather than big
506 endian. Correct tests to handle NaN and to check correct sign of
507 zero. Omit m68k extended test.
508 (main): Add more debugging cases.
509
f26deb3d
ILT
5102003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
511
512 * cp-demangle.c (d_demangle): Only return success if we consumed
513 the entire demangled string.
514 (is_ctor_or_dtor): Likewise.
515
516 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
517 to restore expected result of EDG test case to original expected
518 result.
519
81dc098b
ILT
5202003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
521
522 * cp-demangle.c (struct d_print_mod): Add templates field.
523 (d_make_builtin_type): Check for NULL type.
524 (d_make_extended_operator): Check for NULL name.
525 (d_make_ctor, d_make_dtor): Likewise.
526 (d_mangled_name): Add top_level parameter. Change all callers.
527 (d_encoding): If DMGL_PARAMS is not set, strip off initial
528 CV-qualifiers.
529 (d_type): Check some return values we rely on.
530 (d_bare_function_type, d_array_type): Likewise.
531 (d_pointer_to_member_type, d_template_args): Likewise.
532 (d_add_substitution): Fail if argument is NULL.
533 (d_print_resize): Check whether buf is NULL.
534 (d_print_comp): Save current templates list with each modifier.
535 Don't pass the modifier list down when printing a template.
536 (d_print_cast): Don't pass the modifier list down when printing a
537 template.
538 (d_print_mod_list): Temporarily set templates list while printing
539 a modifier.
540 (d_print_mod): Check that buf is not NULL before using it.
541 (d_print_function_type): Print parens if there is no modifier.
542 (d_init_info): Permit as many substitutions as there are
543 characters in the mangled name.
544 * testsuite/demangle-expected: Add two new test cases.
545
eb459c81
ILT
5462003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
547
548 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
549 d_demangle.
550
ad07f5e5
ILT
5512003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
552
553 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
554 callers.
555 (print_usage): Display new -p option.
556 (long_options): Add --no-params.
557 (main): Accept and handle -p.
558
0ba5c8a2
ILT
5592003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
560
561 * cp-demangle.c (has_return_type): Skip qualifiers when checking
562 whether we have a template.
563 * testsuite/demangle-expected: Add four new tests.
564
bd6946d1
ILT
5652003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
566
9cca376f
ILT
567 * testsuite/demangle-expected: Minor changes to match output of
568 new demangler: adjust whitespace in four tests, and change order
569 of qualifiers in one test.
570
bd6946d1
ILT
571 * cp-demangle.c: Complete rewrite.
572
6df5a5c7
MM
5732003-11-19 Mark Mitchell <mark@codesourcery.com>
574
575 * cp-demangle.c (demangle_type): Correct thinko in substitution
576 processing.
577
a9b571f2
ILT
5782003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
579
820555e6
ILT
580 * cp-demangle.c (demangle_operator_name): Remove space before
581 "sizeof".
582 (demangle_type_ptr): Put qualifiers in the right place. Handle
583 qualifiers in pointer to member specially.
584 (demangle_type): Handle qualifiers for pointer or reference
585 specially. Handle function type.
586 (demangle_local_name): Save and restore caret around demangling of
587 initial encoding.
588
c4328d32
ILT
589 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
590 cplus_demangle.
591
a9b571f2
ILT
592 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
593
ad37274a
AJ
5942003-10-31 Andreas Jaeger <aj@suse.de>
595
596 * floatformat.c (floatformat_always_valid): Add unused attribute.
597
27eb8ab1
JZ
5982003-10-30 Josef Zlomek <zlomekj@suse.cz>
599
600 Jan Hubicka <jh@suse.cz>
601 * vasprintf.c (int_vasprintf): Pass va_list by value.
602 Use va_copy for copying va_list.
603 (vasprintf): Pass va_list by value.
604
e0432c1c
JZ
6052003-10-30 Josef Zlomek <zlomekj@suse.cz>
606
607 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
608 instead of increasing n_elements when inserting to deleted slot.
609
08c5b96d
B
6102003-10-20 J. Brobecker <brobecker@gnat.com>
611
612 * cplus-dem.c (demangle_template): Register a new Btype only
613 when needed.
614 * testsuite/demangle-expected: Add a new test.
615
968e3f93
L
6162003-10-16 H.J. Lu <hongjiu.lu@intel.com>
617
618 * testsuite/demangle-expected: Update the expected output of
619 _GLOBAL__I__Z2fnv.
620
bca48dc6
DJ
6212003-10-02 Daniel Jacobowitz <drow@mvista.com>
622
623 * strerror.c: Revert last change. Declare static sys_nerr
624 and sys_errlist using different names.
625
b9e8f4b3
DJ
6262003-10-01 Daniel Jacobowitz <drow@mvista.com>
627
628 * strerror.c: Don't provide or reference sys_errlist if
629 strerror is available.
630
c0590bfd
L
6312003-10-01 H.J. Lu <hongjiu.lu@intel.com>
632
633 * configure.in: Check if $MAKEINFO is missing.
634 * configure: Regenerated.
635
b033df90
DJ
6362003-09-24 Daniel Jacobowitz <drow@mvista.com>
637
638 * configure.in: Use AC_PROG_CPP_WERROR.
639 * configure: Regenerated.
640
83c07342
AC
6412003-09-22 Andrew Cagney <cagney@redhat.com>
642
643 * floatformat.c (floatformat_i387_ext_is_valid): New function.
644 (floatformat_always_valid): New function.
645 (floatformat_i387_ext): Initialize new "is_valid" field to
646 "floatformat_i387_ext_is_valid".
647 (floatformat_ieee_single_little): Initialize "is_valid" field to
648 floatformat_always_valid.
649 (floatformat_ieee_double_big): Ditto.
650 (floatformat_ieee_double_little): Ditto.
651 (floatformat_ieee_double_little): Ditto.
652 (floatformat_ieee_double_littlebyte_bigword): Ditto.
653 (floatformat_i960_ext): Ditto.
654 (floatformat_m88110_ext): Ditto.
655 (floatformat_m88110_harris_ext): Ditto.
656 (floatformat_arm_ext_big): Ditto.
657 (floatformat_arm_ext_littlebyte_bigword): Ditto.
658 (floatformat_ia64_spill_big): Ditto.
659 (floatformat_ia64_spill_little): Ditto.
660 (floatformat_ia64_quad_big): Ditto.
661 (floatformat_ia64_quad_little): Ditto.
662 (floatformat_ia64_quad_little): Ditto.
663 (floatformat_is_valid): Call "is_valid".
664
c9fbef12
AC
6652003-09-15 Andrew Cagney <cagney@redhat.com>
666
667 * floatformat.c (get_field): Make "data" constant.
668 (floatformat_is_valid, floatformat_to_double): Make "from"
669 constant, fix casts.
670 (floatformat_from_double): Make "from" constant.
671
9c8860c3
DJ
6722003-09-15 Daniel Jacobowitz <drow@mvista.com>
673
674 * floatformat.c (floatformat_is_valid): New function.
675 (get_field, put_field): Correct comments.
676
13f7d3a1
JZ
6772003-09-06 Josef Zlomek <zlomekj@suse.cz>
678
679 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
680 FIBHEAPKEY_T.
681
03eec143 6822003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
86d75906
JDA
683
684 PR bootstrap/12100
685 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
686 * configure: Rebuilt.
687
238235ef
DJ
6882003-08-27 Daniel Jacobowitz <drow@mvista.com>
689
690 * aclocal.m4: Include acx.m4 and no-executables.m4.
691 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
692 (LIB_AC_PROG_CC): Remove.
693 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
694 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
695 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
696 performing link tests.
697 * configure: Regenerated.
698
2b81b2c9
NN
6992003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
700
0cf61401 701 * cp-demangle.c: Clarify what package(s) this is part of.
2b81b2c9 702
7b96f3e4
DS
7032003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
704
705 * pex-win32.c (pexecute): Mark parameters this_pname and
706 temp_base as unused. Remove unused variables retries,
707 sleep_interval. Initialize org_stdin, org_stdout.
708 (pwait): Mark parameter flags as unused.
709
7102003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
bacb96b2
DS
711
712 * pex-win32.c (fix_argv): Ensure that the executable pathname
713 uses Win32 backslashes.
714 (pexecute): Cast away constness when assigning *errmsg_arg.
715
6f8507b1
L
7162003-06-26 H.J. Lu <hongjiu.lu@intel.com>
717
718 * testsuite/demangle-expected: Add more GNU V3 testcases.
719
21299dbd
ZW
7202003-06-22 Zack Weinberg <zack@codesourcery.com>
721
722 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
723 not HC_ASCII and HC_EBCDIC.
724 Add documentation in form expected by gather-docs.
725 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
726 * Makefile.in, functions.texi: Regenerate.
727
7468e0b5
ZW
7282003-06-21 Zack Weinberg <zack@codesourcery.com>
729
730 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
731 for charset determination.
732
cf8e4b78
DH
7332003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
734
735 * configure.in: Add check for malloc.h needed by
736 m68k for function free().
737 * configure: Regenerated.
738 * config.in: Add HAVE_MALLOC_H.
739 * hashtab.c: include malloc.h were available for
740 free().
741
aa9dc53d 7422003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
7468e0b5 743
aa9dc53d
ACY
744 PR bootstrap/10974
745 * physmem.c: Update comment.
746 * configure.in: Modify test for _system_configuration for older
747 AIX systems.
748
749 * config.in, configure: Regenerated.
7468e0b5 750
8191fe81
JDA
7512003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
752
753 PR other/10810
754 * test-demangle.c (getline): Fix fence-post error.
755
8d398258
NC
7562003-06-03 Nick Clifton <nickc@redhat.com>
757
758 * asprintf.c: Change comment to note that -1 is returned upon
759 error.
760 * vasprintf.c: Likewise.
761 (vasprintf): Return -1 upon error.
762 * functions.texi: Document changes to asprintf and vasprintf.
763
29ad6d3f
KC
7642003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
765
766 * config.table: Accept i[345867]86 variant.
767
49a19cfd
JB
7682003-05-15 Jim Blandy <jimb@redhat.com>
769
770 * hex.c (_hex_value): Make this unsigned.
771 (hex_value): Update documentation for new return type. hex_value
772 now expands to an unsigned int expression, to avoid unexpected
773 sign extension when we store it in a bfd_vma, which is larger than
774 int on some platforms.
775 * functions.texi: Regenerated.
776
d5d4eae2
JZ
7772003-05-07 Josef Zlomek <zlomekj@suse.cz>
778
779 * splay-tree.c (splay_tree_predecessor): Fix comment.
780 (splay_tree_successor): Fix comment.
781
5cc5a0d0
JM
7822003-05-07 Jason Merrill <jason@redhat.com>
783
9d70d418 784 * hashtab.c (iterative_hash): New fn.
5cc5a0d0
JM
785 * configure.in: Add AC_C_BIGENDIAN_CROSS.
786 * aclocal.m4: Include accross.m4.
787 * configure, config.in: Regenerate.
788
05c30f22
KG
7892003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
790
791 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
792 * configure: Regenerate.
793
41fe9404
CW
7942003-05-03 Carlo Wood <carlo@alinoe.com>
795
796 * cp-demangle.c: Fix typo in "char_traints" string-literal.
797
52dd3224
KG
7982003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
799
800 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
801 (main): Test that we don't write too much data.
802
bd3fbc6b
KG
8032003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
804
805 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
806 vsnprintf.
807 * snprintf.c, vsnprintf.c: New files.
808 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
809 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
810 Regenerate dependencies.
811
812 * functions.texi, configure, config.in: Regenerated.
813
029bcc09
KG
8142003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
815
816 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
817 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
818 and stpncpy.
819 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
820 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
821 Regenerate dependencies.
822
823 * functions.texi, configure, config.in: Regenerated.
824
c9ac9147
KG
8252003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
826
827 * argv.c: Fix comments.
828 * calloc.c: Don't unnecessarily include "libiberty.h".
829 (bzero): Add prototype.
830 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
831 * getcwd.c (getcwd): Use standard definition to avoid conflicts
832 with system headers.
833 * hashtab.c (htab_traverse): Delete unused variables.
834 * rename.c: Include "ansidecl.h".
835 (rename): Use standard definition to avoid conflicts with system
836 headers.
837 * strsignal.c: Rely on ANSI_PROTOTYPES.
838 * strstr.c: Check GNUC >= 2, not GNUC == 2.
839 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
840 * vprintf.c: Include "ansidecl.h" earlier, rely on
841 ANSI_PROTOTYPES.
842 * vsprintf.c: Include "ansidecl.h" earlier, rely on
843 ANSI_PROTOTYPES and possibly include <stdarg.h>.
7468e0b5 844
c9ac9147
KG
845 * Makefile.in: Regenerate dependencies.
846
98475c57
DD
8472003-04-15 DJ Delorie <dj@redhat.com>
848
849 * maint-tool (deps): Scan for headers in $srcdir also.
850
55adc7bd
KG
8512003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
852
853 PR target/10338
854 PR bootstrap/10198
855 PR bootstrap/10140
856 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
857 __mempcpy.
858 * regex.c (regerror): Likewise.
859
0ae0f1b0
RS
8602003-04-14 Roger Sayle <roger@eyesopen.com>
861
862 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
863 * memchr.c: Likewise.
864 * strcasecmp.c: Likewise.
865 * strncasecmp.c: Likewise.
866 * strncmp.c: Likewise.
867 * xatexit.c: Likewise.
868 * xmalloc.c: Likewise.
869
870 * copysign.c: Use traditional function declaration instead of DEFUN.
871 * sigsetmask.c: Likewise.
872
873 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
874 * memset.c: Likewise.
875
876 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
877 * memmove.c: Likewise.
878
88702c45
RS
8792003-04-14 Roger Sayle <roger@eyesopen.com>
880
881 * strdup.c (strdup): Tweak implementation to use memcpy.
882
39e8d049
KG
8832003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
884
885 * configure.in (HAVE_UINTPTR_T): Always define.
886 * configure: Regenerated.
887
9f2e0608
AO
8882003-03-23 Alexandre Oliva <aoliva@redhat.com>
889
890 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
891 instead of $$CC alone.
892 (install_to_tooldir): Use it.
893
dbccdc42
JH
8942003-17-03 Jan Hubicka <jh@suse.cz>
895
896 * hashtab.c (htab_traverse_noresize): Break out from ...
897 * hashtab.c (htab_traverse): ... here.
898
0a8e3de3
JH
8992003-12-03 Jan Hubicka <jh@suse.cz>
900
cd22e4af
JH
901 * hashtab.c (htab_expand): Fix warning.
902
0a8e3de3
JH
903 * hashtab.c (htab_expand): Compute the size of hashtable based
904 on the number of elements actually used.
905 (htab_traverse): Call htab_expand when table is too empty.
906
8fe85775
CW
9072003-03-11 Carlo Wood <carlo@gnu.org>
908
909 * cplus-dem.c (demangle_integral_value): Correction to reflect
910 patch of 2002-01-10 in order to also make negative multi-digits
911 without leading underscore work.
912
3bf27822
MM
9132003-03-03 Mark Mitchell <mark@codesourcery.com>
914
915 * cplus-dem.c: Add license exception to copyright notice.
916
434fa0b8
KG
9172003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
918
919 * physmem.c: Formatting changes from upstream.
920
ed935c35
DS
9212003-02-24 Danny Smith <dannysmith@users.source.forge.net>
922
923 * physmem.c (physmem_total): Add _WIN32 support.
924 (physmem_available): Likewise.
925
7f9fc006
RO
9262003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
927
928 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
929 GSI_PHYSMEM.
930 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
931
d47f75c4
KG
9322003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
933
934 * configure.in: Check for sys/systemcfg.h and
935 _system_configuration.
936 * physmem.c: Add support for AIX. Tweek formatting as per
937 upstream coreutils beta.
938
170230b7
KG
9392003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
940 Richard Earnshaw <rearnsha@arm.com>
941 Geoffrey Keating <geoffk@apple.com>
7468e0b5 942
170230b7
KG
943 * configure.in: Check for sys/sysctl.h and sysctl.
944 * physmem.c: Add support for *bsd and darwin.
945 * Makefile.in: Generate depedency for physmem.o.
946
4a06f7f2
RO
9472003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
948
949 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
950 Tru64 UNIX.
951 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
952 Tru64 UNIX.
953
954 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
955 machine/hal_sysinfo.h, sys/table.h.
956 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
957 * configure, config.in: Regenerate.
958
64c7e556
KG
9592003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
960
961 * configure.in: Check for sys/sysmp.h and sysmp.
962 * physmem.c: Pull upstream copy, add support for irix6.
963
964 * config.in, configure: Regenerated.
965
e9019af6
KG
9662003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
967
968 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
969 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
970 pstat_getdynamic.
7468e0b5 971
a354191e
KG
9722003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
973
974 * Makefile.in (CFILES): Add physmem.c.
975 (REQUIRED_OFILES): Add physmem.o.
976 * configure.in: Check for sys/pstat.h.
977 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
978 * physmem.c: New file, copied from textutils.
979
980 * config.in, configure: Regenerated.
981
4876b2b4
DJ
9822003-02-20 Daniel Jacobowitz <drow@mvista.com>
983
984 * Makefile.in (CFILES): Add lrealpath.c.
985 (REQUIRED_OFILES): Add lrealpath.o.
986 (lrealpath.o): Add rule.
987 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
988 * configure.in: Add realpath and canonicalize_file_name to
989 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
990 for canonicalize_file_name.
991 * lrealpath.c: New file.
992 * make-relative-prefix.c: Update documentation.
993 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
994 * config.in: Regenerated.
995 * configure: Regenerated.
996 * functions.texi: Regenerated.
997
e182f0a3 9982003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
999
1000 * cplus_dem.c: Fix typo: intializes -> initializes.
1001
3343fdd2
AO
10022003-02-20 Alexandre Oliva <aoliva@redhat.com>
1003
1004 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1005 config.status.
1006 * configure: Rebuilt.
1007
902cf50c
DJ
10082003-02-13 Daniel Jacobowitz <drow@mvista.com>
1009
1010 Fix PR c++/7612.
1011 * cplus-dem.c (demangle_signature): Call string_delete.
1012 Remove extra string_init.
1013 (demangle_arm_hp_template): Call string_delete instead of
1014 string_clear. Add missing string_delete call.
1015 (demangle_qualified): Add missing string_delete call.
1016 (do_type): Remove unused variable btype. Add missing string_delete
1017 call. Call string_delete instead of string_clear.
1018 (demangle_fund_type): Move variable btype inside of the switch
1019 statement. Add missing string_delete call.
1020 (do_arg): Call string_delete instead of string_clear. Remove extra
1021 string_init.
1022 (demangle_nested_args): Free work->previous_argument.
1023
7ac27e08
KG
10242003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1025
1026 * acconfig.h: New file. Add uintptr_t.
1027 * config.in: Regenerated.
1028
b3a8389d
JM
10292003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
1030
1031 * libiberty.texi: Update to GFDL 1.2.
1032
d8c22ce7
CC
10332003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1034
1035 * Makefile.in (libiberty_topdir): New subst.
1036 (mkinstalldirs): Redefine in terms of the above.
1037 * configure.in: AC_SUBST it.
1038 * configure: Regenerate.
1039
4ce1921a
CC
10402003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1041
1042 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
1043 (info-subdir, install-info-subdir, clean-info-subdir)
1044 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
1045 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
1046 Pass $(FLAGS_TO_PASS).
1047
93239fdb
AO
10482003-01-27 Alexandre Oliva <aoliva@redhat.com>
1049
1050 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
1051 /`$$CC -print-multi-os-directory`.
1052
74828682
DJ
10532003-01-26 Daniel Jacobowitz <drow@mvista.com>
1054
1055 * hashtab.c (htab_create_alloc_ex): New function.
1056 (hatab_set_functions_ex): New function.
1057 (htab_delete, htab_expand): Support alternate allocation functions.
1058
ece0e59f
CF
10592003-01-24 Christopher Faylor <cgf@redhat.com>
1060
1061 * configure.in: Remove special pex-cygwin consideration.
1062 * configure: Regenerate.
1063 * pex-cygwin.c: Remove.
1064 * Makefile.in: Remove pex-cygwin.[co] lines.
1065
55d0e5e0
ZW
10662003-01-24 Zack Weinberg <zack@codesourcery.com>
1067
1068 * Makefile.in (CFILES): Add pex-*.c.
1069 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
1070 (CONFIGURED_OFILES): Add pex-*.o.
1071 (TEXIFILES): Add pexecute.txh.
1072 (pexecute.o): Delete rule.
1073 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
1074 pex-unix.o, pex-win32.o): New rules.
1075 * configure.in: Change AC_INIT argument to xmalloc.c.
1076 Compute appropriate pexecute implementation and substitute it
1077 as @pexecute@.
1078
1079 * pexecute.c: Split up into...
1080 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
1081 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
1082 new files.
1083
1084 * functions.texi: Regenerate.
1085 * configure: Regenerate.
1086
120cdf68
JZ
10872003-01-20 Josef Zlomek <zlomekj@suse.cz>
1088
1089 * hashtab.c (htab_expand): Fix allocation of new entries.
1090
90e5b39f
CC
10912003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1092
1093 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1094
d7082cd7
CC
1095 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
1096 mkinstalldirs command.
1097
eaed9290
DS
10982002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
1099
1100 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
1101 Define for hosts with HOST_EXECUTABLE_SUFFIX.
1102
ef4e4181
NC
11032002-11-24 Nick Clifton <nickc@redhat.com>
1104
1105 * make-relative-prefix.c (make_relative_prefix): Ensure return
1106 string is empty before using strcat to construct it.
1107
42766f8d
DJ
11082002-11-22 Daniel Jacobowitz <drow@mvista.com>
1109
1110 * Makefile.in: Add make-relative-prefix.c.
1111 * make-relative-prefix.c: New file.
1112 * functions.texi: Rebuilt.
1113
783080ab
JJ
11142002-11-16 Jakub Jelinek <jakub@redhat.com>
1115
1116 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
1117 used with arguments in traditional C' warnings.
1118
7da64d7a
JJ
11192002-10-16 Jakub Jelinek <jakub@redhat.com>
1120
1121 * config.table: Use mh-s390pic for s390x too.
1122
de78f58b
AJ
11232002-10-06 Andreas Jaeger <aj@suse.de>
1124
1125 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
1126 variable and of strict-aliasing warning.
1127 (grow_vect): Use char as first parameter.
1128
6c5d742e
KG
11292002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1130
1131 * Makefile.in (all): Fix multilib parallel build.
1132
f08b7eee
JDA
11332002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
1134
1135 * cp-demangle.c (demangling_new): Cast 0 to enum.
1136 (demangle_char): Cast return of strdup to char *.
1137 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
1138 (is_gnu_v3_mangled_dtor): Likewise.
1139 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
1140 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
1141 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
1142 * md5.c (md5_process_bytes): Cast results back to const void *.
1143 (md5_process_block): Add cast to const md5_uint32 *.
1144 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
1145 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
1146 unsigned short.
1147 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
1148 to void *.
1149 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
1150
8d87f295
NC
11512002-09-19 Nick Clifton <nickc@redhat.com>
1152
1153 * README: Update email addresses for bugs and patches.
1154
6eedb9ca
MS
11552002-09-10 Mike Stump <mrs@apple.com>
1156
1157 * splay-tree.c (splay_tree_successor): Fix comments.
1158
3fd9d606
ZW
11592002-09-11 Zack Weinberg <zack@codesourcery.com>
1160
b2196e8f 1161 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
3fd9d606
ZW
1162 * testsuite/Makefile.in: Adjust for test-demangle.
1163 * testsuite/regress-demangle: Deleted.
1164 * testsuite/test-demangle.c: New file.
1165 * testsuite/demangle-expected: Change \$ to $ throughout, now that
1166 this file is not being read by a shell script.
1167
70c4e67a
RS
11682002-09-05 Roger Sayle <roger@eyesopen.com>
1169
1170 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
1171
65b91091
DD
11722002-08-07 DJ Delorie <dj@redhat.com>
1173
1174 * regex.c (re_error_msgid): Just use a simple array of strings.
1175 (re_compile_pattern): Compensate.
1176 (re_comp): Likewise.
1177 (re_comp): Likewise.
1178 (regerror): Likewise.
1179
437974a9
NB
11802002-07-29 Neil Booth <neil@daikokuya.co.uk>
1181
1182 * cplus-dem.c (PREPEND_BLANK): Remove.
de78f58b 1183
28a34ec1
JM
11842002-07-10 Jason Merrill <jason@redhat.com>
1185
1186 * cp-demangle.c (demangle_identifier): Support extended Unicode
1187 characters.
1188
84326592
KG
11892002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1190
1191 * cp-demangle.c (demangle_v3_with_details): Wrap in
de78f58b 1192 !defined IN_GLIBCPP_V3.
84326592 1193
5d69ba1f
MM
11942002-07-01 Mark Mitchell <mark@codesourcery.com>
1195
1196 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
1197 Set it for the "st" operator.
1198 (demangle_expression): Handle expressions with types as arguments.
1199
7fda878c
DR
12002002-06-30 Douglas Rupp <rupp@gnat.com>
1201
1202 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
1203 * Makefile.in (OUTPUT_OPTION): Use.
1204
112bae77
PB
12052002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
1206
1207 * Makefile.in (install_to_libdir): Add $(DESTDIR).
1208 (install_to_tooldir): Likewise.
1209
53309d5c
DR
12102002-06-17 Douglas Rupp <rupp@gnat.com>
1211
1212 * lbasename.c: Add 2002 to copyright.
1213 (IS_DIR_SEPARATOR): Remove VMS junk.
1214
045b3a49
GK
12152002-06-05 Geoffrey Keating <geoffk@redhat.com>
1216
1217 * hashtab.c (htab_create): New stub function for backward
1218 compatibility.
1219 (htab_try_create): Likewise.
1220
e2500fed
GK
12212002-06-03 Geoffrey Keating <geoffk@redhat.com>
1222
1223 * hashtab.c (htab_create): Delete.
1224 (htab_try_create): Delete.
1225 (htab_create_alloc): New.
1226 (htab_delete): Support user-specified memory allocation.
1227 (htab_expand): Likewise.
1228
9f3dbd92
RL
12292002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
1230
1231 * configure.in: Fix typo in the code checking for sys_errlist.
1232 * configure: Regenerated.
1233
e4723404
AS
12342002-05-13 Andreas Schwab <schwab@suse.de>
1235
1236 * config.table: Use mh-x86pic also for x86-64.
1237
6706f116
AO
12382002-05-08 Alexandre Oliva <aoliva@redhat.com>
1239
1240 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1241 script entry, and set LD to it when configuring multilibs.
1242 * configure: Rebuilt.
1243
deae2ed9
MM
12442002-05-07 Mark Mitchell <mark@codesourcery.com>
1245
1246 * configure.in (AC_TYPE_PID_T): Use it.
1247 * configure: Regenerated.
1248 * getruntime.c: Include <sys/types.h>.
1249 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
1250
4fc4e478
RH
12512002-04-09 Richard Henderson <rth@redhat.com>
1252
1253 * hashtab.c (higher_prime_number): Use 7 as minimum.
1254 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
1255 (htab_find_slot_with_hash): Likewise.
1256
bd7e6f2d
PE
12572002-04-01 Phil Edwards <pme@gcc.gnu.org>
1258
1259 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
1260 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
1261 not compile if IN_GLIBCPP_V3 defined.
1262 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
1263
a8f55e51
BM
12642002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
1265
de78f58b 1266 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
a8f55e51
BM
1267 if it is NULL.
1268
96adcacb
DD
12692002-03-27 DJ Delorie <dj@redhat.com>
1270
1271 * hex.c: Add documentation.
1272 (_hex_value): Provide non-ASCII empty table.
1273 (hex_init): Initialize the non-ASCII table.
1274 * functions.texi: Regenerate.
1275
2b613c6a
MM
12762002-03-27 Mark Mitchell <mark@codesourcery.com>
1277
1278 * dyn-string.c: Add libgcc exception to copyright notice.
1279
cd862df8
L
12802002-03-26 H.J. Lu (hjl@gnu.org)
1281
1282 * config.table: Support --with-build-subdir.
1283 * configure.in: Likewise.
1284 * configure: Rebuild.
1285
ed300793
SG
12862002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
1287
1288 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
1289 seen.
1290
b3dd43df
MM
12912002-03-12 Mark Mitchell <mark@codesourcery.com>
1292
1293 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
1294 notice.
1295
50c74579
DR
12962002-03-11 Douglas B Rupp <rupp@gnat.com>
1297
1298 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
1299
957978a4
JB
13002002-03-06 Jim Blandy <jimb@redhat.com>
1301
1302 * splay-tree.c (splay_tree_xmalloc_allocate,
1303 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
1304 prototyped definitions. Mark `data' arguments as unused.
1305
ccc49bed
AC
13062002-03-06 Andrew Cagney <ac131313@redhat.com>
1307
1308 * floatformat.c (floatformat_arm_ext_big): Delete definition.
1309
48d7db63
PE
13102002-03-04 Phil Edwards <pme@gcc.gnu.org>
1311
1312 * configure.in: Add --enable-install-libiberty option.
1313 * Makefile.in (INSTALLED_HEADERS): New variable.
1314 (install_to_libdir): Possibly also copy headers.
1315 * configure: Regenerated.
1316
af18e951
NB
13172002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
1318
1319 * xmalloc.c (xmalloc_fail): Clarify error message further.
1320
d8d7c3c3
NB
13212002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
1322
1323 * xmalloc.c (xmalloc_fail): Clarify error message.
1324
00c2f96f
JB
13252002-02-22 Jim Blandy <jimb@redhat.com>
1326
1327 * splay-tree.c (splay_tree_xmalloc_allocate,
1328 splay_tree_xmalloc_deallocate): New functions.
1329 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
1330 above functions and a dummy data pointer.
1331 (splay_tree_new_with_allocator): New function.
1332 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
1333 splay_tree_remove): Use the splay tree's allocation and
1334 deallocation functions.
1335
b1c1a22f
SS
13362002-02-19 Scott Snyder <snyder@fnal.gov>
1337
1338 * testsuite/demangle-expected: Add test case for infinite loop in
1339 demangler.
1340 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
1341 if do_type() doesn't make any progress --- prevents an infinite
1342 loop.
1343
336669e7
CW
13442002-02-18 Carlo Wood <carlo@gnu.org>
1345
1346 PR c++/5390
1347 * cplus-dem.c (demangle_integral_value): Accept multi-digit
1348 numbers that do not start with an underscore; This is needed
1349 for integer template parameters. This doesn't break anything
1350 because multi-digit numbers are never followed by a digit.
1351 * testsuite/demangle-expected: Corrected all mangled test
1352 cases with multi-digit template parameters: g++ 2.95.x does
1353 not generate underscores around these parameters.
1354
c13db5d1
JM
13552002-02-05 Jason Merrill <jason@redhat.com>
1356
1357 * cplus-dem.c (flags): Add DMGL_VERBOSE
1358 (cplus_demangle_v3_p): Remove.
1359 (demangle_it): Add DMGL_TYPES to passed flags.
1360 * cp-demangle.c (cplus_demangle_v3_all): Remove.
1361 (cplus_demangle_v3_type): Remove.
1362 (cplus_demangle_v3): Add options parm.
1363
d74697b8
L
13642002-02-02 H.J. Lu (hjl@gnu.org)
1365
1366 * cp-demangle.c (cp_demangle_type): Do not protect with
1367 IN_LIBGCC2.
1368 (cplus_demangle_v3_all): New.
1369 (cplus_demangle_v3): Call cplus_demangle_v3_all.
1370 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
1371
1372 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
1373 Initialized to cplus_demangle_v3.
1374 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
1375 of cplus_demangle_v3.
1376 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
1377 command line symbol.
1378
1379 * testsuite/regress-demangle: Pass the mangled name at the
1380 command line.
1381
3a441e38
L
13822002-02-01 H.J. Lu <hjl@gnu.org>
1383
1384 * cp-demangle.c (cp_demangle_type): Call demangling_new with
1385 DMGL_GNU_V3.
1386
6d747e63
PE
13872002-01-31 Phil Edwards <pme@gcc.gnu.org>
1388
1389 * cp-demangle.c: Revert yesterday's change.
1390
46af757b
AM
13912002-01-31 Adam Megacz <adam@xwt.org>
1392
1393 * gcc/libiberty/configure.in: Treat mingw the same as cywin
1394 wrt HAVE_SYS_ERRLIST.
1395
46ab74b1
PE
13962002-01-30 Phil Edwards <pme@gcc.gnu.org>
1397
1398 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
1399 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
1400 cp_demangle_type.
1401 * testsuite/demangle-expected: New gnu-v3 test.
1402
e64d0626
MV
14032002-01-22 Momchil Velikov <velco@fadata.bg>
1404
1405 * configure.in (variable detection): Use arrays of unspecified
1406 size instead of plain integers.
1407
9ce3f7e5
DD
14082002-01-18 DJ Delorie <dj@redhat.com>
1409
1410 * Makefile.in (TESTLIB): New. This library is for future
1411 testsuites.
1412 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
1413 break down by letter.
1414 (REQUIRED_OFILES): List long-to-compile files first.
1415 (maint-deps): New, target for updating dependencies.
1416 (dependencies): Update.
1417 * maint-tool: Add dependency-generating option.
1418 * configure.in: Check for _doprnt even if we're not providing it.
1419 * configure: Regenerate.
1420
1421 * _doprnt.c: Modifications to allow compiling on any platform.
1422 * copysign.c: Likewise.
1423 * putenv.c: Likewise.
1424 * setenv.c: Likewise.
1425 * vsprintf.c: Likewise.
1426
0e83ceb1
DR
14272002-01-15 Douglas B Rupp <rupp@gnat.com>
1428
1429 * mkstemps.c (mkstemps): On VMS, open temp file with option
1430 that causes it to be deleted when closed.
1431
adddf5bf
KG
14322002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1433
5e65297b
KG
1434 * cp-demangle.c (long_options): Const-ify.
1435 * cplus-dem.c (long_options): Likewise.
1436
adddf5bf
KG
1437 * cplus-dem.c (mystrstr): Delete. All callers changed to use
1438 strstr instead.
1439
a4219437
IR
14402001-12-31 Ira Ruben <ira@apple.com>
1441
1442 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
1443 * configure: Regenerated.
af328d8d
DR
1444
14452001-12-24 Douglas B. Rupp <rupp@gnat.com>
1446
1447 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
1448 * configure: Regenerated.
a4219437 1449
63de15a4
CR
14502001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
1451
1452 PR other/2719
1453 * cplus-dem.c (consume_count): Treat negative count as an error.
1454 * testsuite/demangle-expected: Added testcase.
1455
ee262b6f
DR
1456Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
1457
1458 * configure.in: Hardcode that vfork works on VMS host.
1459 * configure: Regenerated.
1460
d06ba3c7
RH
14612001-12-06 Richard Henderson <rth@redhat.com>
1462
1463 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
1464 (cplus_demangle): Support no_demangling.
1465
e490616e
ZW
14662001-11-27 Zack Weinberg <zack@codesourcery.com>
1467
1468 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
1469 in libiberty context. Fix typo in leading comment.
1470 * configure.in: Fix various AC_DEFINEs so autoheader works.
1471 If any of vprintf, vsprintf, vfprintf is missing from libc,
1472 then AC_REPLACE_FUNCS(_doprnt).
1473
97e620cf 14742001-11-26 DJ Delorie <dj@redhat.com>
e490616e 1475 Daniel Jacobowitz <drow@mvista.com>
97e620cf
DD
1476
1477 * Makefile.in (stamp-h): Depend on Makefile for proper
1478 serialization.
1479 (*-subdir): Depend on config.h for proper serialization.
1480
c3bb7df0
DD
14812001-11-26 DJ Delorie <dj@redhat.com>
1482
1483 * configure.in: Check for alloca.h (for regex.c and putenv.c).
1484 * configure: Regenerate.
1485 * config.h: Add HAVE_ALLOCA_H.
1486
23850d35
KG
14872001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1488
2c47b56b
KG
1489 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
1490 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
1491 is available.
23850d35 1492
7ddfb651
JL
1493Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
1494
d3982b71
JL
1495 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
1496 * configure.in (HAVE_UINTPTR_T): Test for system defining
1497 uintptr_t and define HAVE_UINTPTR_T appropriately.
1498 * regex.c (uintptr_t): Do not provide a definition if the
1499 system provided one.
1500
7ddfb651
JL
1501 * regex.c (PREFIX): Provide an alternate definition for
1502 non-ANSI/ISO compilers.
1503 (ARG_PREFIX): Likewise.
1504
2e683037
JM
15052001-11-12 Jim Meyering <meyering@lucent.com>
1506
1507 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
1508 this code would end up calling gettext even in packages built
1509 with --disable-nls.
1510 * getopt.c (_): Likewise.
1511 * regex.c (_): Likewise.
1512
f749bd83
AM
15132001-11-03 Alan Modra <amodra@bigpond.net.au>
1514
1515 * configure.in: Cope with missing makeinfo.
55a10d7c 1516 * configure: Regenerate.
f749bd83 1517
26ad2982
KG
15182001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1519
e5969ba6
KG
1520 * hex.c (hex_init): Provide empty stub.
1521
26ad2982
KG
1522 * hex.c (hex_init): Delete.
1523 (_hex_value): Const-ify and initialize at compile-time.
1524
afb649d5
L
15252001-10-19 H.J. Lu <hjl@gnu.org>
1526
1527 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
1528 necessary.
1529
5bed56d9
DD
15302001-10-17 DJ Delorie <dj@redhat.com>
1531
1532 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
1533 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
4dcc42a3 1534 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5bed56d9
DD
1535 Improve manual formatting.
1536 * functions.texi: Regenerate.
1537
aac04c15
DD
15382001-10-15 DJ Delorie <dj@redhat.com>
1539
1540 * Makefile.in (TEXIFILES): Add fnmatch.txh.
1541 (maint-undoc): New.
1542 maint-tool: Add "undoc" tool.
1543 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
1544 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
1545 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
1546 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
1547 documentation.
1548 * fnmatch.txh: New.
1549 * functions.texi: Regenerate.
fae8182a 1550
0e4e9e8f
JM
15512001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
1552
1553 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
1554 * strtod.c: Use "ISO C" instead of "ANSI C".
1555 * functions.texi: Regenerate.
1556
7f8fa05d
JM
15572001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
1558
1559 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
1560 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
1561 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
1562 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
1563 spelling. Give names to function arguments in documentation. Use
1564 (void) prototypes in documentation.
1565 * functions.texi: Regenerate.
1566
0be6abca
KG
15672001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1568
1569 * argv.c (buildargv, tests, main): Const-ify.
1570 * cp-demangle.c (operator_code): Likewise.
1571 * cplus-dem.c (optable, libiberty_demanglers,
1572 cplus_demangle_set_style, cplus_demangle_name_to_style,
1573 print_demangler_list): Likewise.
1574 * hashtab.c (higher_prime_number): Likewise.
1575 * strcasecmp.c (charmap): Likewise.
1576 * strerror.c (error_info, strerror, main): Likewise.
1577 * strncasecmp.c (charmap): Likewise.
1578 * strsignal.c (signal_info): Likewise.
1579
0e30ffc5
DD
15802001-09-29 DJ Delorie <dj@redhat.com>
1581
1582 * configure: Regenerate.
1583
576fb787
KG
15842001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1585
1586 * concat.c: Include stdlib.h.
1587
e922f978
EZ
15882001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
1589
1590 * libiberty.texi: (Top level): Add syncodeindex pg. Add
1591 @dircategory and @direntry directives. Add @finalout.
1592 (many nodes): Lose the next,prev,up pointers on the @nide line.
1593 (Using, Supplemental Functions, Replacement Functions): Fix
1594 markup.
1595 (Functions): Move around, to allow makeinfo to build the manual
1596 without next,prev,up pointers in thye node lines.
1597 (Licenses): Fix typos.
1598
1599 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
1600 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
1601 * functions.texi: Regenerate.
1602
1603 * copying-lib.texi: Lose the next,prev,up pointers on the @node
1604 line.
1605
ae9092da
DD
16062001-09-27 DJ Delorie <dj@redhat.com>
1607
1608 * configure.in: Don't use in-tree texinfo, because libiberty must
1609 be built before it. Check for makeinfo version 4 or higher.
1610 * functions.texi: Regenerate.
fae8182a 1611
aaa5f039
DD
16122001-09-20 DJ Delorie <dj@redhat.com>
1613 Phil Edwards <pedwards@disaster.jaj.com>
fae8182a 1614
aaa5f039
DD
1615 * configure.in (MAKEINFO, PERL): Detect these.
1616 (--enable-maintainer-mode): Add.
1617 * configure: Regenerate.
1618 * Makefile.in (MAKEINFO, PERL): Define.
1619 (libiberty.info, libiberty.dvi, libiberty.html): New.
1620 (CFILES): Add bsearch.c.
1621 (CONFIGURED_OFILES): New, list of objects configure might add.
1622 (maint-missing, maint-buildall): New, for maintainers only.
1623 (clean, mostlyclean): Add info/dvi/html files.
1624 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
1625 * gather-docs: New, for maintainers.
1626 * maint-tool: New, for maintainers.
1627 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
1628 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
1629 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
1630 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
1631 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
1632 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
1633 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
1634 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
1635 documentation.
fae8182a 1636
c1766881
KG
16372001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1638
1639 * concat.c (reconcat): Fix for traditional C.
1640
ad43d46f
KG
16412001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1642
1643 * concat.c (reconcat): New function.
1644
c1d49704
KG
16452001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1646
c793eea7
KG
1647 * concat.c (vconcat_length, vconcat_copy, concat_length,
1648 concat_copy, concat_copy2): New functions.
1649 (concat): Use vconcat_length/vconcat_copy.
1650
c1d49704
KG
1651 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
1652 Define.
1653
7a98d9b2
KG
16542001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1655
1656 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
1657 VA_FIXEDARG & VA_CLOSE.
fae8182a 1658
7a98d9b2
KG
1659 * vasprintf.c: Check HAVE_STRING_H when including string.h.
1660 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
1661 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
1662
e2dff3f2
KG
16632001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1664
1665 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
1666
d0708dc1
UD
16672001-08-23 Ulrich Drepper <drepper@redhat.com>
1668
1669 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
1670
16712001-08-23 Ulrich Drepper <drepper@redhat.com>
1672
1673 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
1674 instead of mbrtowc.
1675 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
1676 wcslen, and __wcscoll instead of wcscoll.
1677
ffb9435b
MK
16782001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1679
de78f58b
AJ
1680 * fibheap.c (fibheap_init, fibnode_init): Remove.
1681 (fibheap_new, fibnode_new): Use xcalloc to allocate and
1682 initialize memory.
1683 (fibheap_insert): Remove check for node allocation failure.
ffb9435b 1684
f379eac3
RH
16852001-08-21 Richard Henderson <rth@redhat.com>
1686
1687 * Makefile.in (fibheap.o): Depend on config.h.
1688 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
1689 functions for inlining.
1690
b1c45ae4
CF
1691Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
1692
1693 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
1694 hosting on cygwin.
1695 * configure: Regenerate.
1696
0310e5ac
AC
16972001-08-20 Andrew Cagney <ac131313@redhat.com>
1698
1699 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
1700 HARRIS_FLOAT_FORMAT.
1701 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
1702 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
1703 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
1704 (floatformat_m88110_harris_ext): New float formats.
1705
8c23e0a4
DB
17062001-08-20 Daniel Berlin <dan@cgsoftware.com>
1707
1708 * fibheap.c: New file. Fibonacci heap.
1709
1710 * Makefile.in (CFILES): Add fibheap.c.
1711 (REQUIRED_OFILES): Add fibheap.o.
1712 (fibheap.o): Add dependencies for fibheap.o.
1713
91625004
CF
17142001-08-17 Christopher Faylor <cgf@cygnus.com>
1715
1716 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
1717 * configure: Regenerate.
1718
9e0ba685
RH
17192001-08-16 Richard Henderson <rth@redhat.com>
1720
1721 * hashtab.c (htab_hash_string): New.
1722
d80dedbe
AC
17232001-08-13 Andrew Cagney <ac131313@redhat.com>
1724
1725 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
1726 name.
1727
ccea0d85
IH
17282001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
1729
1730 * regex.c (wcs_regex_compile): Use appropriate string
1731 to compare with collating element.
1732 Fix the padding for the alignment.
1733
b0e9bc8c 17342001-08-10 Andrew Cagney <ac131313@redhat.com>
0ef5547d
AC
1735
1736 * lbasename.c (lbasename): Change function definition to return a
1737 const char pointer.
1738
056400f1
JM
17392001-08-07 Jason Merrill <jason_merrill@redhat.com>
1740
1741 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
1742 for".
1743
4e627c41
RH
17442001-08-03 Richard Henderson <rth@redhat.com>
1745
1746 * Makefile.in (concat.o): Depend on config.h.
1747
b6a2f884
AJ
17482001-07-30 Andreas Jaeger <aj@suse.de>
1749
1750 * concat.c: Include "config.h".
1751
c4b9cfe0
AJ
17522001-07-30 Andreas Jaeger <aj@suse.de>
1753
1754 * regex.c: Declare wcs functions only if compiling with
1755 MBS_SUPPORT.
1756 Don't use #elif for traditional C.
1757
17582001-07-23 Ulrich Drepper <drepper@redhat.com>
1759
1760 * regex.c: Revamp memory allocation for WCHAR functions to
1761 not use too much stack.
1762
17632001-07-30 Andreas Jaeger <aj@suse.de>
1764
1765 * regex.c: Declare wcs functions only if compiling with
1766 MBS_SUPPORT.
1767 Don't use #elif for traditional C.
1768
2cf50fd3
DJ
17692001-07-25 Daniel Jacobowitz <drow@mvista.com>
1770
1771 * Makefile.in (regex.o): Add dependency on config.h.
1772
27ffc806
DD
17732001-07-18 Andreas Schwab <schwab@suse.de>
1774
1775 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
1776 underscore character.
1777
17782001-07-18 Ulrich Drepper <drepper@redhat.com>
1779
1780 * regex.c: Limit string length printed in debug messages to 100
1781 chars.
1782
17832001-07-18 Andreas Jaeger <aj@suse.de>
1784
1785 * regex.c: Place under LGPL version 2.1.
1786
dd771632
JJ
17872001-07-10 Jeff Johnston <jjohnstn@redhat.com>
1788
1789 * Makefile.in: Add support for regex code.
1790 * regex.c: New file.
1791
29650b2b
MK
17922001-07-05 Mark Klein <mklein@dis.com>
1793
1794 * Makefile.in: Add ffs.c dependency.
1795 * configure.in: Add ffs.c.
1796 * ffs.c: New file.
1797
c8b28221
RH
17982001-06-18 Richard Henderson <rth@redhat.com>
1799
1800 * concat.c: Include <sys/types.h>.
1801
473c2d0b
LR
18022001-06-11 Loren J. Rittle <ljrittle@acm.org>
1803
a4c03da2 1804 bootstrap/3106
473c2d0b
LR
1805 * strerror.c (sys_nerr): Hide the OS header version.
1806 * strsignal.c (sys_nsig): Likewise.
1807
0bdcca68
RH
18082001-06-10 Richard Henderson <rth@redhat.com>
1809
1810 * concat.c: Include string.h. Fix int vs size_t usage.
1811 Simplify the iteration loops. Use memcpy.
1812
6de133d3
MK
18132001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
1814
1815 * partition.c: Fix misspelling of `implementation'.
1816
8a153288
TS
18172001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
1818
1819 * md5.c (md5_init_ctx): Declare constants as unsigned.
1820 (md5_process_block): Likewise.
1821
641b2721
ZW
18222001-05-07 Zack Weinberg <zackw@stanford.edu>
1823
1824 * cp-demangle.c (demangle_v3_with_details,
1825 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
1826 function definition.
1827 * ternary.c: Use K+R style function definitions. Use PTR, not
1828 void *. Make arguments constant where possible.
1829
5cdba4ff
MM
18302001-05-07 Mark Mitchell <mark@codesourcery.com>
1831
1832 * splay-tree.h (splay_tree_max): New function.
1833 (splay_tree_min): Likewise.
1834
9dab060e
DB
18352001-04-15 Daniel Berlin <dan@cgsoftware.com>
1836
1837 * ternary.c: New file - Ternary search tree implementation.
1838
1839 * Makefile.in: Add ternary.o, and ternary.c dependencies.
1840
d02af173
ZW
18412001-04-03 Zack Weinberg <zackw@stanford.edu>
1842
1843 * make-temp-file.c (try): Inline.
1844
94b68558
RH
18452001-02-28 Richard Henderson <rth@redhat.com>
1846
1847 * Makefile.in (make-temp-file.o): Depend on config.h.
1848
27f66c0b
KG
18492001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1850
1851 * memchr.c (memchr): Adjust condition to avoid infinite loop.
1852
f1a0345c
JJ
18532001-03-23 Jakub Jelinek <jakub@redhat.com>
1854
1855 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
1856 `_' not followed by a digit is invalid.
1857
a519fba6
JB
18582001-03-22 Jim Blandy <jimb@redhat.com>
1859
1860 * cp-demangle.c (string_list_delete): Use dyn_string_delete
1861 instead of free, to free the contents as well as the string
1862 structure.
1863
49ee944b
ZW
18642001-03-21 Zack Weinberg <zackw@stanford.edu>
1865
1866 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
1867 Don't default P_tmpdir to anything. Try /var/tmp before
1868 /usr/tmp.
1869
33437dc7
ZW
18702001-03-20 Zack Weinberg <zackw@stanford.edu>
1871
1872 * choose-temp.c: Split off make_temp_file, and the code
1873 duplicated between it and choose_temp_base, into...
1874 * make-temp-file.c: ... here; new file.
1875
1876 * Makefile.in (CFILES): Add make-temp-file.c.
1877 (REQUIRED_OFILES): Add make-temp-file.o.
1878
7dce2eff
JB
18792001-03-20 Jim Blandy <jimb@redhat.com>
1880
1881 * cp-demangle.c (struct demangling_def): New fields:
1882 is_constructor and is_destructor.
1883 (demangling_new): Initialize them.
1884 (demangle_ctor_dtor_name): Set them, if we detect a constructor
1885 or destructor.
1886 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
1887 is_gnu_v3_mangled_dtor): New functions.
1888
e03a61f1
JM
18892001-03-20 Jason Merrill <jason@redhat.com>
1890
1891 * cplus-dem.c (main): Skip initial $.
1892
8860ddab
MM
18932001-03-15 Michael Meissner <meissner@redhat.com>
1894
1895 * hashtab.c (higher_prime_number): Silence warning that 4294967291
1896 might be a signed integer under pre-ISO C systems.
1897
2b757d51
NB
18982001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
1899 John David Anglin <dave@hiauly1.hia.nrc.ca>
1900
1901 * libiberty/lbasename.c: New file.
1902 * libiberty/Makefile.in: Update for lbasename.
1903
1f50aafb
ZW
19042001-03-06 Zack Weinberg <zackw@stanford.edu>
1905
1906 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
1907 * configure.in: Replace all alloca logic with a simple use of
1908 the above new macro.
1909 * config.table: Kill *-*-beos* entry.
1910 * config/mh-beos: Delete.
1911 * configure, config.in: Regenerate.
1912
1913 * Makefile.in (ALLOCA, HFILES): Kill.
1914 (REQUIRED_OFILES): Add alloca.o.
1915 (alloca.o): Depend on libiberty.h.
1916 (argv.o): Don't depend on alloca-conf.h.
1917 * alloca-conf.h: Delete.
1918 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
1919 blocks. Provide the C alloca unconditionally. Use PTR where
1920 appropriate. Make i00afunc static.
1921 * argv.c: Don't include alloca-conf.h.
1922
d9fd5aae
JDA
19232001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
1924
1925 * cplus-dem.c (main): Cast enum style to int.
1926
4031ed65
LR
19272001-02-16 Loren J. Rittle <ljrittle@acm.org>
1928
1929 * cplus-dem.c (main): Initialize style.
1930
2ca46e8a
PE
19312001-02-02 Phil Edwards <pme@sources.redhat.com>
1932
1933 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
1934
3b60dd8e
BM
19352001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
1936
1937 Add support for Java demangling under the v3 ABI:
1938 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
1939 (struct demangling_def): Add `style' field.
1940 (demangling_new): New parameter `style'. Set it in demangling_t.
1941 (demangle_prefix): Use NAMESPACE_SEPARATOR.
1942 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
1943 (cp_demangle): New parameter `style'. Pass it to demangling_new().
1944 (main): Call cp_demangle with extra parameter.
1945 (java_demangle_v3): New function.
1946 (java_builtin_type_names): New. Table of primitive type names used
1947 for Java demangling.
1948 (demangle_builtin_type): Look up in java_builtin_type_names if doing
1949 Java output.
1f50aafb 1950 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
3b60dd8e
BM
1951 demangling.
1952 (long_options): Remove obsolete `java' option.
1953 (main): Remove explicit handling of `java' option. Instead, pass style
1954 parameter in cplus_demangle flags as gdb does.
1955 * testsuite/demangle.expected: Add some Java test cases.
1956
584932e9
DD
19572000-12-29 DJ Delorie <dj@redhat.com>
1958
1959 * fnmatch.c: Make the note about the origins of this file more
1960 accurate, at least until we can sync with glibc.
1961 * getopt.c: Ditto.
1962 * getopt1.c: Ditto.
1963 * md5.c: Ditto.
1964 * obstack.c: Ditto.
1965
dac45916
MS
19662000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1967
1968 * bsearch.c: New file.
1969 * configure.in (funcs): Add bsearch.
1970 (AC_CHECK_FUNCS): Likewise.
1971 * configure, config.in: Regenerate.
1972
a8e4a997
MS
19732000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1974
1975 * safe-ctype.c: #include "ansidecl.h".
1976 * strtod.c: Likewise.
1977
75444da7
MS
19782000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1979
1980 * strtoul.c: Include safe-ctype.h, not ctype.h.
1981
f6bbde28
ZW
19822000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1983
1984 * safe-ctype.c: New file.
1985 * Makefile.in (CFILES): Add safe-ctype.c.
1986 (REQUIRED_OFILES): Add safe-ctype.o.
1987
1988 * argv.c: Define ISBLANK and use it, not isspace.
1989 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
1990 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
1991 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
1992 before calling TOLOWER(c)/TOUPPER(c).
1993
6c1ce62b 19942000-12-07 Mike Stump <mrs@wrs.com>
b25a8973
MS
1995
1996 * Makefile.in (distclean): When cleaning, remove testsuite.
1997
b5d1497d
JM
19982000-12-05 Jason Merrill <jason@redhat.com>
1999
2000 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
2001 name before allocating the dyn_string.
2002
c6e13630
JM
20032000-12-04 Jason Merrill <jason@redhat.com>
2004
2005 * cp-demangle.c: s/new_abi/v3/.
2006 * cplus-dem.c: Likewise.
2007 (current_demangling_style): Now auto_demangling.
2008 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
f6bbde28 2009 (main): Use standard symbol chars for auto_demangling.
c6e13630 2010
a4c9b97e
MM
20112000-11-26 Mark Mitchell <mark@codesourcery.com>
2012
2013 * hashtab.c (higher_prime_number): Use a table, rather than a
2014 seive, to find the next prime.
2015
3b3bd9a7
L
20162000-11-22 H.J. Lu <hjl@gnu.org>
2017
2018 * cplus-dem.c (main): Handle gnat_demangling.
2019
d1209685
ZW
20202000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2021
2022 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
2023 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
2024 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
2025 argument form of AC_DEFINE in dummy definitions block. Use
2026 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
2027 in dummy block. Preload cache variables instead of bypassing
2028 tests, where possible.
2029 * acconfig.h: Removed.
2030
2031 * xmalloc.c (xmalloc_failed): New function, does error
2032 reporting on failed allocation.
2033 (xmalloc, xcalloc, xrealloc): Use it.
2034
cf183ac2
HPN
20352000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
2036
2037 * cplus-dem.c (cplus_demangle): Fix formatting.
2038 (grow_vect): Ditto.
2039 (ada_demangle): Ditto.
2040 (internal_cplus_demangle): Ditto.
2041 (mop_up): Ditto.
2042
20432000-11-21 H.J. Lu <hjl@gnu.org>
2044
2045 * cplus-dem.c (main): Handle java_demangling.
2046
8bcc782c
KG
20472000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2048
2049 * cplus-dem.c (grow_vect): Prototype.
2050 (ada_demangle): Cast the arg of ctype macros to unsigned char.
2051
29120f44
HPN
20522000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
2053
2054 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
2055 parameter `option'.
2056
0437a5a8
KB
20572000-11-15 Kenneth Block <kenneth.block@compaq.com>
2058
9e038f71 2059 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
0437a5a8
KB
2060 be used in GCC.
2061
eab0c1ab 20622000-11-15 Kenneth Block <kenneth.block@compaq.com>
61ab980a 2063
29120f44 2064 * cplus-dem.c: Add gnat demangler. Add java to demangle style
61ab980a
KB
2065 list.
2066
d50d20ec
HPN
20672000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
2068
2069 * hashtab.c (htab_expand): Change to return int. Use calloc or
c4b9cfe0
AJ
2070 xcalloc depending on htab->return_allocation_failure. Return zero
2071 if calloc fails.
d50d20ec
HPN
2072 (htab_create): Update comment to cover memory allocation.
2073 (htab_try_create): New.
2074 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
c4b9cfe0 2075 Update comment to cover this.
d50d20ec 2076
35e9340f
HPN
20772000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
2078
2079 * hashtab.c: Change void * to PTR where necessary.
2080 (htab_create, htab_expand): Correct formatting of comment before
2081 function.
2082
ea343d1a 20832000-10-22 Alex Samuel <samuel@codesourcery.com>
0870bfd6
AS
2084
2085 * cp-demangle.c (string_list_def): Add caret_position and comments.
2086 (result_caret_pos): New macro.
2087 (result_append_string): Rename to...
2088 (result_add_string): ... this, and insert at caret position.
d1209685 2089 Rename throughout.
0870bfd6
AS
2090 (result_append): Rename to...
2091 (result_add): ... this, and insert at caret position. Rename
d1209685 2092 throughout.
0870bfd6
AS
2093 (result_append_char): Rename to...
2094 (result_add_char): ... this, and insert at caret position. Rename
d1209685 2095 throughout.
0870bfd6
AS
2096 (result_append_space): Remove.
2097 (string_list_new): Initialize caret position.
2098 (result_add_separated_char): Use caret position.
2099 (result_get_caret): New funtion.
2100 (result_set_caret): Likewise.
2101 (result_shift_caret): Likewise.
2102 (result_previous_char_is_space): Likewise.
2103 (substitution_start): Use caret position.
2104 (substitution_add): Likewise.
2105 (demangling_new): Initialize caret position.
2106 (demangle_encoding): Use caret position.
d1209685 2107 (demanglin_nested_name): Put CV qualifiers after name.
0870bfd6
AS
2108 (demangle_type_ptr): Use switch statement. Handle pointers to
2109 arrays. Don't use result_append_space. Use caret position.
2110 (demangle_type): Emit CV qualifiers after underlying type. Adjust
d1209685
ZW
2111 call to demangle_array_type.
2112 (demangle_array_type): Add parameter to handle pointers to arrays.
2113
f15b9af9
MM
21142000-10-01 Mark Mitchell <mark@codesourcery.com>
2115
2116 * splay-tree.c (splay_tree_insert): Fix formatting.
2117
8f17b5c5
MM
21182000-09-16 Mark Mitchell <mark@codesourcery.com>
2119
2120 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
2121
4eaa189a
MS
21222000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2123
2124 * splay-tree.c: #include <stdio.h>.
2125
29791078
HPN
21262000-09-14 Hans-Peter Nilsson <hp@axis.com>
2127
2128 * testsuite/demangle-expected: Add two tests for anonymous
2129 namespaces.
2130 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
2131
2c9f4db7
MM
21322000-09-10 Mark Mitchell <mark@codesourcery.com>
2133
2134 * splay-tree.c (splay_tree_predecessor): New function.
2135 (splay_tree_successor): Likewise.
2136
bb22da4b
HPN
21372000-09-10 Hans-Peter Nilsson <hp@axis.com>
2138
2139 * testsuite/demangle-expected: Add four tests for type_info
2140 mangling.
bb22da4b
HPN
2141 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
2142 for a non-template non-qualified type_info function or node.
2143
759e8187
AS
21442000-09-08 Alex Samuel <samuel@codesourcery.com>
2145
2146 * cp-demangle.c: Fix copyright banner.
2147
2ecd81ef
MS
21482000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2149
2150 * md5.c: #include "ansidecl.h".
2151
d93998ec
AS
21522000-09-06 Alex Samuel <samuel@codesourcery.com>
2153
2154 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
2155 (demangle_type): Handle substitution candidates correctly in the
2156 face of special substitutions.
2157
1056d228
AS
21582000-09-05 Alex Samuel <samuel@codesourcery.com>
2159
2160 * cp-demangle.c (demangle_encoding): Rename variable.
2161 (demangle_name): Rename parameter. Handle return type
2162 suppression.
2163 (demangle_nested_name): Rename parameter.
2164 (demangle_prefix): Likewise. Change return type suppression.
2165 (demangle_unqualified_name): Add parameter. Flag constructors and
2166 conversion operators.
2167 (demangle_special_name): Fix comment.
2168 (demangle_type): Rename variable.
2169 (demangle_bare_function_type): Check for missing return type and
d1209685 2170 parameter.
1056d228
AS
2171 (demangle_class_enum_type): Rename parameter.
2172 (demangle_discriminator): Fix misspelling in comment.
2173
2f31ed7e
DD
21742000-08-31 DJ Delorie <dj@redhat.com>
2175
2176 * configure.in (Cygwin): special case cygwin only when we're
2177 building cygwin, not when we're hosting cygwin.
2178
02bcb9c6
AS
21792000-09-04 Alex Samuel <samuel@codesourcery.com>
2180
2181 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
d1209685
ZW
2182 <expression>.
2183
aee749cf
AS
21842000-09-04 Alex Samuel <samuel@codesourcery.com>
2185
2186 * cp-demangle.c (demangle_type_ptr): Increment position past
2187 pointer and reference characters.
2188
92a16bbe
AS
21892000-09-04 Alex Samuel <samuel@codesourcery.com>
2190
2191 * cp-demangle.c (demangle_nv_offset): New function.
2192 (demangle_v_offset): Likewise.
2193 (demangle_call_offset): Likewise.
2194 (demangle_special_name): Update thunk demangling to comply with
2195 ABI changes.
d1209685 2196
31e0ab1f
AS
21972000-09-03 Alex Samuel <samuel@codesourcery.com>
2198
2199 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
2200 (substitution_def): Remove template_parm_number.
2201 (NOT_TEMPLATE_PARM): Remove.
2202 (result_insert_string): New macro.
2203 (result_insert): Likewise.
2204 (result_insert_char): Likewise.
2205 (substitution_add): Remove last parameter. Don't store template
d1209685 2206 parm number.
31e0ab1f
AS
2207 (BFT_NO_RETURN_TYPE): Define as NULL.
2208 (demangle_encoding): Adjust call to demangle_bare_function_type.
2209 (demangle_name): Adjust substitution. Adjust call to
d1209685 2210 substitution_add.
31e0ab1f
AS
2211 (demangle_prefix): Adjust call to substitution_add.
2212 (demangle_identifier): Handle anonymous namespaces.
2213 (demangle_operator_name): Change demangling of vendor-extended
2214 operator to match ABI changes.
2215 (demangle_type_ptr): Change parameters. Make recursive. Handle
d1209685 2216 substitutions here.
31e0ab1f
AS
2217 (demangle_type): Adjust calls to demangle_template_param,
2218 substitution_add, and demangle_type_ptr. Fix substitution of
2219 templated types.
2220 (demangle_function_type): Change parameter to a pointer.
2221 (demangle_bare_function_type): Likewise. Adjust insertion point.
2222 (demangle_template_param): Remove last parameter.
2223 (demangle_expr_primary): Remove unused variable. Adjust call to
d1209685 2224 demangle_template_param.
31e0ab1f
AS
2225 (is_mangled_char): Accept `$' and `.'.
2226 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
2227 * dyn-string.c (dyn_string_insert_char): New function.
2228
ccbc3eb7
HPN
22292000-08-31 Hans-Peter Nilsson <hp@axis.com>
2230
2231 * testsuite/demangle-expected: Add nine tests for
2232 underscore-after-number followed by five tests for name-signature
2233 delimiter.
2234
53dce582
RH
22352000-08-28 Richard Henderson <rth@cygnus.com>
2236
2237 * Makefile.in (md5.o): Depend on config.h.
2238
881c6935
JM
22392000-08-28 Jason Merrill <jason@redhat.com>
2240
2241 * Makefile.in (REQUIRED_OFILES): Add md5.o.
2242 (CFILES): Add md5.c.
2243 * md5.c: New file.
2244
a440fd19
AS
22452000-08-27 Alex Samuel <samuel@codesourcery.com>
2246
2247 * cp-demangle.c (demangle_name): Initialize template_p in local
2248 name case. Don't re-add substitutions as candidates.
2249 (demangle_nested_name): Use <unqualified-name>.
2250 (demangle_prefix): Likewise. Don't add template names as
2251 substitution candidates twice, or re-add a substitution or the
2252 last prefix component.
2253 (demangle_local_name): Adjust output format.
2254
d01ce591
AS
22552000-08-25 Alex Samuel <samuel@codesourcery.com>
2256
2257 * cp-demangle.c (result_add_separated_char): Change parameter to
2258 int.
2259 (substitution_add): Don't check for duplicates. Check if
2260 previously allocated size is zero.
2261 (demangle_name): Remove duplicate check for std substitution.
2262 Clear template flag appropriately.
2263 (demangle_prefix): Remove argument to demangle_substitution.
2264 Don't check that template flag is already set.
2265 (demangle_operator_name): Add pt operator.
2266 (demangle_type): Don't treat r as built-in type. Remove argument
2267 to demangle_substitution. Fix substitution candidate mechanics.
2268 Handle <template-template-parm>s. Improve comments.
d1209685 2269 (demangle_template_param): Don't handle template arg lists here.
d01ce591
AS
2270 (demangle_substitution): Remove parameter.
2271 (print_usage): Remove extra fprintf option.
2272
2f59c8eb
GM
22732000-08-24 Greg McGary <greg@mcgary.org>
2274
2275 * libiberty/random.c (end_ptr): Revert previous change.
2276
2f26c11d
GM
22772000-08-24 Greg McGary <greg@mcgary.org>
2278
2279 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
2280 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
2281 * libiberty/random.c (end_ptr): Likewise.
2282
e282c9c9
AS
22832000-08-23 Alex Samuel <samuel@codesourcery.com>
2284
2285 * cp-demangle.c (result_close_template_list): Remove function.
2286 (result_add_separated_char): New function.
2287 (result_open_template_list): New macro.
2288 (result_close_template_list): Likewise.
2289 (demangle_prefix): Don't set template_p if the
2290 prefix ends with a ctor name.
2291 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
2292 (demangle_type): Check for template args after substitution.
2293 (demangle_template_args): Use result_open_template_list.
d1209685 2294
c9b6494a
ZW
22952000-08-02 Zack Weinberg <zack@wolery.cumb.org>
2296
2297 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
2298
d1209685 22992000-07-26 Dave Pitts <dpitts@cozx.com>
4f21e377
DP
2300
2301 * config/mh-openedition.h: Added -DLE370 definition.
2302
0aab2795
ME
23032000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
2304
2305 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
2306 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
2307 Cast program to 'char *' in errmsg_arg assignment.
2308 (PWAIT_ERROR): Define.
2309 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
2310 to DJGPP's WIF* macros.
2311
c2f275e4
RB
23122000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
2313 Jeff Law <law@cygnus.com>
2314
73aa9564
RB
2315 * getcwd.c: Include string.h, stdlib.h for prototypes
2316
c2f275e4 2317 * Makefile.in (rename.o, waitpid.o): Depend on config.h
73aa9564
RB
2318 * rename.c: Include config.h, unistd.h
2319 * waitpid.c: Include config.h, sys/wait.h
c2f275e4 2320
ccbc3eb7
HPN
23212000-07-24 Hans-Peter Nilsson <hp@axis.com>
2322
2323 * cplus-dem.c (work_stuff_copy_to_from): New.
2324 (delete_non_B_K_work_stuff): New.
2325 (delete_work_stuff): New.
2326 (mop_up): Break out work_stuff partly destruction to
2327 delete_non_B_K_work_stuff.
2328 (iterate_demangle_function): New.
2329 (demangle_prefix): Call iterate_demangle_function instead of
2330 demangle_function_name. Leave handling of name-signature
2331 __-delimiters to iterate_demangle_function.
2332 (demangle_integral_value): Strip an optional
2333 following underscore cautiously. Handle negative numbers.
2334
3388651c
DB
23352000-07-24 Daniel Berlin <dberlin@redhat.com>
2336
d1209685 2337 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3388651c
DB
2338 if (AUTO_DEMANGLING || GNU_DEMANGLING)
2339
0fac482e
AS
23402000-07-21 Alex Samuel <samuel@codesourcery.com>
2341
2342 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
2343 allocating ctor mangling.
2344 (demangle_array_type): Handle empty and non-constant array length.
2345
8502a100 23462000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
cd447360
MS
2347 Jeff Law <law@cygnus.com>
2348
c6451ce1
MS
2349 * configure.in (AC_CHECK_HEADERS): Add time.h.
2350 (AC_HEADER_TIME): Add check.
2351 * configure, config.in: Regenerate.
2352 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
2353
cd447360
MS
2354 * configure.in (AC_CHECK_HEADERS): Add limits.h.
2355 * configure, config.in: Regenerate.
2356 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
2357 * strtol.c, strtoul.c: #include "config.h". Portably #include
2358 <limits.h> and/or <sys/param.h>.
2359 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
8502a100 2360
3b58c099
MS
2361 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
2362 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
2363 * configure, config.in: Regenerate.
2364 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
2365
8502a100
MS
2366 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
2367
da0c7743
MS
23682000-07-21 Mike Stump <mrs@wrs.com>
2369
2370 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
0c978c46 2371 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
da0c7743 2372
838f8562
KG
23732000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2374
2375 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
2376
2377 * setenv.c (setenv): Initialize variable `ep'.
2378
2379 * sigsetmask.c (abort): Prototype.
2380
2381 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
2382 __STDC__ for stdarg.h include.
2383 (int_vasprintf): Prototype.
2384 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
2385 definition. Cast `global_total_width' in comparison.
2386 (main): Prototype. Return a value.
2387
2388 * vfork.c (fork): Prototype.
2389
2390 * xexit.c: Include config.h.
2391
e9958132
JM
23922000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
2393
2394 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
2395 and print it with %u.
2396
39a6492f
HPN
23972000-07-17 Hans-Peter Nilsson <hp@axis.com>
2398
2399 * testsuite/regress-demangle (failed test): Show result and
2400 expected output.
2401
6d0be369
AH
24022000-07-07 Andrew Haley <aph@cygnus.com>
2403
2404 * cplus-dem.c (main): fflush() after emitting last char before
2405 waiting for input.
2406
bece74bd
AS
24072000-06-28 Alex Samuel <samuel@codesourcery.com>
2408
2409 * cp-demangle.c (demangle_encoding): Accept no substitutions.
2410 (demangle_name): Handle <substitution> followed by
2411 <unqualified-template-name>.
2412 (demangle_type): Follow special substitutions with
2413 <class-enum-type>
2414 (demangle_subtitution): Set template_p for special substitutions.
2415 (main): Fix typos.
d1209685 2416
229b8ec7
AS
24172000-06-27 Alex Samuel <samuel@codesourcery.com>
2418
2419 * cp-demangle.c (demangle_special_name): Swap base and derived
2420 class when demangling construction vtables.
2421
051664b0
AS
24222000-06-21 Alex Samuel <samuel@codesourcery.com>
2423
2424 * cp-demangle.c: Don't include ctype.h.
2425 (IS_DIGIT): New macro.
2426 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
2427 instead of isdigit and isalpanum.
2428 (demangling_def): Make name and next const pointers.
2429 (STATUS_ALLOCATION_FAILED): New status code.
2430 (dyn_string_append_space): Handle failure in
2431 dyn_string_append_char.
2432 (int_to_dyn_string): Likewise. Change return value to status_t.
2433 (string_list_new): Handle failure of dyn_string_init.
2434 (result_close_template_list): Change return type to status_t.
2435 Handle failure in dyn_string_append.
2436 (result_push): Change return value to status_t. Handle failure in
2437 string_list_new. Handle failure of result_push throughout.
2438 (substitution_add): Change return value to status_t. Handle
2439 dyn_string failures. Handle failure of substitution_add
2440 throughout.
2441 (template_arg_list_new): Return NULL on allocation failure.
2442 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
2443 Handle error result throughout.
2444 (result_append): Likewise.
2445 (result_append_char): Likewise.
2446 (result_append_space): Likewise.
2447 (demangling_new): Make argument a const pointer. Handle
2448 allocation failures.
2449 (demangle_template_args): Handle failure in template_arg_list_new
2450 and result_close_template_list.
2451 (demangle_discriminator): Return if int_to_dyn_string fails.
2452 (cp_demangle): Likewise.
2453 (cp_demangle_type): New function.
2454 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
2455 memory allocation failure.
2456 (main): Likewise.
2457 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
2458 IN_LIBGCC2.
2459 (dyn_string_init): Change return value to int. Handle
2460 RETURN_ON_ALLOCATION_FAILURE case.
2461 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
2462 (dyn_string_release): Delete the dyn_string.
2463 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
2464 (dyn_string_copy): Change return type to int.
2465 (dyn_string_copy_cstr): Likewise.
2466 (dyn_string_prepend): Likewise.
2467 (dyn_string_prepend_cstr): Likewise.
2468 (dyn_string_insert): Likewise.
2469 (dyn_string_insert_cstr): Likewise.
2470 (dyn_string_append): Likewise.
2471 (dyn_string_append_cstr): Likewise.
2472 (dyn_string_append_char): Likewise.
2473 (dyn_string_substring): Likewise.
d1209685 2474
fe06b696
ZW
24752000-06-09 Zack Weinberg <zack@wolery.cumb.org>
2476
2477 * cp-demangle.c (demangle_operator_name): Add spaces before
2478 names beginning with a letter: delete, delete[], new, new[],
2479 sizeof.
2480 (demangle_special_name): Handle TF <type> and TJ <type>.
2481
6223e158
PDM
2482Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
2483
2484 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
2485
48f3e29b
PDM
2486Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
2487
2488 * cp-demangle.c (stdio.h): File included unconditionaly.
2489 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
2490 * dyn-string.c (stdio.h): File included.
2491 * partition.c (partition_print): No `&' needed to take the address of
2492 a function.
2493
69197e7e
KG
24942000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2495
2496 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
d1209685 2497
69197e7e
KG
2498 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
2499
2500 * cp-demangle.c (demangle_char): Change parameter from char to int.
2501 (demangle_expression, demangle_expr_primary): Remove extra
2502 semi-colon in prototype.
2503
2504 * dyn-string.c (dyn_string_append_char): Change parameter from
2505 char to int.
2506
2507 * memcmp.c (memcmp): Constify.
2508
2509 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
2510 __extension__.
2511
2512 * partition.c (elem_compare): Prototype. Don't cast away
2513 const-ness.
2514
2515 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
d1209685 2516
7eb23b1f
KG
25172000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2518
2519 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
2520
2521 * cp-demangle.c: Include demangle.h.
2522 (template_arg_list_new): DeANSIfy.
2523 (cp_demangle): Make static and add prototype.
2524 (operator_code, operators): Constify.
2525 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
2526
3faa108c
AS
25272000-06-05 Alex Samuel <samuel@codesourcery.com>
2528
2529 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
2530 unsigned char.
2531 (demangle_unqualified_name): Likewise.
2532 (demangle_number_literally): Likewise.
2533 (demangle_type): Likewise.
2534 (demangle_substitution): Likewise.
2535 (is_mangled_char): Likewise, for isalnum.
2536
69afa80d
AS
25372000-06-04 Alex Samuel <samuel@codesourcery.com>
2538
2539 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
2540 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
2541 (cp-demangle.o): New dependency.
2542 (dyn-string.o): Likewise.
2543
2544 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
2545
2546 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
2547 demangler.
2548 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
2549 demangling mode.
2550 (gnu_new_abi_symbol_characters): New function.
2551 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
2552 file.
2553 * cp-demangle.c: New file.
d1209685 2554
0b72c3df
AC
2555Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
2556
2557 * floatformat.c: Add name to each floatformat field.
2558
270cea06
JL
2559Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
2560
2561 * Makefile.in (objalloc.o): Depend on config.h
2562
d11ec6f0
ZW
25632000-05-29 Zack Weinberg <zack@wolery.cumb.org>
2564
2565 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
2566 if HAVE_STRING_H.
2567 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
2568 * objalloc.c: Include config.h. Include stdlib.h and don't
2569 declare malloc or free if HAVE_STDLIB_H.
2570 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
2571 else declare malloc without prototype. Include string.h if
2572 HAVE_STRING_H, else declare memset without prototype. Don't
2573 include stddef.h.
2574
f8e2da56
MS
25752000-05-23 Mike Stump <mrs@wrs.com>
2576
2577 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
c4b9cfe0 2578 -j3.
f8e2da56 2579
650f3068
DA
25802000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2581
2582 * xmalloc.c: Include config.h for HAVE_SBRK definition.
2583
1d2da2e1
HB
25842000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
2585
d1209685 2586 * hashtab.c (hash_pointer): Delete low-order bits which are
1d2da2e1
HB
2587 probably zero, also eliminate a warning on alpha.
2588
47668d0a
DE
25892000-05-15 David Edelsohn <edelsohn@gnu.org>
2590
c7a79a32 2591 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
2592 on $(enable_shared).
2593
36348eab
JJ
25942000-05-10 Jakub Jelinek <jakub@redhat.com>
2595
2596 * config.table: Use mh-sparcpic for sparc*-*-*.
2597
209bbe34
NC
25982000-05-08 Nick Clifton <nickc@cygnus.com>
2599
2600 * Makefile.in (CFILES): Add strncmp.c.
2601 (NEEDED): Add strncmp.
2602
a85a47fb
KG
26032000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2604
2605 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
2606 Cast the arguments to `islower' to `unsigned char'.
2607 (print_demangler_list): Prototype.
2608
4aef973c
PDM
2609Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
2610
2611 * sort.c (UCHAR_MAX): Provide fallback definition.
2612
3b94497c
AO
26132000-04-29 Alexandre Oliva <aoliva@cygnus.com>
2614
2615 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
2616 SUBDIRS.
2617
24eaa47a
KB
26182000-04-28 Kenneth Block <block@zk3.dec.com>
2619 Jason Merrill <jason@casey.cygnus.com>
2620
d1209685
ZW
2621 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
2622 (cplus_demangle_set_style): New function for setting style.
2623 (cplus_demangle_name_to_style): New function to translate name.
24eaa47a 2624
a9266bfa
KG
26252000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2626
2627 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
2628
2629 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
2630 (libiberty_AC_FUNC_STRNCMP): Invoke.
2631
2632 * strncmp.c: New file.
2633
8e02c4d0
JH
2634Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
2635
2636 * hashtab.c (htab_expand): Add prototype.
2637 (find_empty_slot_for_expand): Likewise.
2638
4feeaae3
KG
26392000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2640
2641 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
2642 match prototype.
2643 (htab_expand): Cast the return value of xcalloc.
2644
18a94a2f
MM
26452000-04-24 Mark Mitchell <mark@codesourcery.com>
2646
2647 * hashtab.c (hash_pointer): New function.
2648 (eq_pointer): Likewise.
2649 (htab_hash_pointer): New variable.
2650 (htab_eq_pointer): Likewise.
2651
eeb0656f
MM
26522000-04-23 Mark Mitchell <mark@codesourcery.com>
2653
b51024fc
MM
2654 * sort.c (sort_pointers): Fix endianness bugs.
2655
eeb0656f
MM
2656 * sort.c: New file.
2657 * Makefile.in (CFILES): Add sort.c
2658 (REQUIRED_OFILES): Add sort.o.
2659 (sort.o): New target.
2660
7277f72d
MS
26612000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2662
2663 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
2664 4.3BSD systems.
2665
e38992e8
RK
2666Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2667
2668 * hashtab.c: Various minor cleanups.
2669 (htab_find_slot_with_hash): INSERT is now enum insert_option.
2670 (htab_find_slot): Likewise.
2671
498e1ab1
DP
26722000-04-16 Dave Pitts <dpitts@cozx.com>
2673
2674 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
d1209685 2675
dc17cc7b
RH
26762000-04-05 Richard Henderson <rth@cygnus.com>
2677
2678 * splay-tree.c (splay_tree_remove): New.
2679
b13eb66b
MM
26802000-03-30 Mark Mitchell <mark@codesourcery.com>
2681
2682 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
2683 codes.
2684 (htab_find_with_hash): Likewise.
2685 (htab_find_slot_with_hash): Likewise.
d1209685 2686
0194e877
ZW
26872000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2688
2689 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
2690 unless it will be used. Rearrange loop for better
2691 optimization.
2692 (higher_prime_number): Add static prototype.
2693
abc61fd4
JL
2694Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
2695
2696 * Makefile.in (partition.o): Depend on config.h
2697
8c5d513f
BS
26982000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
2699
2700 * hashtab.c (find_empty_slot_for_expand): New function.
2701 (htab_expand): Use it instead of htab_find_slot.
2702 (htab_find_with_hash): Renamed from htab_find; now accepts extra
2703 argument HASH.
2704 (htab_find_slot_with_hash): Likewise for htab_find_slot.
2705 (htab_find): New wrapper function.
2706 (htab_find_slot): Likewise.
2707 (htab_traverse): Pass slot, not entry, to called function.
2708
d9d4fb43
AS
27092000-03-09 Alex Samuel <samuel@codesourcery.com>
2710
2711 * Makefile.in (CFILES): Add partition.c.
2712 (REQUIRED_OFILES): Add partition.o.
2713 (partition.o): New rule.
2714 * partition.c: New file.
d1209685 2715
5dc9cffd
ZW
27162000-03-09 Zack Weinberg <zack@wolery.cumb.org>
2717
2718 * hashtab.c (htab_create): Set del_f.
2719 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
2720 Use it.
2721
5194cf08
ZW
27222000-03-08 Zack Weinberg <zack@wolery.cumb.org>
2723
2724 * hashtab.c: Remove debugging variables (all_searches,
2725 all_collisions, all_expansions). Delete
2726 all_hash_table_collisions.
2727 (create_hash_table, delete_hash_table, empty_hash_table,
2728 find_hash_table_entry, remove_element_from_hash_table_entry,
2729 clear_hash_table_slot, traverse_hash_table, hash_table_size,
2730 hash_table_elements_number, hash_table_collisions): Rename to:
2731 htab_create, htab_delete, htab_empty, htab_find_slot,
2732 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
2733 htab_elements, htab_collisions.
2734 (htab_find): New function, handles common case where you don't
2735 plan to add or delete an entry.
2736 (htab_expand): Don't create a whole new table, just a new
2737 entry vector.
2738 (htab_find_slot): Simplify logic.
2739
5ad5a984
ILT
27401999-08-03 Ian Lance Taylor <ian@zembu.com>
2741
2742 * floatformat.c: Add casts to avoid signed/unsigned warnings.
2743 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
2744
2745 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
2746 $(TARGETLIB)n so it works on MSDOS.
2747 (install_to_tooldir): Likewise.
2748
27491999-07-21 Ian Lance Taylor <ian@zembu.com>
2750
2751 From Mark Elbrecht:
2752 * makefile.dos: Remove; obsolete.
2753 * configure.bat: Remove; obsolete.
2754
27551999-07-11 Ian Lance Taylor <ian@zembu.com>
2756
2757 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2758 warning.
2759
aeecce42
MK
27602000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
2761
2762 * pexecute.c: Conditionally include string.h.
5194cf08 2763 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 2764
1eaf7d9c
KG
27652000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2766
2767 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
2768 we're using gcc.
2769
2770 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
2771
0fadedb2
GK
27721999-12-27 Geoff Keating <geoffk@cygnus.com>
2773
2774 * vasprintf.c (int_vasprintf): Don't re-read the format character
2775 as this mishandles strings like '%%s'.
2776
08230f26
MM
27771999-12-05 Mark Mitchell <mark@codesourcery.com>
2778
2779 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
2780 rather than struct splay_tree_node.
2781 (splay_tree_insert): Use struct splay_tree_s rather than struct
2782 splay_tree.
2783
6de9b8ff
PDM
2784Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
2785
2786 * hashtab.c (sys/types.h): File included.
2787
f3636679
JM
27881999-11-22 Jason Merrill <jason@casey.cygnus.com>
2789
2790 * strtoul.c, strtol.c, random.c: Remove advertising clause from
2791 BSD license, pursuant with
2792
2793 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
2794
36dd3a44
JL
2795Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
2796
2797 * hashtab.c: Include stdio.h.
2798
6e300472
JL
2799Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
2800
2801 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
2802
df548dfc
PDM
2803Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
2804
2805 * xstrdup (sys/types.h): Include this file.
2806
2c375143
NS
28071999-10-28 Nathan Sidwell <nathan@acm.org>
2808
2809 * Makefile.in (SUBDIRS): New macro.
2810 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
2811 avoid multiple subdirectory cleaning.
2812 (*-subdir): Use SUBDIRS.
2813
a82cecda
JK
28141999-10-25 Jim Kingdon <http://developer.redhat.com/>
2815
2816 * cplus-dem.c: Move declarations of standard_symbol_characters and
2817 hp_symbol_characters inside #ifdef MAIN to avoid compiler
2818 warnings.
2819
ed38f5d5
ZW
28201999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
2821
2822 * hashtab.c (find_hash_table_entry): When returning a
2823 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
2824 (clear_hash_table_slot): New function which deletes an entry
2825 by its position in the table, not its value.
2826 (traverse_hash_table): New function which calls a hook
2827 function for every live entry in the table.
2828
b60fe4a7
MM
28291999-10-19 Mark Mitchell <mark@codesourcery.com>
2830
2831 * cplus-dem.c (INTBUF_SIZE): New macro.
2832 (string_append_template_idx): New function.
2833 (demangle_expression): Likewise.
2834 (demangle_integral_value): Use it.
2835 (demangle_real_value): New function, split out from ...
2836 (demangle_template_value_parm): ... here. Use
2837 string_append_template_idx. Use demangle_real_value.
2838 (demangle_template): Use string_append_template_idx.
2839 (demangle_qualified): Use consume_count_with_underscores.
2840 (get_count): Tweak formatting.
2841 (do_type): Use string_append_template_idx.
5194cf08 2842
3da5522a
KG
28431999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2844
2845 * calloc.c: Add a public domain notice.
2846
d7d36ea8
PDM
2847Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
2848
2849 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
2850
a2f945c6
VM
2851Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
2852
2853 * Makefile.in (CFILES): Add hashtab.c
2854 (REQUIRED_OFILES): Add hashtab.o
2855 (hashtab.o): Add dependencies.
2856 * hashtab.c: New file
2857
7f22ec2e
MK
2858Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
2859
2860 * basename.c (DIR_SEPARATOR): New macro.
2861 (DIR_SEPARATOR_2): Likewise.
2862 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
2863 (IS_DIR_SEPARATOR): Likewise.
2864 (main): Handle MSDOS style pathname.
2865
7c56a6ce
MM
28661999-10-11 Mark Mitchell <mark@codesourcery.com>
2867
2868 * cplus-dem.c (do_type): Handle pointer to member types whose
2869 enclosing classes have namespace scope.
2870
cd32188b
ME
2871Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
2872
2873 * config.table: Provide a backup shell for executing move-if-change.
2874
fc232f7a
MM
28751999-10-02 Mark Mitchell <mark@codesourcery.com>
2876
2877 * xmalloc.c (xmalloc): Fix spelling error.
2878 (xcalloc, xrealloc): Likewise.
2879
2a138827
KG
28801999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2881
2882 * cplus-dem.c (fancy_abort, demangle_integral_value,
2883 demangle_arm_hp_template, recursively_demangle,
2884 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
2885 (program_name, program_version, fatal): Constify a char*.
2886 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
2887 (main): Call return, not exit.
2888
5a657fc3
KG
28891999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2890
2891 * choose-temp.c: Remove obsolete comment about gcc.
2892 (make_temp_file): Constify a char*.
2893
33c5ddcd
KG
2894Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2895
2896 * xmemdup.c: Include sys/types.h.
2897
b10647f1
JG
28981999-09-07 Jeff Garzik <jgarzik@pobox.com>
2899
2900 * xmemdup.c: New xmemdup function.
2901 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
2902
3dd6c3af
LV
2903Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
2904
5194cf08 2905 * config.table: Add openedition target.
3dd6c3af
LV
2906 * config/mh-openedition: New file.
2907
19e28e2a
ME
2908Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
2909
2910 * pexecute.c (pexecute): Fill in temp_base when needed.
2911
4dfeccf9
RH
29121999-08-31 Richard Henderson <rth@cygnus.com>
2913
2914 * getpwd.c: Check HAVE_GETCWD before defining it away.
2915
4ac3cb83
KG
29161999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2917
2918 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
2919 (REQUIRED_OFILES): Add getpwd.o.
2920 (getpwd.o): Add target.
2921
2922 * configure.in (AC_PREREQ): Bump to 2.13.
2923 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
2924
2925 * getpwd.c: New file, moved here from gcc.
2926
e797ff70
KG
29271999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2928
2929 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
2930 comparing against a signed quantity.
2931 (arm_special): Likewise.
2932 (demangle_fund_type): Likewise.
2933 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 2934 ATTRIBUTE_UNUSED.
e797ff70
KG
2935 (main): Constify variable `valid_symbols'.
2936
55247fce
PDM
2937Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
2938
2939 * strtoul.c (strtoul): Add parentheses around && within ||.
2940
76632dd0
DJ
2941Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2942
2943 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2944 libdir, libsubdir and tooldir.
2945
d080bbfa
MM
29461999-08-01 Mark Mitchell <mark@codesourcery.com>
2947
2948 * splay-tree.c (splay_tree_insert): Return the new node.
2949
a81c752a
RH
29501999-07-14 Richard Henderson <rth@cygnus.com>
2951
5194cf08 2952 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
2953 prototyping directly.
2954 * choose-temp.c: Conditionally include string.h.
2955
8f1824d9
JM
29561999-07-12 Jason Merrill <jason@yorick.cygnus.com>
2957
2958 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
2959
652374d3
ILT
29601999-07-11 Ian Lance Taylor <ian@zembu.com>
2961
2962 * splay-tree.c (splay_tree_insert): Add initialization to avoid
2963 warning.
2964
a4494286
JM
29651999-07-07 Jason Merrill <jason@yorick.cygnus.com>
2966
2967 * Makefile.in (needed-list): Only include stuff we actually need
2968 for libstdc++.
2969
90e72e20
AS
29701999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2971
2972 * configure.in (checkfuncs): Add gettimeofday.
2973 * config.in, configure: Regenerated.
2974
b569200e
MK
2975Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
2976
2977 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
2978 the test fails.
2979 * configure: Regenerate.
2980
73919448
MS
29811999-06-10 Mike Stump <mrs@wrs.com>
2982
2983 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
2984 parallel builds.
2985
fee9125c
KG
29861999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2987
2988 * putenv.c: Include ansidecl.h to define `const'.
2989 * setenv.c: Likewise.
2990
71cce721
MN
2991Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
2992
a7c9637f
JL
2993 * Makefile.in (CFILES): Add putenv.c and setenv.c.
2994 * configure.in (funcs): Add putenv and setenv.
2995 (AC_CHECK_FUNCS): Check for putenv and setenv.
2996 * configure: Rebuilt.
2997 * putenv.c setenv.c: New files.
2998
71cce721
MN
2999 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
3000 bytes of space using malloc.
3001
53504016
SG
3002Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
3003
3004 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
3005 the *mangled pointer beyond the end of the string. Clean up code to
3006 match prevailing coding style.
3007
34842539
MH
30081999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3009
3010 * tmpnam.c (L_tmpnam): Fix typo.
3011
3a08531d
ME
3012Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
3013
3014 * cplus-dem.c (standard_symbol_characters): Renamed from
3015 standard_symbol_alphabet. No longer modify TABLE.
3016 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
3017 modify TABLE.
3018 (main): Corresponding changes. Use strchr to determine if a
3019 character is valid.
3020
8db9d08b
JB
30211999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
3022
3023 * cplus-dem.c (main): Use table lookup to distinguish identifier
3024 characters from non-identifier characters.
3025 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
3026
6a071f4a
FF
3027Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
3028
3029 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
3030 * getruntime.c: Only attempt to include sys/resource.h and
3031 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
3032 are defined.
3033
7dd88617
DT
3034Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
3035
3036 * configure.in (alloca detection): Handle alloca directly for interix.
3037 * configure: Rebuilt.
3038
7a1528bc
MK
3039Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
3040
3041 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
3042
76409268
JB
30431999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
3044
3045 Fix from Dale Hawkins:
5194cf08 3046 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
3047 reallocated properly if we use it again.
3048
3049 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
3050 stricter about syntax. Always null-terminate string.
3051
acbbd80a
MK
3052Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
3053
3054 * configure.in (checkfuncs): Check for sbrk.
3055 * config.in: Rebuilt.
3056 * configure: Likewise.
3057 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
3058
92523551
JB
30591999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
3060
3061 Fix from Marcus Daniels:
3062 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
3063 identifier looking for another underscore.
3064
36eb4217
MK
3065Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
3066
3067 * pexecute.c: Change all references to __UWIN__ to _UWIN.
3068 * xmalloc.c: Likewise.
3069 (xcalloc): UWIN has sbrk.
3070 (xrealloc): Fix guard macro.
3071
2c45d1a0
RH
30721999-04-11 Richard Henderson <rth@cygnus.com>
3073
3074 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
3075 or <alloca.h>.
3076 * clock.c (GNU_HZ): New definition.
3077 (clock): Use it.
3078 * getruntime.c: Likewise.
3079
3080 * config.table: Use mh-beos.
3081 * config/mh-beos: New file.
3082
391cdef0
MM
30831999-04-11 Mark Mitchell <mark@codesourcery.com>
3084
3085 * cplus-dem.c (demangle_template_value_parm): Handle
3086 pointers-to-members.
3087 (do_type): Handle template parameters as qualifiers.
3088
9d229989
JB
30891999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
3090
3091 * cplus-dem.c: Attempt to handle overflows in counts with some
3092 semblance of grace.
3093 (consume_count): Detect overflows. Return -1 to indicate errors,
3094 instead of zero.
3095 (demangle_template_value_parm, demangle_template): Handle change
3096 to consume_count's return convention.
3097
7c72138a
TT
30981999-04-05 Tom Tromey <tromey@cygnus.com>
3099
3100 * testsuite/regress-demangle: New file.
3101 * testsuite/demangle-expected: New file.
3102
3103 * Makefile.in (all, check, installcheck, info, install-info,
3104 clean-info, dvi, install, etags, tags, mostlyclean, clean,
3105 distclean, maintainer-clean, realclean): Depend on corresponding
3106 `-subdir' target.
3107 (all-subdir check-subdir installcheck-subdir info-subdir
3108 install-info-subdir clean-info-subdir dvi-subdir
3109 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
3110 distclean-subdir maintainer-clean-subdir): New target.
3111 * testsuite/Makefile.in: New file.
3112 * configure: Rebuilt.
3113 * configure.in: Create testsuite/Makefile.
3114
ae7f7270
MM
31151999-04-02 Mark Mitchell <mark@codesourcery.com>
3116
3117 * splay-tree.h (splay_tree_compare_pointers): Define.
3118
30f72379
MM
31191999-03-30 Mark Mitchell <mark@codesourcery.com>
3120
3121 * splay-tree.c (splay_tree_compare_ints): Define.
3122
4cc48683
TT
31231999-03-30 Tom Tromey <tromey@cygnus.com>
3124
3125 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
3126 don't advance input pointer.
3127 (demangle_class_name): If consume_count didn't find a count, do
3128 nothing. Don't bother with `strlen' sanity check; consume_count
3129 does it for us.
3130
3510075c
JL
31311999-03-16 Stan Shebs <shebs@andros.cygnus.com>
3132
3133 From Art Haas <ahaas@neosoft.com>:
3134 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
3135 when doing arm or hp style.
3136 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 3137
89f602a7
MK
3138Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
3139
3140 * pexecute.c (__CYGWIN32__): Rename to
3141 (__CYGWIN__): this.
3142 * xmalloc.c: Likewise.
3143
3144 Changes to support i386-pc-uwin.
3145 * configure.in (*-*-uwin*): Workaround for vfork bug.
3146 * configure: Regenerate.
3147 * pexecute.c (pexecute): Be like standard Unix.
3148 (pwait): Likewise.
3149 * xmalloc.c (first_break): Define.
3150 (xmalloc_set_program_name): Use.
3151 (xmalloc): Use.
3152
9346c824
FS
3153Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3154
3155 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
3156
3510075c
JL
3157Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
3158
3159 * config.table: Check cygwin*, not cygwin32*.
3160
8ec65f13
DB
3161Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
3162
3163 * Makefile.in: Change mkstemp -> mkstemps.
3164
687361c8
ME
3165Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
3166
3167 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
3168 * configure.in (funcs): Check for and conditionally add mkstemps to
3169 the list of functions libiberty will provide.
3170 * configure: Rebuilt.
5194cf08 3171
b207e09c
MK
3172Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
3173
5194cf08 3174 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
3175 platforms that don't have HZ.
3176 * getruntime.c (HZ): Likewise.
3177
16b4c15e
RH
3178Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
3179
3180 * Makefile.in (xstrdup.o): Depend on config.h.
3181
38beb75c
UD
3182Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
3183
3184 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
3185 freeing it.
3186
7e4311a3
KG
3187Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3188
3189 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
3190
3510075c
JL
3191Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3192
3193 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
3194 splay-tree.o.
3195
31961999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
3197
3198 * configure.in: Require autoconf 2.12.1 or higher.
3199
fb9939b8
MM
32001998-12-30 Michael Meissner <meissner@cygnus.com>
3201
3202 * random.c (NULL): Don't redefine NULL if it is already defined.
3203
087aa398
KG
3204Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3205
3206 * argv.c (buildargv): Cast the result of alloca in assignment.
3207
3208 * choose-temp.c: Include stdlib.h.
38beb75c 3209
087aa398 3210 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
c4b9cfe0
AJ
3211 (snarf_numeric_literal): Constify first parameter.
3212 (code_for_qualifier): Avoid a gcc extension, make the parameter an
3213 int, not a char.
087aa398
KG
3214 (demangle_qualifier): Likewise.
3215 (demangle_signature): Cast the argument of a ctype function to
3216 unsigned char.
3217 (arm_pt): Add parens around assignment used as truth value.
3218 (demangle_arm_hp_template): Constify variable `args'.
3219 (do_hpacc_template_const_value): Cast the argument of a ctype
3220 function to unsigned char.
3221 (do_hpacc_template_literal): Remove unused variable `i'.
3222 (snarf_numeric_literal): Constify parameter `args'.
3223 Cast the argument of a ctype function to unsigned char.
3224
3225 * floatformat.c (floatformat_to_double): Add explicit braces to
c4b9cfe0 3226 avoid ambiguous `else'.
38beb75c 3227
087aa398 3228 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
c4b9cfe0
AJ
3229 `cstart' and `cend' to unsigned char. Cast the argument of macro
3230 `FOLD', which uses ctype functions, to unsigned char.
087aa398
KG
3231
3232 * objalloc.c (free): Add prototype.
3233
21f2174d
HPN
3234Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
3235
3236 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
3237
3510075c
JL
3238Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
3239
3240 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
c4b9cfe0 3241 doesn't exist.
3510075c 3242 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 3243
e8fc8222
AM
3244Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
3245
3246 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
3247 bumping the pointer we read from. Also prepend these codes,
3248 as we do in other places.
3249
3510075c
JL
32501998-12-18 Nick Clifton <nickc@cygnus.com>
3251
3252 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
3253 'const char *' in order to match its usage when calling siblings.
3254 (snarf_numeric_literal): Make first arg 'const char **' in order
3255 to match usage.
11a0bb74 3256
f4f30aa1
JL
3257Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3258
11a0bb74
KG
3259 * choose-temp.c: Don't check IN_GCC anymore.
3260
3261 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
3262 * memchr.c (memchr): Likewise.
3263 * memcpy.c (memcpy): Likewise.
3264 * memmove.c (memmove): Likewise.
38beb75c 3265
11a0bb74
KG
3266 * mkstemp.c: Don't check IN_GCC anymore.
3267 * pexecute.c: Likewise.
3268 * splay-tree.c: Likewise.
38beb75c 3269
11a0bb74
KG
3270 * strchr.c (strchr): Use `const', not `CONST'.
3271 * strrchr.c (strrchr): Likewise.
3272 * strtol.c (strtol): Likewise.
3273 * strtoul.c (strtoul): Likewise.
3274
70d5ccef
DT
3275Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
3276 Elena Zannoni <ezannoni@cygnus.com>
3277 Stan Shebs <shebs@cygnus.com>
3278 Edith Epstein <eepstein@cygnus.com>
3279 Andres MacLeod <amacleod@cygnus.com>
3280 Satish Pai <pai@apollo.hp.com>
3281
3282 * HP aCC demangling support.
3283 * cplus-dem.c
3284 (main): Remove default to HP style demangling, set to EDG
c4b9cfe0
AJ
3285 demangling correctly when -edg specified; set the demangling style
3286 when user specifies 'edg'. Set strip_underscore to
3287 prepends_underscore, if not HPUXHPPA. Set
3288 current_demangling_style to hp_demangling if HPUXHPPA. Set
3289 current demangling style correctly if the switch is hp. Read
3290 label correctly also in the HP style case.
70d5ccef 3291 (work_stuff): add temp_start field; add field for volatile member
c4b9cfe0 3292 function.
70d5ccef 3293 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
c4b9cfe0 3294 style for this case is the same as ARM.
70d5ccef
DT
3295 (demangle_args): handle EDG_DEMANGLING style; support HP style.
3296 (demangle_arm_hp_template): new function. (It was
c4b9cfe0
AJ
3297 demangle_arm_pt.); check and set value of temp_start field in
3298 multiple places. Also, when ceching for end of template args,
3299 check to see if at end of static member of template class.
70d5ccef 3300 (demangle_class): new local variable : save_class_name_end Don't
c4b9cfe0 3301 include template args in string defining class.
70d5ccef
DT
3302 (demangle_class_name): use demangel_arm_hp_template.
3303 (demangle_function_name): handle case where demangling style is
c4b9cfe0
AJ
3304 HP_DEMANGLING and currently point at an 'X' in the mangled name.
3305 Handle EDG_DEMANGLING style. Handle constructor and destructor
3306 ops for HP style.
70d5ccef 3307 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
c4b9cfe0
AJ
3308 styles. global destructor and constructor for HP style are same
3309 as for ARM style. Same for local variables.
70d5ccef
DT
3310 (demangle_qualified): handle EDG_DEMANGLING style.
3311 (demangle_signature): add case for volatile member function. For
c4b9cfe0
AJ
3312 cases '1' - '9' : initialize the temp_start field to -1 and handle
3313 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
3314 and AUTO_DEMANGLING styles. If expecting a function and managed
3315 to demangle the funct args, then handle the LUCID_DEMANGLING,
3316 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
3317 class name after "Lnnn_ in HP style case. HP style too needs to
3318 forget types. _nnn is OK for HP style, so don't report failure.
70d5ccef 3319 (do_hpacc_template_const_value): new function. Handle template's
c4b9cfe0 3320 value param for HP/aCC.
70d5ccef 3321 (do_hpacc_template_literal): new function. Handle a template's
c4b9cfe0 3322 literal parameter for HP aCC.
70d5ccef
DT
3323 (recursively_demangle): new function
3324 (snarf_numeric_literal): new function.
3325 (usage): add 'edg' to the list of demangling styles; add hp switch
c4b9cfe0 3326 to message.
70d5ccef 3327
8d525fa8
CF
3328Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
3329
3330 * pexecute.c: Remove obsolete ifdefed cygwin code.
3331
9b1a92d8
KG
3332Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3333
3334 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
3335 * cplus-dem.c: Likewise. Conform to libiberty.h.
3336 * pexecute.c: Likewise.
3337 * splay-tree.c: Likewise.
3338
c85c3232
MS
33391998-11-25 Mike Stump <mrs@wrs.com>
3340
3341 * Makefile.in (splay-tree.o): Add config.h dependency.
3342
35a6cd99
KG
3343Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3344
3345 * configure.in: Use AC_PREREQ(2.12.1).
3346
6e6e34b7
BK
33471998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
3348
5194cf08 3349 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 3350
59b67c11
JL
3351Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
3352
3353 * mpw.c (mpw_access): Add missing parens.
3354
a6458d1d
KG
3355Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3356
3357 * configure.in: Call AC_HEADER_SYS_WAIT.
3358
3359 * pexecute.c: Include sys/wait.h when !IN_GCC.
3360
3510075c
JL
3361Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
3362
3363 * pexecute.c: revert back to checking old Cygwin
3364 preprocessor symbol until some time has passed.
3365
3366Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
3367
3368 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
3369 since it will now support similar constructs.
3370
a9acf741
KG
3371Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3372
3373 * configure.in: Check for calloc.
3374
3375 * calloc.c: New file.
3376
3377 * xmalloc.c (xcalloc): New function.
3378
a49fb37a
AM
3379Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
3380
3381 *cplus-dem.c (demangle_prefix): Use the last "__"
3382 in the mangled name when looking for the signature. This allows
3383 template names to begin with "__".
3384
0e714131
MM
33851998-11-08 Mark Mitchell <mark@markmitchell.com>
3386
ec2288ff
MM
3387 * cplus-dem.c (type_kind_t): Add tk_reference.
3388 (demangle_template_value_parm): Handle it.
3389 (do_type): Use it for references, instead of tk_pointer.
3390
0e714131
MM
3391 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
3392 not internal_cplus_demangle.
3393
2931b6d4
KG
3394Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3395
3396 * choose-temp.c: Don't include gansidecl.h.
3397 * mkstemp.c: Likewise.
3398 * pexecute.c: Likewise.
3399
dd8f3ed5
GN
3400Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
3401
5194cf08
ZW
3402 * configure.in: detect cygwin* instead of cygwin32*
3403 * configure: regenerate
dd8f3ed5 3404
c5f7c445
KG
3405Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3406
3407 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
c4b9cfe0
AJ
3408 whether to include config.h. Possibly include unistd.h in the
3409 !IN_GCC case. Define VFORK_STRING as a printable function call
3410 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
3411 defined, include vfork.h. If VMS is defined, define vfork()
3412 appropriately. Remove vfork check on USG, we're using autoconf.
3413 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
3414 locally what string to use.
c5f7c445 3415
ad3ef78e
MM
34161998-10-26 Mark Mitchell <mark@markmitchell.com>
3417
3418 * splay-tree.c: Tweak include directives to make sure declarations of
3419 xmalloc and free are available.
3420
224301c1
MM
34211998-10-25 Mark Mitchell <mark@markmitchell.com>
3422
3423 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
3424 anonymous namespaces.
38beb75c 3425
d9db46fd
MM
34261998-10-23 Mark Mitchell <mark@markmitchell.com>
3427
3428 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
3429 with type_quals.
3430 (TYPE_UNQUALIFIED): New macro.
3431 (TYPE_QUAL_CONST): Likewise.
3432 (TYPE_QUAL_VOLATILE): Likewise.
3433 (TYPE_QUAL_RESTRICT): Likewise.
3434 (code_for_qualifier): New function.
3435 (qualifier_string): Likewise.
3436 (demangle_qualifier): Likewise.
3437 (internal_cplus_demangle): Use them.
3438 (demangle_signature): Likewise.
3439 (demangle_template_value_parm): Likewise.
3440 (do_type): Likewise.
3441 (demangle_fund_type)): Likewise.
224301c1 3442
b056ad1c
KG
3443Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3444
3445 * splay-tree.c (splay_tree_foreach_helper): Make definition static
3446 to match prototype.
3447
ed87f9c8
MM
34481998-10-21 Mark Mitchell <mark@markmitchell.com>
3449
3450 * splay-tree.c: New file.
3451 * Makefile.in (CFILES): Add it.
3452 (REQUIRED_OFILES): Likewise.
3453 (splay-tree.o): Add dependencies.
3454
e0c13971
AS
3455Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3456
3457 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
3458 range of 'K' index.
3459
91e0f659
KG
3460Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3461
3462 * choose-temp.c: Prototype mkstemps() when IN_GCC.
3463
3464 * cplus-dem.c (consume_count): Cast argument of ctype macro to
3465 `unsigned char'.
3466 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
3467 comparing against one.
3468 (cplus_mangle_opname): Likewise.
3469 (demangle_integral_value): Cast argument of ctype macro to
3470 `unsigned char'.
3471 (demangle_template_value_parm): Likewise.
3472 (demangle_template): Initialize variable `bindex'. Cast the
3473 result of `strlen' to (int) when comparing against one. Remove
3474 unused variable `start_of_value_parm'.
3475 (demangle_class_name): Cast the result of `strlen' to (int) when
3476 comparing against one.
3477 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
3478 (gnu_special): Likewise. Cast the result of `strlen' to (int)
3479 when comparing against one.
3480 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
3481 (get_count): Likewise.
3482 (do_type): Likewise. Cast the result of `strlen' to (int) when
3483 comparing against one.
3484 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
3485 (demangle_function_name): Cast the result of `strlen' to (int)
3486 when comparing against one.
3487
3488 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
3489 comparing against one.
3490
73aeb2ff
JL
3491Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
3492
5194cf08
ZW
3493 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
3494 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
3495 * config.in, configure: Rebuilt.
ae76f1be 3496
73aeb2ff
JL
3497 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
3498 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
3499 * config.in, configure: Rebuilt.
3500
dd8f3ed5
GN
3501Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
3502
5194cf08 3503 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 3504
f77d8413
MT
3505Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
3506
3507 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
3508
ca6b370d
JL
3509Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
3510
3511 * Merge egcs & devo libiberty.
3512
ab4856b1
ML
3513