Refactor getting children name, value and type access
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
1 2007-01-12 Ben Elliston <bje@au.ibm.com>
2
3 * pex-unix.c (writeerr): Cast write result to void.
4
5 * choose-temp.c (choose_temp_base): Check the result of the call
6 to mktemp rather than testing the length of the modified string.
7
8 2006-12-20 Geoffrey Keating <geoffk@apple.com>
9
10 * cp-demangle.h: Add comment explaining what to do to avoid
11 overrunning string.
12 (d_check_char): New.
13 (d_next_char): Don't advance past trailing '\0'.
14 * cp-demangle.c (cplus_demangle_mangled_name): Use d_check_char.
15 (d_nested_name): Likewise.
16 (d_special_name): Likewise.
17 (d_call_offset): Likewise.
18 (d_function_type): Likewise.
19 (d_array_type): Likewise.
20 (d_pointer_to_member_type): Likewise.
21 (d_template_param): Likewise.
22 (d_template_args): Likewise.
23 (d_template_arg): Likewise.
24 (d_expr_primary): Likewise.
25 (d_local_name): Likewise.
26 (d_substitution): Likewise.
27 (d_ctor_dtor_name): Use d_advance rather than d_next_char.
28 * testsuite/test-demangle.c: Include sys/mman.h.
29 (MAP_ANONYMOUS): Define.
30 (protect_end): New.
31 (main): Use protect_end.
32 * testsuite/demangle-expected: Add testcases for overrunning
33 the end of the string.
34
35 2006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
36 J"orn Rennecke <joern.rennecke@st.com>
37
38 PR driver/29931
39 * make-relative-prefix.c (make_relative_prefix_1): New function,
40 broken out of make_relative_prefix. Make link resolution dependent
41 on new parameter.
42 (make_relative_prefix): Use make_relative_prefix_1.
43 (make_relative_prefix_ignore_links): New function.
44
45 2006-11-08 Vladimir Prus <vladimir@codesourcery.com>
46
47 * pex-win32.c (no_suffixes): Remove.
48 (std_suffixes): Add "" as first element.
49 (find_executable): Remove detection of already-present
50 extension. Try all suffixes in std_suffixes.
51
52 2006-11-07 Julian Brown <julian@codesourcery.com>
53
54 * floatformat.c (get_field): Fix segfault with little-endian word
55 order on 64-bit hosts.
56 (put_field): Likewise.
57 (min): Move definition.
58
59 2006-10-26 Danny Smith <dannysmith@users.sourceforge.net>
60
61 pex-win32.c (argv_to_cmdline): Replace xmalloc with XNEWVEC.
62 (find_executable): Likewise.
63 (win32_spawn): Cast alloca return to (char**).
64 Replace malloc with XNEWVEC.
65 bcopy.c (bcopy): Add explict casts in assignments.
66
67 2006-10-25 Ben Elliston <bje@au.ibm.com>
68
69 * pexecute.txh: Wrap pexecute's "flag" argument with @var {..}.
70
71 2006-10-10 Brooks Moses <bmoses@stanford.edu>
72
73 * Makefile.in: Added "pdf", "libiberty.pdf" target support.
74 * testsuite/Makefile.in: Added empty "pdf" target.
75
76 2006-09-22 Ian Lance Taylor <ian@airs.com>
77
78 PR other/29176
79 * cp-demangle.c (d_substitution): Check for overflow when
80 computing substitution index.
81
82 2006-08-30 Corinna Vinschen <corinna@vinschen.de>
83
84 * configure.ac: Add case for Mingw as host.
85 * configure: Regenerate.
86
87 2006-08-27 Ian Lance Taylor <ian@airs.com>
88
89 PR driver/27622
90 * pex-common.h (struct pex_funcs): Add toclose parameter to
91 exec_child field.
92 * pex-common.c (pex_run_in_environment): Pass toclose to
93 exec_child.
94 * pex-djgpp.c (pex_djgpp_exec_child): Add toclose parameter.
95 * pex-unix.c (pex_unix_exec_child): Likewise.
96 * pex-msdos.c (pex_msdos_exec_child): Likewise.
97 * pex-win32.c (pex_win32_exec_child): Likewise.
98
99 PR other/28797
100 * cp-demangle.c (d_pointer_to_member_type): Do add a substitution
101 for a qualified member which is not a function.
102 * testsuite/demangle-expected: Add test case.
103
104 2006-07-27 Jan Hubicka <jh@suse.cz>
105
106 PR rtl-optimization/28071
107 * hashtab.c (htab_empty): Clear out n_deleted/n_elements;
108 downsize the hashtable.
109
110 2006-07-04 Peter O'Gorman <peter@pogma.com>
111
112 * Makefile.in: chmod 644 before ranlib during install.
113
114 2006-06-02 Mark Shinwell <shinwell@codesourcery.com>
115
116 * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
117 to environ.
118
119 2006-06-01 Mark Shinwell <shinwell@codesourcery.com>
120
121 * pex-common.c: New function pex_run_in_environment.
122 * pex-common.h: Add environment parameter to exec_child.
123 * pex-msdos.c: Add environment parameter to pex_msdos_exec_child.
124 * pex-djgpp.c: Add environment parameter to pex_djgpp_exec_child.
125 (pex_djgpp_exec_child): Pass environment to child process.
126 * pex-unix.c: Add environment parameter to pex_unix_exec_child.
127 (pex_unix_exec_child): Pass environment to child process.
128 * pex-win32.c: Add environment parameter to pex_win32_exec_child.
129 New function env_compare for comparing VAR=VALUE pairs.
130 (win32_spawn): Assemble environment block and pass to CreateProcess.
131 (spawn_script): Pass environment through to win32_spawn.
132 (pex_win32_exec_child): Pass environment through to spawn_script and
133 win32_spawn.
134 * functions.texi: Regenerate.
135 * pexecute.txh: Document pex_run_in_environment.
136
137 2006-05-28 Mark Shinwell <shinwell@codesourcery.com>
138
139 * mkstemps.c: Open temporary files in binary mode.
140
141 2006-05-12 Anton Blanchard <anton@samba.org>
142
143 * cplus-dem.c (demangle_fund_type): Ensure buf is large enough to
144 hold "int%u_t".
145
146 2006-04-24 Julian Brown <julian@codesourcery.com>
147
148 * floatformat.c (floatformat_to_double): Fix (biased) exponent=0 case.
149
150 2006-03-29 Jim Blandy <jimb@codesourcery.com>
151
152 * pex-common.c (pex_input_file, pex_input_pipe): New functions.
153 (pex_init_common): Initialize obj->input_file.
154 (pex_run): Close any file opened by pex_input_file.
155 * pexecute.txh (pex_input_file, pex_input_pipe): New docs.
156 * pex-common.h (struct pex_obj): New field input_file.
157 (struct pex_funcs): New function ptr fdopenw.
158 * pex-unix.c (pex_unix_fdopenw): New function.
159 (funcs): List it as our fdopenw function.
160 * pex-win32.c (pex_win32_fdopenw): New function.
161 (funcs): List it as our fdopenw function.
162 * pex-djgpp.c (funcs): Leave fdopenw null.
163 * pex-msdos (funcs): Same.
164 * functions.texi: Regenerated.
165
166 2006-04-10 Jim Blandy <jimb@codesourcery.com>
167
168 * pex-common.c (temp_file): New function, containing guts of
169 pex-style temporary file name generation.
170 (pex_run): Use it.
171
172 2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
173
174 * Makefile.in: Add install-html, install-html-am, and
175 install-html-recursive targets. Define mkdir_p and
176 NORMAL_INSTALL.
177 * configure.ac: AC_SUBST datarootdir, docdir, htmldir.
178 * configure: Regenerate.
179 * testsuite/Makefile.in: Add install-html and html targets.
180
181 2006-03-31 Mark Mitchell <mark@codesourcery.com>
182
183 * pex-win32.c (<errno.h>): Include.
184 (fix_argv): Remove.
185 (argv_to_cmdline): New function.
186 (std_suffixes): New variable.
187 (no_suffixes): Likewise.
188 (find_executable): New function.
189 (win32_spawn): Likewise.
190 (spawn_script): Use win32_spawn instead of _spawnv[p].
191 (pex_win32_exec_child): Replace MSVCRT calls with Win32 API calls.
192 (pex_win32_wait): Likewise.
193
194 2006-03-24 Jim Blandy <jimb@codesourcery.com>
195
196 * pex-common.c (pex_run): Simplify output name handling.
197
198 2006-03-12 Jim Blandy <jimb@red-bean.com>
199
200 * pex-common.h (struct pex_obj): Doc fixes.
201
202 2006-03-11 Jim Blandy <jimb@red-bean.com>
203
204 * functions.texi: Regenerate.
205
206 2006-02-21 Ben Elliston <bje@au.ibm.com>
207
208 * pexecute.c (pwait): Syntax fix for previous change.
209
210 2006-02-17 Uttam Pawar <uttamp@us.ibm.com>
211
212 * pexecute.c (pwait): Free vector pointer.
213 * partition.c (partition_print): Free class_elements pointer.
214
215 2006-02-11 Roger Sayle <roger@eyesopen.com>
216 R. Scott Bailey <scott.bailey@eds.com>
217 Bill Northcott <w.northcott@unsw.edu.au>
218
219 PR bootstrap/16787
220 * floatformat.c: Include <float.h> where available.
221 (NAN): Use value of DBL_QNAN if defined, and NAN isn't.
222
223 2006-01-29 Gabriel Dos Reis <gdr@integrable-solutions.net>
224
225 * configure.ac: Add -Wc++-compat to ac_libibety_warn_cflags where
226 supported.
227 * configure: Regenerated.
228
229 2006-01-20 Carlos O'Donell <carlos@codesourcery.com>
230
231 * testsuite/Makefile.in: Add test-expandargv test.
232 * testsuite/test-expandargv.c: New test.
233 * argv.c (expandargv): Check for errors with ferror,
234 rather than just by looking at return value from fread.
235
236 2005-12-17 Gabriel Dos Reis <gdr@integrable-solutions.net>
237
238 * floatformat.c (floatformat_i387_ext_is_valid): Use explicit cast
239 to convert from "from".
240 (floatformat_to_double): Likewise.
241 (floatformat_from_double): Use explicit cast to convert from "to".
242
243 2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
244
245 PR java/9861
246 * cp-demangle.c (d_bare_function_type): Recognize new 'J' qualifer
247 and include return type when found.
248 (d_print_comp)[DEMANGLE_COMPONENT_FUNCTION_TYPE]: Add
249 conditional logic to change printing order of return type.when
250 the DMGL_RET_POSTFIX option is present.
251 (java_demangle_v3): Add DMGL_RET_POSTFIX option to d_demangle
252 call.
253 * testsuite/test-demangle.c (main): Recognize option --ret-postfix
254 * testsuite/demangle-expected: Test cases to verify extended encoding.
255 Updated comment to document --ret-postfix option.
256
257 2005-11-06 Richard Guenther <rguenther@suse.de>
258
259 * splay-tree.c (rotate_left): New function.
260 (rotate_right): Likewise.
261 (splay_tree_splay_helper): Remove.
262 (splay_tree_splay): Re-implement.
263
264 2005-10-31 Mark Kettenis <kettenis@gnu.org>
265
266 * floatformat.c (floatformat_vax_aingle, floatformat_vax_double):
267 New variables.
268
269 2005-10-07 Mark Mitchell <mark@codesourcery.com>
270
271 * at-file.texi: Fix typo.
272
273 2005-10-03 Mark Mitchell <mark@codesourcery.com>
274
275 * at-file.texi: New file.
276
277 2005-09-27 Mark Mitchell <mark@codesourcery.com>
278
279 * argv.c (expandargv): Do not use xmalloc_failed.
280
281 2005-09-26 Mark Mitchell <mark@codesourcery.com>
282
283 * argv.c (safe-ctype.h): Include it.
284 (ISBLANK): Remove.
285 (stdio.h): Include.
286 (buildargv): Use ISSPACE instead of ISBLANK.
287 (expandargv): New function.
288 * Makefile.in: Regenerated.
289
290 2005-09-14 Christopher Faylor <cgf@timesys.com>
291
292 * pex-win32.c: Include "windows.h".
293 (backslashify): New function.
294 (fix_argv): Use backslashify to convert path to windows format.
295 Allocate one more place in new argv for potential executable from '#!'
296 parsing.
297 (tack_on_executable): New function. Conditional on USE_MINGW_MSYS
298 (openkey): Ditto.
299 (mingw_rootify): Ditto.
300 (msys_rootify): Ditto.
301 (spawn_script): New function.
302 (pex_win32_exec_child): Save translated argv in newargv. Pass to
303 spawn_script if spawnv* fails.
304 (main): New function. Conditional on MAIN. Useful for testing.
305
306 2005-08-17 Mark Kettenis <kettenis@gnu.org>
307
308 * floatformat.c (floatformat_always_valid): Change type of last
309 argument to `void *'.
310 (floatformat_i387_ext_is_valid): Likewise.
311 (floatformat_to_double): Change type of second argument to `const
312 void *'.
313 (floatformat_from_double): Change type of last argument to `void
314 *'.
315 (floatformat_is_valid): Change type of last argument to `const
316 void *'.
317 (ieee_test): Remove redundant casts.
318
319 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
320
321 * strverscmp.c: Update FSF address.
322 * testsuite/Makefile.in: Likewise.
323 * testsuite/test-demangle.c: Likewise.
324 * testsuite/test-pexecute.c: Likewise.
325
326 2005-07-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
327
328 * getopt.c: Include ansidecl.h before system headers.
329
330 2005-07-22 Ben Elliston <bje@gnu.org>
331
332 * getopt.c: Include "ansidecl.h".
333 (_getopt_initialize): Mark argc and argv parameters as unused.
334
335 2005-07-22 Ben Elliston <bje@gnu.org>
336
337 * regex.c (regcomp): Change type of `i' from unsigned to int.
338
339 2005-07-22 Ben Elliston <bje@gnu.org>
340
341 Recover patch lost in the sourceware repository:
342 2005-07-09 Ben Elliston <bje@au.ibm.com>
343 * memcpy.c: Remove ANSI_PROTOTYPES conditional code.
344 * memmove.c: Likewise.
345 * objalloc.c: Likewise.
346
347 2005-07-22 Ben Elliston <bje@gnu.org>
348
349 * configure.ac: Check for a getopt(3) declaration.
350 * configure, config.in: Regenerate.
351
352 2005-07-15 Ben Elliston <bje@au.ibm.com>
353
354 * regex.c (TRANSLATE): Cast rhs of ternary expression to char.
355
356 2005-07-12 Ben Elliston <bje@au.ibm.com>
357
358 * floatformat.c (floatformat_to_double): Add a comment about a
359 potential source of warnings when compiling this file.
360
361 2005-07-12 Ben Elliston <bje@au.ibm.com>
362
363 * pexecute.c (pexecute): Cast string litrals to char *.
364 * regex.c (re_comp): Cast a call to gettext() to char *.
365
366 2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
367
368 * config.table: Delete file. Move former contents into ...
369 * configure.ac: ... here and escape any brackets for m4.
370 * Makefile.in (config.status): Remove dependency on config.table.
371 * configure: Regenerate.
372
373 2005-07-07 Kelley Cook <kcook@gcc.gnu.org>
374
375 * config.in: Regenerate for 6/20 change.
376
377 2005-07-03 Steve Ellcey <sje@cup.hp.com>
378
379 PR other/13906
380 * md5.c (md5_process_bytes): Check alignment.
381
382 2005-07-01 Ian Lance Taylor <ian@airs.com>
383
384 PR other/22268
385 * cp-demangle.c (d_expr_primary): Don't run off the end of the
386 string while looking for the end of a literal value.
387 * testsuite/demangle-expected: Add test case.
388
389 2005-06-30 Daniel Berlin <dberlin@dberlin.org>
390
391 * hashtab.c (EMPTY_ENTRY): Moved and renamed.
392 (DELETED_ENTRY): Ditto.
393
394 2005-06-20 Geoffrey Keating <geoffk@apple.com>
395
396 * strverscmp.c: New.
397 * Makefile.in (CFILES): Add strverscmp.c.
398 (CONFIGURED_OFILES): Add strverscmp.o.
399 (strverscmp.o): New rule.
400 (stamp-functions): Add $(srcdir) to files in source directory.
401 * configure.ac (funcs): Add strverscmp.
402 (AC_CHECK_FUNCS): Add strverscmp.
403 * configure: Regenerate.
404 * functions.texi: Regenerate.
405
406 2005-05-28 Eli Zaretskii <eliz@gnu.org>
407
408 * configure.ac: Add snprintf and vsnprintf to AC_CHEK_DECLS.
409 * config.in, configure: Regenerate.
410
411 2005-05-25 Richard Henderson <rth@redhat.com>
412
413 * cp-demangle.c (d_dump): Handle DEMANGLE_COMPONENT_HIDDEN_ALIAS.
414 (d_make_comp, d_print_comp): Likewise.
415 (d_special_name): Generate one.
416 * testsuite/demangle-expected: Add a hidden alias test.
417
418 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
419
420 * configure.ac: Check declarations for calloc(), getenv(),
421 malloc(), realloc() and sbrk().
422 * config.in: Regenerate.
423 * configure: Likewise.
424
425 * alloca.c (C_alloca): Change "new" to "new_storage". Use XNEWVEC
426 instead of xmalloc.
427 * choose-temp.c (choose_temp_base): Use XNEWVEC instea od xmalloc.
428 * concat.c (liiberty_concat_ptr): Surround definition with an
429 extern "C" block, if __cplusplus.
430 (concat): Use XNEWVEC instead of xmalloc.
431 (reconcat): Likewise.
432 * cp-demangle.c (struct d_print_template): Rename member
433 "template" to "template_decl". Adjust use throughout the file.
434 (d_print_resize): Properly cast return value of realloc().
435 (cplus_demangle_print): Same for malloc().
436 (d_demangle): Likewise.
437 * cp-demint.c (cplus_demangle_fill_builtin_type): Rename parameter
438 "typename" to "type_name".
439 * cplus-dem.c (grow_vect): Use XRESIZEVEC instead of xrealloc().
440 (work_stuff_copy_to_from): Use XNEWVEC insteand of xmalloc().
441 (demangle_template_value_parm): Likewise.
442 (demangle_template): Likewise.
443 (recursively_demangle): Likewise.
444 (do_hpacc_template_literal): Likewise.
445 (do_arg): Likewise.
446 (remember_type): Likewise.
447 (remember_Ktype): Likewise.
448 (register_Btype): Likewise.
449 (string_need): Use XRESIZEVEC instead of xrealloc().
450 * dyn-string.c (dyn_string_init): Use XNEWVEC.
451 (dyn_string_new): Use XNEW.
452 (dyn_string_resize): Use XRESIZEVEC.
453 * fnmatch.c (fnmatch): Rename local variable "not" to "negate".
454 * getopt.c (getenv): Declare only if !__cplusplus and !getenv.
455 Otherwise include <stdlib.h>.
456 (exchange): Cast return value of malloc().
457 * hashtab.c (htab_size): Define as both macro and non-inline
458 function.
459 (htab_elements): Likewise.
460 * getpwd.c (getpwd): Use XNEWVEC.
461 (htab_create_alloc_ex): Use C90 prototype-style.
462 * lrealpath.c (lrealpath): Appropriately cast return value of
463 malloc().
464 * make-relative-prefix.c (save_string): Likewise.
465 * make-temp-file.c (try_dir): Rename from "try". Adjust use in
466 the file.
467 (choose_tmpdir): Use XNEWVEC.
468 * mkstemps.c (mkstemps): Rename parameter "template" to "pattern".
469 * pex-common.c (pex_init_common): Use XNEW.
470 (pex_add_remove): Use XRESIZEVEC.
471 (pex_run): Likewise.
472 (pex_get_status_and_time): Likewise.
473 * pex-djgpp.c (pex_djgpp_exec_child): Likewise.
474 * pex-msdos.c (pex_init): Use XNEW.
475 (pex_msdos_exec_child): Likewise.
476 (pex_msdos_exec_child): Use XRESIZEVEC.
477 * pex-unix.c (pex_wait): Use XNEW.
478 * pex-win32.c (fix_argv): Use XNEWVEC.
479 * pexecute.c (pwait): Likewise.
480 * setenv.c (setenv): Properly cast return value of malloc().
481 * sigsetmask.c (sigsetmask): Rename local variables "old" and
482 "new" to "old_sig" and "new_sig".
483 * sort.c (main): Use XNEWVEC.
484 * spaces.c (spaces): Cast return value of malloc().
485 * strndup.c (strndup): Likewise.
486 * ternary.c (ternary_insert): Use XNEW.
487 * xmalloc.c (malloc, realloc, calloc, sbrk): Surround declaration
488 with an extern "C" block if __cplusplus.
489 * xstrdup.c (xstrdup): Cast return value of memcpy().
490 * xstrerror.c (strerror): Enclose declaration in an extern "C"
491 block if __cplusplus.
492 * xstrndup.c (xstrndup): Use XNEW. Cast return value of memcpy().
493
494 2005-05-16 Andreas Jaeger <aj@suse.de>
495
496 * getpwd.c: Remove unneeded prototype getcwd and move getwd so
497 that it's only declared if needed.
498
499 * getopt1.c: Change order of includes so that __GNU_LIBRARY__ is
500 defined.
501
502 2005-05-15 Andreas Jaeger <aj@suse.de>
503
504 * functions.texi: Regenerated.
505
506 2005-05-15 Eli Zaretskii <eliz@gnu.org>
507
508 * pexecute.txh: Enclose multi-word data types in @deftypefn in
509 braces. Minor wording fixes. Use --- for em-dash. Use
510 @enumerate in enumerated lists.
511
512 * fopen_unlocked.c: Enclose multi-word data types in @deftypefn in
513 braces.
514
515 2005-05-11 Eli Zaretskii <eliz@gnu.org>
516
517 * pex-djgpp.c: Include string.h, fcntl.h, unistd.h, and
518 sys/stat.h.
519 (pex_init): Fix last argument to pex_init_common.
520 (pex_djgpp_exec_child): Remove leading underscore from _open,
521 _dup, _dup2, _close, and _spawnv/_spawnvp. Replace `program',
522 which is undeclared, with `executable', which was unused. Remove
523 unused variable `e'. Fix casting of last arg to spawnv/spawnvp.
524 (pex_djgpp_wait): Declare arguments with ATTRIBUTE_UNUSED.
525
526 2005-05-11 Paul Brook <paul@codesourcery.com>
527
528 * Makefile.in: Regenerate dependencies.
529
530 2005-05-10 Nick Clifton <nickc@redhat.com>
531
532 * Update the address and phone number of the FSF organization in
533 the GPL notices in the following files:
534 COPYING.LIB, Makefile.in, _doprnt.c, argv.c, asprintf.c,
535 choose-temp.c, clock.c, concat.c, copying-lib.texi, cp-demangle.c,
536 cp-demangle.h, cp-demint.c, cplus-dem.c, dyn-string.c, fdmatch.c,
537 fibheap.c, floatformat.c, fnmatch.c, fopen_unlocked.c,
538 gather-docs, getopt.c, getopt1.c, getruntime.c, hashtab.c, hex.c,
539 lbasename.c, lrealpath.c, maint-tool, make-relative-prefix.c,
540 make-temp-file.c, md5.c, mempcpy.c, mkstemps.c, objalloc.c,
541 obstack.c, partition.c, pex-common.c, pex-common.h, pex-djgpp.c,
542 pex-msdos.c, pex-one.c, pex-unix.c, pex-win32.c, pexecute.c,
543 physmem.c, putenv.c, regex.c, safe-ctype.c, setenv.c, snprintf.c,
544 sort.c, spaces.c, splay-tree.c, stpcpy.c, stpncpy.c, strndup.c,
545 strtod.c, ternary.c, unlink-if-ordinary.c, vasprintf.c,
546 vsnprintf.c, vsprintf.c, xexit.c, xmalloc.c, xstrndup.c
547
548 2005-05-06 Kelley Cook <kcook@gcc.gnu.org>
549
550 * aclocal.m4 (AC_DEFINE_NOAUTOHEADER): Remove.
551 * configure.ac: Replace any AC_DEFINE_NOAUTOHEADER with AC_DEFINE.
552 * configure: Regenerate.
553
554 2005-05-06 Kelley Cook <kcook@gcc.gnu.org>
555
556 * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS.
557 Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF.
558 * aclocal.m4: Don't include accross.m4.
559 * configure, config.in: Regenerate.
560
561 2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
562
563 * fopen_unlocked.c (unlock_std_streams): New.
564
565 * functions.texi: Regenerate.
566
567 2005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
568
569 * fopen_unlocked.c (unlock_stream): New.
570 Consolidate unlocking code into a helper function.
571
572 * functions.texi: Regenerate.
573
574 2005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
575
576 * asprintf.c: Include config.h.
577 * basename.c: Likewise.
578 * fdmatch.c: Likewise.
579 * hex.c: Likewise.
580 * lbasename.c: Likewise.
581 * spaces.c: Likewise.
582 * xatexit.c:Likewise.
583 * configure.ac: Do check declarations for basename, ffs, asprintf
584 and vasprintf for real.
585 * configure: Regenerate.
586
587 2005-04-13 Gabriel Dos Reis <gdr@integrable-solutions.net>
588
589 * argv.c (dupargv): Allocate space of argv[argc], not
590 sizeof(char *) of that amount. Cast result to char *.
591
592 2005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
593
594 * regex.c (wcs_re_match_2_internal, byte_re_match_2_internal):
595 Replace not with negate.
596
597 2005-04-12 Gabriel Dos Reis <gdr@integrable-solutions.net>
598
599 * configure.ac: Check declarations for basename, ffs, asprintf,
600 vasprintf.
601 * configure: Regenerate.
602 * config.in: Likewise.
603
604 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
605
606 * Makefile.in (CFILES): Add fopen_unlocked.c.
607 (REQUIRED_OFILES): Add ./fopen_unlocked.o.
608 Regenerate dependencies.
609
610 * configure.ac: Check for stdio_ext.h and __fsetlocking.
611
612 * fopen_unlocked.c: New file.
613
614 * functions.texi, configure, config.in: Regenerate.
615
616 2005-04-04 Ian Lance Taylor <ian@airs.com>
617
618 * testsuite/test-pexecute.c (TEST_PEX_RUN): Move variable
619 declaration before statement.
620
621 2005-04-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
622
623 * bcmp.c: Fix warnings and implement using memcmp.
624 * bcopy.c: Fix warnings.
625 * bzero.c: Fix warnings and implement using memset.
626
627 * configure.ac (ac_libiberty_warn_cflags): Add -Wwrite-strings
628 -Wstrict-prototypes.
629 * configure, config.in: Regenerate.
630
631 * bsearch.c, index.c, rindex.c, strstr.c, strtol.c, waitpid.c: Fix
632 warnings and reconcile interfaces with relevant standards.
633
634 2005-04-02 Ian Lance Taylor <ian@airs.com>
635
636 * cp-demangle.c: Update copyright.
637
638 2005-03-31 Joseph S. Myers <joseph@codesourcery.com>
639
640 * gettimeofday.c: Add "Supplemental" to @deftypefn.
641 * functions.texi: Regenerate.
642
643 2005-03-28 Ian Lance Taylor <ian@airs.com>
644
645 * pex-common.c: New file.
646 * pex-one.c: New file.
647 * pexecute.c: New file.
648 * pex-common.h: Include <stdio.h>.
649 (struct pex_obj): Define.
650 (struct pex_funcs): Define.
651 (pex_init_common): Declare.
652 * pex-unix.c: Rewrite.
653 * pex-win32.c: Rewrite.
654 * pex-djgpp.c: Rewrite.
655 * pex-msdos.c: Rewrite.
656 * testsuite/text-pexecute.c: New file.
657 * pexecute.txh: Rewrite.
658 * configure.ac: Check for wait3 and wait4. Set CHECK to
659 really-check rather than check-cplus-dem.
660 * functions.texi: Rebuild.
661 * Makefile.in: Rebuild dependencies.
662 (CFILES): Add pexecute.c, pex-common.c, pex-one.c.
663 (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o.
664 * testsuite/Makefile.in (really-check): New target.
665 (check-pexecute, test-pexecute): New targets.
666 * configure: Rebuild.
667
668 2005-03-28 Mark Kettenis <kettenis@gnu.org>
669
670 * unlink-if-ordinary.c: Include <sys/types.h>.
671
672 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
673
674 Convert libiberty to use ISO C prototype style 7/n.
675 * regex.c (PARAMS): Remove definition.
676 (PREFIX): Unconditionaly define using ISO C ## operator.
677 (init_syntax_once, extract_number, extract_number_and_incr,
678 print_fastmap, print_partial_compiled_pattern,
679 print_compiled_pattern, print_double_string, printchar,
680 convert_mbs_to_wcs, re_set_syntax, regex_grow_registers,
681 regex_compile, store_op1, store_op2, insert_op1, insert_op2,
682 at_begline_loc_p, at_endline_p, group_in_compile_stack,
683 insert_space, wcs_compile_range, byte_compile_range,
684 truncate_wchar, re_compile_fastmap, re_compile_fastmap,
685 re_set_registers, re_search, re_search_2, re_search_3, re_match,
686 re_match_2, count_mbs_length, wcs_re_match_2_internal,
687 byte_re_match_2_internal, group_match_null_string_p,
688 alt_match_null_string_p, common_op_match_null_string_p,
689 bcmp_translate, re_compile_pattern, re_comp, re_exec, regcomp,
690 regexec, regerror, regfree): Use ISO C prototype style.
691 * partition.c: (elem_compare): Likewise.
692 * cp-demangle.c (print_usage): Likewise.
693
694 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
695
696 Convert libiberty to use ISO C prototype style 5/n.
697 * random.c (srandom, initstate, setstate, random): Use ISO C
698 prototypes.
699 * putenv.c (putenv): Likewise.
700 * physmem.c (physmem_available, physmem_total, main): Likewise.
701 * pex-win32.c (fix_argv, pexecute, pwait): Likewise.
702 * pex-unix.c (pexecute, pwait): Likewise.
703 * pex-msdos.c (pexecute, pwait): Likewise.
704 * pex-djgpp.c (pexecute, pwait): Likewise.
705 * partition.c (partition_new, partition_delete, partition_union)
706 (elem_compare, partition_print): Likewise.
707 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk,
708 _obstack_allocated_p, _obstack_free, obstack_free,
709 _obstack_memory_used, print_and_abort, obstack_next_free,
710 obstack_object_size, obstack_base): Likewise. Remove codes
711 predicated on !defined(__STDC__).
712 * objalloc.c (objalloc_create, _objalloc_alloc, objalloc_free,
713 objalloc_free_block): Use ISO C prototypes.
714 * mkstemps.c (mkstemps): Likewise.
715 * memset.c (memset): Likewise.
716 * mempcpy.c (mempcpy): Likewise.
717 * rename.c (rename): Likewise.
718 * rindex.c (rindex): Likewise.
719 * setenv.c (setenv, unsetenv): Likewise.
720 * sigsetmask.c (sigsetmask): Likewise.
721 * snprintf.c (snprintf): Likewise.
722 * sort.c (sort_pointers, xmalloc): Likewise.
723 * spaces.c (spaces): Likewise.
724 * splay-tree.c (splay_tree_delete_helper,
725 splay_tree_splay_helper, splay_tree_splay,
726 splay_tree_foreach_helper, splay_tree_xmalloc_allocate,
727 splay_tree_new, splay_tree_xmalloc_allocate,
728 splay_tree_new_with_allocator, splay_tree_delete,
729 splay_tree_insert, splay_tree_remove, splay_tree_lookup,
730 splay_tree_max, splay_tree_min, splay_tree_predecessor,
731 splay_tree_successor, splay_tree_foreach,
732 splay_tree_compare_ints, splay_tree_compare_pointers): Likewise.
733 * stpcpy.c (stpcpy): Likewise.
734 * stpncpy.c (stpncpy): Likewise.
735 * strcasecmp.c (strcasecmp): Likewise.
736 * strchr.c (strchr): Likewise.
737 * strdup.c (strdup): Likewise.
738
739 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
740
741 Convert libiberty to use ISO C prototype style 6/n.
742 * strerror.c (init_error_tables, errno_max, strerror, strerrno,
743 strtoerrno, main): Use ISO C prototype style.
744 * strncasecmp.c (strncasecmp): Likewise.
745 * strncmp.c (strncmp): Likewise.
746 * strndup.c (strndup): Likewise.
747 * strrchr.c (strrchr): Likewise.
748 * strsignal.c (init_signal_tables, signo_max, strsignal,
749 strsigno, strtosigno, psignal, main): Likewise.
750 * strstr.c (strstr): Likewise.
751 * strtod.c (strtod, atof): Likewise.
752 * strtol.c (strtol): Likewise.
753 * strtoul.c (strtoul): Likewise.
754 * ternary.c (ternary_insert, ternary_cleanup, ternary_search,
755 ternary_recursivesearch): Likewise.
756 * tmpnam.c (tmpnam): Likewise.
757 * unlink-if-ordinary.c (unlink_if_ordinary): Likewise.
758 * vasprintf.c (int_vasprintf, vasprintf, checkit, main): Likewise.
759 * vfork.c (vfork): Likewise.
760 * vfprintf.c (vfprintf): Likewise.
761 * vprintf.c (vprintf): Likewise.
762 * vsnprintf.c (vsnprintf, checkit, main): Likewise.
763 * vsprintf.c (vsprintf): Likewise.
764 * waitpid.c (waitpid): Likewise.
765 * xatexit.c (xatexit, xatexit_cleanup): Likewise.
766 * xexit.c (xexit): Likewise.
767 * xmalloc.c (xmalloc_set_program_name, xmalloc_failed, xmalloc,
768 xcalloc, xrealloc): Likewise.
769 * xmemdup.c (xmemdup): Likewise.
770 * xstrdup.c (xstrdup): Likewise.
771 * xstrerror.c (xstrerror): Likewise.
772 * xstrndup.c (xstrndup): Likewise.
773
774 2005-03-27 Andreas Jaeger <aj@suse.de>
775
776 * configure.ac (ac_c_preproc_warn_flag): Remove -Wtraditional
777 flags.
778 * configure: Regenerated.
779
780 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
781
782 * getopt1.c (getopt_long_only): Fix thinko.
783
784 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
785
786 Convert libiberty to use ISO C prototype style 4/n.
787 * hashtab.c (higher_prime_index, hash_pointer, eq_pointer,
788 htab_size, htab_elements, htab_mod_1, htab_mod, htab_mod_m2,
789 htab_create_alloc, htab_set_functions_ex, htab_create,
790 htab_try_create, htab_delete, htab_empty,
791 find_empty_slot_for_expand, htab_expand, htab_find_with_hash,
792 htab_find, htab_find_slot_with_hash, htab_find_slot,
793 htab_remove_elt, htab_remove_elt_with_hash, htab_clear_slot,
794 htab_traverse_noresize, htab_traverse, htab_collisions,
795 htab_hash_string, iterative_hash): Use ISO C prototype.
796 * hex.c (hex_init): Likewise.
797 * index.c (index): Likewise.
798 * insque.c (insque, remque): Likewise.
799 * lbasename.c (lbasename): Likewise.
800 * lrealpath.c (lrealpath): Likewise.
801 * make-relative-prefix.c (save_string, split_directories,
802 free_split_directories, make_relative_prefix): Likewise.
803 * make-temp-file.c (try, choose_tmpdir, make_temp_file): Likewise.
804 * md5.c (md5_init_ctx, md5_read_ctx, md5_finish_ctx, md5_stream,
805 md5_buffer, md5_process_bytes, md5_process_block): Likewise.
806 * memchr.c (memchr): Likewise.
807 * memcpy.c (memcpy): Likewise.
808 * memmove.c (memmove): Likewise.
809 * gettimeofday.c (gettimeofday): Likewise.
810 * getruntime.c (get_run_time): Likewise.
811 * getpwd.c (getpwd, getpwd): Likewise.
812 * getpagesize.c (getpagesize): Likewise.
813 * getopt1.c (getopt_long, getopt_long_only, main): Likewise.
814 * getopt.c (my_index, exchange, _getopt_initialize,
815 _getopt_internal, getopt, main): Likewise.
816 * getcwd.c (getcwd): Likewise.
817 * fnmatch.c (fnmatch): Likewise.
818 * floatformat.c (floatformat_always_valid,
819 floatformat_i387_ext_is_valid, get_field, floatformat_to_double,
820 put_field, floatformat_from_double, floatformat_is_valid,
821 ieee_test, main): Likewise.
822 * fibheap.c (fibheap_new, fibnode_new, fibheap_compare,
823 fibheap_comp_data, fibheap_insert, fibheap_min, fibheap_min_key,
824 fibheap_union, fibheap_extract_min, fibheap_replace_key_data,
825 fibheap_replace_key, fibheap_replace_data, fibheap_delete_node,
826 fibheap_delete, fibheap_empty, fibheap_extr_min_node,
827 fibheap_ins_root, fibheap_rem_root, fibheap_consolidate,
828 fibheap_link, fibheap_cut, fibheap_cascading_cut,
829 fibnode_insert_after, fibnode_remove): Likewise.
830 * ffs.c (ffs): Likewise.
831 * fdmatch.c (fdmatch): Likewise.
832 * dyn-string.c (dyn_string_init, dyn_string_new,
833 dyn_string_delete, dyn_string_release, dyn_string_resize,
834 dyn_string_clear, dyn_string_copy, dyn_string_copy_cstr,
835 dyn_string_prepend, dyn_string_prepend_cstr, dyn_string_insert,
836 dyn_string_insert_cstr, dyn_string_insert_char,
837 dyn_string_append, dyn_string_append_cstr,
838 dyn_string_append_char, dyn_string_substring, dyn_string_eq):
839 Likewise.
840
841 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
842
843 Convert libiberty to use ISO C prototype style 3/n.
844 * cplus-dem.c (set_cplus_marker_for_demangling, consume_count,
845 consume_count_with_underscores, code_for_qualifier,
846 qualifier_string, demangle_qualifier, cplus_demangle_opname,
847 cplus_mangle_opname, cplus_demangle_set_style,
848 cplus_demangle_name_to_style, cplus_demangle, grow_vect,
849 ada_demangle, internal_cplus_demangle, squangle_mop_up,
850 work_stuff_copy_to_from, delete_non_B_K_work_stuff,
851 delete_work_stuff, mop_up, demangle_signature,
852 demangle_method_args, demangle_template_template_parm,
853 demangle_expression, demangle_integral_value,
854 demangle_real_value, demangle_template_value_parm,
855 demangle_template, arm_pt, demangle_arm_hp_template,
856 demangle_class_name, demangle_class, iterate_demangle_function,
857 demangle_prefix, gnu_special, recursively_demangle, arm_special,
858 demangle_qualified, get_count, do_type, demangle_fund_type,
859 do_hpacc_template_const_value, do_hpacc_template_literal,
860 snarf_numeric_literal, do_arg, remember_type, remember_Ktype,
861 register_Btype, remember_Btype, forget_B_and_K_types,
862 forget_types, demangle_args, demangle_nested_args,
863 demangle_function_name, string_need, string_delete, string_init,
864 string_clear, string_empty, string_append, string_appends,
865 string_appendn, string_prepend, string_prepends, string_prependn,
866 string_append_template_idx): Use ISO C prootype style.
867 * cp-demint.c (cplus_demangle_fill_component,
868 cplus_demangle_fill_builtin_type, cplus_demangle_fill_operator,
869 cplus_demangle_v3_components): Likewise.
870
871 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
872
873 Convert libiberty to use ISO C prototype style 2/n.
874 * cp-demangle.h: Remove uses of PARAMS.
875 * cp-demangle.c: Likewise.
876 (d_dump, cplus_demangle_fill_name,
877 cplus_demangle_fill_extended_operator, cplus_demangle_fill_ctor,
878 cplus_demangle_fill_dtor, d_make_empty, d_make_comp, d_make_name,
879 d_make_builtin_type, d_make_operator, d_make_extended_operator,
880 d_make_ctor, d_make_dtor, d_make_template_param, d_make_sub,
881 cplus_demangle_mangled_name, has_return_type,
882 is_ctor_dtor_or_conversion, d_encoding, d_name, d_nested_name,
883 d_prefix, d_unqualified_name, d_source_name, d_number,
884 d_identifier, d_operator_name, d_special_name, d_call_offset,
885 d_ctor_dtor_name, cplus_demangle_type, d_cv_qualifiers,
886 d_function_type, d_bare_function_type, d_class_enum_type,
887 d_array_type, d_pointer_to_member_type, d_template_param,
888 d_template_args, d_template_arg, d_expression, d_expr_primary,
889 d_local_name, d_discriminator, d_add_substitution,
890 d_substitution, d_print_resize, d_print_append_char,
891 d_print_append_buffer, d_print_error, cplus_demangle_print,
892 d_print_comp, d_print_java_identifier, d_print_mod_list,
893 d_print_mod, d_print_function_type, d_print_array_type,
894 d_print_expr_op, d_print_cast, cplus_demangle_init_info,
895 d_demangle, __cxa_demangle, cplus_demangle_v3, java_demangle_v3,
896 is_ctor_or_dtor, is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor,
897 print_usage, main):
898
899 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
900
901 Convert libiberty to ISO C prototype style 1/n.
902 * _doprnt.c: Remove conditional #include <varargs.h> on
903 ANSI_PROTOTYPES as the latter is always assumed.
904 (_doprnt, checkit, main): Use ISO C prototype.
905 * alloca.c (find_stack_direction, C_alloca): Use ISO C prototype.
906 * argv.c: Remove conditional #includes on ANSI_PROTOTYPES.
907 (dupargv, freeargv, buildargv, main): Use ISO C prototype.
908 * atexit.c (atexit): Likewise
909 * asprintf.c: Remove conditional include on ANSI_PROTOTYPES.
910 (asprintf): Use ISO C prototype.
911 * basename.c (basename): Likewise
912 * bcmp.c (bcmp): Likewise.
913 * bcopy.c (bcopy): Likewise.
914 * bzero.c (bzero): Likewise.
915 * bsearch.c (bsearch): Likewise. Improve const-correctness.
916 * choose-temp.c (choose_temp_base): Likewise.
917 * calloc.c: Remove conditional #include on ANSI_PROTOTYPES.
918 (calloc): Use ISO C prototype.
919 * clock.c (clock): Likewise.
920 * concat.c: Remove conditional #include on ANSI_PROTOTYPES.
921 (vconcat_length, vconcat_copy, concat_length, concat_copy,
922 concat_copy2, concat, reconcat, main): Use ISO C prototype.
923 * copysign.c (copysign): Likewise.
924
925 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
926
927 * Makefile.in (CFILES): Add strndup.c and xstrndup.c.
928 (REQUIRED_OFILES): Add xstrndup.o.
929 (CONFIGURED_OFILES): Add strndup.o.
930 Regenerate dependencies.
931
932 * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup.
933
934 * strndup.c, xstrndup.c: New.
935
936 * config.in, configure, functions.texi: Regenerate.
937
938 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
939
940 * xmemdup.c, xstrdup.c: Expose the tail call.
941
942 2005-03-09 Mark Mitchell <mark@codesourcery.com>
943
944 * configure.ac (funcs): Add gettimeofday.
945 * configure: Regenerated.
946 * gettimeofday.c: New file.
947 * Makefile.in (CFILES): Add gettimeofday.
948 (CONFIGURED_OFILES): Add gettimeofday.o.
949 (./gettimeofday.o): New rule.
950
951 2005-03-09 Ian Lance Taylor <ian@airs.com>
952
953 * pex-os2.c: Remove.
954 * configure.ac: Remove *-*-os2-emx* case when setting pexecute.
955 * Makefile.in (CFILES): Remove pex-os2.c.
956 (CONFIGURED_OFILES): Remove pex-os2.o.
957 (pex-os2.o): Remove target.
958 * configure: Rebuild.
959
960 2005-03-07 Ian Lance Taylor <ian@airs.com>
961
962 * mpw-config.in: Remove.
963 * mpw-make.sed: Remove.
964 * mpw.c: Remove.
965 * Makefile.in (CFILES): Remove pex-mpw.c.
966 (CONFIGURED_OFILES): Remove pex-mpw.o.
967 (mpw.o, pex-mpw.o): Remove targets.
968 * maint-tool (undoc): Remove reference to mpw.c.
969
970 2005-03-06 DJ Delorie <dj@redhat.com>
971
972 * configure.ac (target_header_dir): vfork is a stub under djgpp.
973 * configure: Regenerated.
974
975 2005-03-01 Jan Beulich <jbeulich@novell.com>
976
977 * Makefile.in (CFILES): Add unlink-if-ordinary.c
978 (REQUIRED_OFILES): Add unlink-if-ordinary.o.
979 Add dependencies and rule for unlink-if-ordinary.o.
980 * unlink-if-ordinary.c: New.
981
982 2005-03-01 Ben Elliston <bje@au.ibm.com>
983
984 * hashtab.c (htab_find_slot_with_hash): Make function
985 documentation clearer.
986
987 2005-02-13 Jason Merrill <jason@redhat.com>
988
989 * cp-demangle.c (__cxa_demangle): Change resolution of ambiguous
990 arguments.
991
992 2005-01-11 Tobias Schl"uter <tobias.schlueter@physik.uni-muenchen.de>
993
994 * hex.c (hex_value): Group 'unsigned int' together to get correct
995 markup.
996 * functions.texi: Regenerated.
997
998 2004-12-27 H.J. Lu <hongjiu.lu@intel.com>
999
1000 * Makefile.in: Undo to 2004-12-17.
1001 * aclocal.m4: Likewise.
1002 * config.table: Likewise.
1003 * configure.ac: Likewise.
1004 * maint-tool: Likewise.
1005 * configure: Likewise.
1006
1007 2004-12-19 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 PR bootstrap/19072
1010 * Makefile.in (enable_shared): New substitute.
1011 (LTTARGETLIB): New.
1012 (PREFIXTARGETLIB): New.
1013 (LTTESTLIB): New.
1014 (PREFIXTESTLIB): New.
1015 (CCLD): New.
1016 (LINK): New.
1017 ($(TARGETLIB)): Use $(LINK) to create libraries and create
1018 targets by hand.
1019 ($(TESTLIB)): Likewise.
1020 (mostlyclean): Don't remove .libs. Remove the libtool object
1021 directory.
1022
1023 * config.table (enable_shared): Removed.
1024
1025 * configure.ac (enable_static): Set to yes.
1026 (AC_PROG_LIBTOOL): Removed.
1027 (AM_DISABLE_SHARED): Uncommented.
1028 (AM_PROG_LIBTOOL): Likewise.
1029 (LIBOBJS): Add `./' to avoid VPATH.
1030 (LTLIBOBJS): Likewise.
1031 (enable_shared): Substitute.
1032 * configure: Regenerated.
1033
1034 2004-12-18 H.J. Lu <hongjiu.lu@intel.com>
1035
1036 * Makefile.in (top_builddir): Set to `.'.
1037 (OUTPUT_OPTION): Removed.
1038 (LIBTOOL): New.
1039 (LTLIBOBJS): New.
1040 (EXTRA_LTOFILES): New.
1041 (FLAGS_TO_PASS): Add EXTRA_LTOFILES.
1042 (all): Remove stamp-picdir.
1043 (LTCOMPILE): New.
1044 (.c.lo): New rule.
1045 (REQUIRED_LTOFILES): New.
1046 (CONFIGURED_LTOFILES): New.
1047 ($(TARGETLIB)): Check .libs for PIC object files. Depend on
1048 $(REQUIRED_LTOFILES) $(EXTRA_LTOFILES) $(LTLIBOBJS).
1049 (stamp-picdir): Completely removed.
1050 (maint-missing): Pass $(REQUIRED_LTOFILES)
1051 $(CONFIGURED_LTOFILES) instead of (REQUIRED_OFILES)
1052 $(CONFIGURED_OFILES)
1053 (maint-buildall): Depend on $(REQUIRED_LTOFILES)
1054 $(CONFIGURED_LTOFILES).
1055 (mostlyclean): Also remove *.lo .libs.
1056 Run "make maint-deps".
1057
1058 * aclocal.m4: Include ../libtool.m4.
1059
1060 * config.table: Don't check --enable-shared.
1061
1062 * configure.ac (AC_PROG_LIBTOOL): Add.
1063 (AC_PROG_CC_C_O): Removed.
1064 (OUTPUT_OPTION): Removed.
1065 (NO_MINUS_C_MINUS_O): Removed.
1066 (ltpexecute): New substitute.
1067 (LIBOBJS): Cleanup.
1068 * configure: Regenerated.
1069
1070 * maint-tool: Updated for .lo/libtool.
1071
1072 2004-12-11 Ben Elliston <bje@au.ibm.com>
1073
1074 * configure.ac: Invoke AC_CHECK_SIZEOF for sizeof (int).
1075 * configure: Regenerate.
1076 * config.in: Likewise.
1077
1078 2004-12-07 DJ Delorie <dj@redhat.com>
1079
1080 * splay-tree.c (splay_tree_delete_helper): Redesign the logic so
1081 that recursion (and thus large stack space) is not needed.
1082
1083 2004-11-29 Matt Kraai <kraai@alumni.cmu.edu>
1084
1085 * pex-unix.c: Fix the spelling of longjmp.
1086
1087 2004-11-23 Ian Lance Taylor <ian@wasabisystems.com>
1088
1089 PR other/18623
1090 * cp-demangle.c (d_call_offset): Remove useless local variables
1091 offset and virtual_offset.
1092 * cplus-dem.c (ada_demangle): Remove useless local variable
1093 at_start_name.
1094 (demangle_template): Remove useless local variable start.
1095
1096 2004-11-19 Roger Sayle <roger@eyesopen.com>
1097
1098 * objalloc.c, strsignal.c, xstrerror.c: Include "config.h" before
1099 "ansidecl.h" to avoid redeclaration errors with native compilers.
1100 * regex.c: Protect config.h from multiple inclusion.
1101
1102 2004-11-12 Mike Stump <mrs@apple.com>
1103
1104 * Makefile.in (libiberty.html): Fix html generation.
1105
1106 2004-09-08 Adam Nemet <anemet@lnxw.com>
1107
1108 * vasprintf.c: Accept __va_copy in addition to va_copy.
1109
1110 2004-09-03 Paolo Bonzini <bonzini@gnu.org>
1111
1112 * configure: Regenerate.
1113
1114 2004-09-02 Paolo Bonzini <bonzini@gnu.org>
1115
1116 * configure.ac: Do not enable multilibs for build-side libiberty.
1117
1118 2004-06-29 Danny Smith <dannysmith@users.sourceforge.net>
1119
1120 * lrealpath.c (lrealpath): Add _WIN32 support.
1121
1122 2004-06-28 Zack Weinberg <zack@codesourcery.com>
1123
1124 * cp-demangle.h: Declare cplus_demangle_operators,
1125 cplus_demangle_builtin_types, cplus_demangle_mangled_name, and
1126 cplus_demangle_type as static if IN_GLIBCPP_V3.
1127
1128 2004-06-28 Ian Lance Taylor <ian@wasabisystems.com>
1129
1130 PR other/16240
1131 * cp-demangle.c (d_expr_primary): Check for a failure return from
1132 cplus_demangle_type.
1133 * testsuite/demangle-expected: Add test case.
1134
1135 2004-05-31 Danny Smith <dannysmith@users.sourceforge.net>
1136
1137 * pex-win32.c (fix_argv): Expand comment.
1138
1139 2004-05-25 Daniel Jacobowitz <drow@false.org>
1140
1141 * Makefile.in: Add .NOEXPORT.
1142
1143 2004-04-29 Douglas B Rupp <rupp@gnat.com>
1144
1145 * mkstemps.c (mkstemps) [VMS]: Remove special open option. Update
1146 copyright.
1147
1148 2004-04-26 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
1149
1150 * configure.ac (UNSIGNED_64BIT_TYPE): Unquote the definition.
1151 * configure: Regenerate.
1152
1153 2004-04-22 Richard Henderson <rth@redhat.com>
1154
1155 * hashtab.c: Include limits.h, stdint.h, ansidecl.h.
1156 (CHAR_BIT): Provide default.
1157 (struct prime_ent, prime_tab): New.
1158 (higher_prime_index): Rename from higher_prime_number, return index.
1159 (htab_mod_1): New.
1160 (htab_mod, htab_mod_m2): Use it.
1161 (htab_create_alloc, htab_create_alloc_ex): Store prime index.
1162 (htab_expand): Likewise.
1163 * configure.ac: Check for stdint.h.
1164 (UNSIGNED_64BIT_TYPE): New define and checks to fill it in.
1165 * config.in, configure: Rebuild.
1166
1167 2004-04-13 Ian Lance Taylor <ian@wasabisystems.com>
1168
1169 * strerror.c: Include config.h, and redefine sys_nerr and
1170 sys_errlist, before including ansidecl.h and libiberty.h.
1171
1172 2004-04-13 Jeff Law <law@redhat.com>
1173
1174 * hashtab.c (htab_remove_elt_with_hash): New function.
1175 (htab_remove_elt): Implement in terms of htab_remove_elt_with_hash.
1176
1177 2004-03-31 Richard Henderson <rth@redhat.com>
1178
1179 * hashtab.c (htab_size): Move to top of file; mark inline.
1180 (htab_elements): Likewise.
1181 (htab_mod, htab_mod_m2): New.
1182 (htab_delete): Refactor htab->size and htab->entries.
1183 (htab_empty): Likewise.
1184 (find_empty_slot_for_expand): Use htab_size, htab_mod, htab_mod_m2.
1185 (htab_find_with_hash, htab_find_slot_with_hash): Likewise.
1186 (htab_clear_slot): Use htab_size, htab_elements.
1187 (htab_traverse_noresize, htab_traverse): Likewise.
1188
1189 2004-03-17 Ian Lance Taylor <ian@wasabisystems.com>
1190
1191 * pex-unix.c (pexecute): Use vfork instead of fork, with
1192 appropriate changes to make this safe.
1193 * pex-common.h (STDERR_FILE_NO): Define.
1194
1195 * Makefile.in: Clean up REQUIRED_OFILES and CONFIGURED_OFILES for
1196 an 80 column screen. Run maint-deps.
1197
1198 2004-03-09 Kelley Cook <kcook@gcc.gnu.org>
1199
1200 * configure.ac: Bump version to 2.59. Apply suggested autoupdates.
1201 * acconfig.h: Delete redundant file.
1202 * config.in: Regenerate.
1203 * configure: Regenerate.
1204
1205 2004-03-09 Hans-Peter Nilsson <hp@axis.com>
1206
1207 * configure: Regenerate for config/accross.m4 correction.
1208
1209 2004-03-07 Andreas Jaeger <aj@suse.de>
1210
1211 * testsuite/test-demangle.c: Include <string.h> and <stdlib.h> for
1212 prototypes.
1213 (main): Initialize style.
1214
1215 2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
1216
1217 * cp-demangle.h (enum d_builtin_type_print): Add D_PRINT_UNSIGNED,
1218 D_PRINT_UNSIGNED_LONG, D_PRINT_LONG_LONG,
1219 D_PRINT_UNSIGNED_LONG_LONG, D_PRINT_FLOAT.
1220 * cp-demangle.c (cplus_demangle_builtin_types): Change char and
1221 short types to D_PRINT_DEFAULT. Change other integer types to use
1222 new D_PRINT_* values where appropriate. Change float types to
1223 D_PRINT_FLOAT.
1224 (d_print_comp) [LITERAL, LITERAL_NEG]: Handle new D_PRINT_*
1225 values.
1226 * testsuite/demangle-expected: Adjust two test cases.
1227
1228 * cp-demangle.c (d_print_function_type): Print a space before the
1229 parenthesis around the function type in more cases.
1230 * testsuite/demangle-expected: Adjust one test case.
1231
1232 * cp-demangle.c (d_print_comp) [UNARY]: Don't emit extra
1233 parentheses around a cast.
1234 * testsuite/demangle-expected: Adjust two test cases to match new
1235 output.
1236
1237 * cp-demangle.c (__cxa_demangle): Pass DMGL_PARAMS to d_demangle.
1238
1239 * cp-demangle.c (d_print_comp) [RESTRICT, VOLATILE, CONST]: Don't
1240 push more than one of the same CV-qualifier on the top of the
1241 stack.
1242 (d_print_comp) [ARRAY_TYPE]: If the array itself is CV-qualified,
1243 move the CV-qualifiers to apply to the element type instead.
1244 (d_print_array_type): When checking the modifiers, keep looking
1245 past ones which have been printed already.
1246 * testsuite/demangle-expected: Add three test cases.
1247
1248 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
1249
1250 * cp-demangle.c (__cxa_demangle): Adjust last patch to handle
1251 empty string correctly.
1252
1253 * cp-demangle.c (__cxa_demangle): It is not an error if status is
1254 not NULL. It is an error if the mangled name is the same as a
1255 built-in type name.
1256 (main): If IN_GLIBCPP_V3 is defined, test __cxa_demangle rather
1257 than cplus_demangle_v3.
1258
1259 * dyn-string.c: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
1260 the associated #define of RETURN_ON_ALLOCATION_FAILURE.
1261
1262 2004-02-16 Matt Kraai <kraai@alumni.cmu.edu>
1263
1264 * regex.c: Include <ansidecl.h>.
1265 (regcomp): Cast i to int.
1266 (regerror): Add ATTRIBUTE_UNUSED to parameter preg.
1267
1268 2004-01-25 Ian Lance Taylor <ian@wasabisystems.com>
1269
1270 * configure.ac: Add m4_pattern_allow(LIBOBJS).
1271 * configure: Regenerate.
1272
1273 2004-01-22 DJ Delorie <dj@redhat.com>
1274
1275 * Makefile.in: Convert to ./ throughout. Rebuild dependencies
1276 with explicit build rules.
1277 (VPATH): Remove.
1278 (.c.o): Poison.
1279 * configure.ac (pexecute, LIBOBJS): Add ./ .
1280 * maint-tool: Build dependencies with explicit rules.
1281
1282 2004-01-15 Kazu Hirata <kazu@cs.umass.edu>
1283
1284 * strdup.c (strdup): Constify the argument.
1285
1286 2004-01-14 Loren J. Rittle <ljrittle@acm.org>
1287
1288 * Makefile.in (distclean): Remove config.cache.
1289
1290 2004-01-13 Daniel Jacobowitz <drow@mvista.com>
1291
1292 * cp-demangle.c (d_make_comp): DEMANGLE_COMPONENT_CONSTRUCTION_VTABLE
1293 takes two parameters.
1294 * cp-demint.c (cplus_demangle_fill_component): Likewise.
1295
1296 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
1297
1298 * cp-demangle.c: Include "cp-demangle.h". If IN_GLIBCPP_V3 is
1299 defined, rename some functions which are to become static via
1300 #define.
1301 (CP_STATIC_IF_GLIBCPP_V3): Define.
1302 (struct d_operator_info): Move definition to cp-demangle.h, and
1303 rename to demangle_operator_info. Change all uses.
1304 (enum d_builtin_type_print): Move definition to cp-demangle.h.
1305 (struct d_builtin_type_info): Move definition to cp-demangle.h,
1306 and rename to demangle_builtin_type_info. Change all uses.
1307 (enum d_comp_type): Move definition to include/demangle.h, and
1308 rename to demangle_component_type, and change all enums to start
1309 with DEMANGLE_COMPONENT_ instead of D_. Change all uses.
1310 (struct d_comp): Move definition to include/demangle.h, and rename
1311 to demangle_component. Change all uses.
1312 (struct d_info): Move definition to cp-demangle.h.
1313 (cplus_demangle_fill_name): New function.
1314 (cplus_demangle_fill_extended_operator): New function.
1315 (cplus_demangle_fill_ctor): New function.
1316 (cplus_demangle_fill_dtor): New function.
1317 (d_make_empty): Remove type parameter. Change all callers.
1318 (d_make_name): Use cplus_demangle_fill_name.
1319 (d_make_extended_operator): Use
1320 cplus_demangle_fill_extended_operator.
1321 (d_make_ctor): Use cplus_demangle_fill_ctor.
1322 (d_make_dtor): Use cplus_demangle_fill_dtor.
1323 (cplus_demangle_mangled_name): Rename from d_mangled_name. Make
1324 non-static by default. Change all callers.
1325 (cplus_demangle_operators): Rename from d_operators. Change all
1326 uses. Make non-static by default. Add sentinel at end of array.
1327 (d_operator_name): Adjust initialization of high for new sentinel
1328 in cplus_demangle_operators.
1329 (cplus_demangle_builtin_types): Rename from d_builtin_types.
1330 Change all uses. Make non-static by default. Change initializer
1331 to use D_BUILTIN_TYPE_COUNT instead of magic number 26.
1332 (cplus_demangle_type): Rename from d_type. Make non-static by
1333 default. Change all callers.
1334 (cplus_demangle_init_info): Rename from d_init_info. Make
1335 non-static by default. Change all callers.
1336 * cp-demangle.h: New file.
1337 * cp-demint.c: New file.
1338 * Makefile.in: Rebuild dependencies.
1339 (CFILES): Add cp-demint.c.
1340 (REQUIRED_OFILES): Add cp-demint.o.
1341
1342 2004-01-09 Kelley Cook <kcook@gcc.gnu.org>
1343
1344 * configure.in: Rename file to ...
1345 * configure.ac: ... this.
1346 * Makefile.in: Update a comment for above change.
1347 * README: Likewise.
1348 * config.in: Regenerate.
1349
1350 2004-01-02 Ian Lance Taylor <ian@wasabisystems.com>
1351
1352 * cp-demangle.c (d_encoding): When DMGL_PARAMS is not set, strip
1353 CV-qualifiers from D_COMP_LOCAL_NAME right subtree.
1354 * cplus-dem.c (demangle_arm_hp_template): Set DMGL_PARAMS when
1355 demangling template parameters.
1356 * testsuite/test-demangle.c (fail): New static function.
1357 (main): Support new options in input file: --no-params,
1358 --is-v3-ctor, and --is-v3-dtor.
1359 * testsuite/demangle-expected: Add --no-params to most tests, and
1360 add the correct result when parameters are not demangled. Add
1361 some simple tests for V3 constructor/destructor recognition.
1362
1363 2003-12-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1364
1365 * cp-demangle.c (is_ctor_or_dtor): Fix error in last change.
1366
1367 2003-12-22 Daniel Jacobowitz <drow@mvista.com>
1368
1369 PR debug/13272
1370 * Makefile.in (lbasename.o): Depend on filenames.h.
1371 * lbasename.c: Include "filenames.h" instead of defining
1372 its macros locally.
1373
1374 2003-12-22 Ian Lance Taylor <ian@wasabisystems.com>
1375
1376 * cp-demangle.c (CP_DYNAMIC_ARRAYS): Define if compiler supports
1377 dynamic arrays.
1378 (struct d_operator_info): Add len field.
1379 (struct d_builtin_type_info): Add len and java_len fields.
1380 (struct d_standard_sub_info): Add simple_len, full_len, and
1381 set_last_name_len fields.
1382 (struct d_comp): Add len field to s_string.
1383 (struct d_info): Add send, did_subs, and expansion fields.
1384 (d_append_string_constant): Define.
1385 (d_append_string): Remove. Change all users to use
1386 d_append_string_constant or d_append_buffer instead.
1387 (d_make_sub): Add len parameter. Change all callers.
1388 (d_name): Increase expansion when substituting std::.
1389 (d_unqualified_name): Increase expansion for an operator.
1390 (d_number): Don't use multiplication for negative numbers.
1391 (d_identifier): Make sure there are enough characters in the
1392 string for the specified length. Adjust expansion for an
1393 anonymous namespace.
1394 (d_operators): Initialize len field.
1395 (d_special_name, d_ctor_dtor_name): Increase expansion.
1396 (d_builtin_types): Initialize len and java_len fields.
1397 (d_type): Increase expansion for a builtin type.
1398 (d_cv_qualifiers): Increase expansion for each qualifier.
1399 (d_bare_function_type): Decrease expansion when removing single
1400 void parameter.
1401 (d_template_param): Increment did_subs.
1402 (d_expression): Increase expansion for an operator.
1403 (d_expr_primary): Decrease expansion for a type we will print
1404 specially.
1405 (standard_subs): Initialize new fields.
1406 (d_substitution): Increment did_subs when doing a normal
1407 substitution. Increase expansion for a special substitution.
1408 (d_print): Add estimate parameter. Change all callers.
1409 (d_print_comp) [D_COMP_NAME]: Handle C++ case inline.
1410 (d_print_comp) [D_COMP_BINARY]: Use length to avoid strcmp call.
1411 (d_print_java_identifier): Rename from d_print_identifier. Handle
1412 only Java case. Change caller.
1413 (d_init_info): Change return type to void. Change all callers.
1414 Initialize send, did_subs, and expansion fields. Do not
1415 initialize comps and subs fields.
1416 (d_demangle): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and subs
1417 arrays on stack. Make an estimate of the length of the demangled
1418 name. Ifdef CP_DEMANGLE_DEBUG, print estimation failures.
1419 (is_ctor_or_dtor): Ifdef CP_DYNAMIC_ARRAYS, allocate comps and
1420 subs arrays on stack.
1421
1422 2003-12-20 Ian Lance Taylor <ian@wasabisystems.com>
1423
1424 * cp-demangle.c (d_identifier): In Java mode, skip an optional '$'
1425 after the identifier.
1426 * testsuite/demangle-expected: Add test case.
1427
1428 2003-12-19 Ian Lance Taylor <ian@wasabisystems.com>
1429
1430 Fix for PR c++/13447:
1431 * cp-demangle.c (enum d_comp_type): Add D_COMP_LOCAL_NAME.
1432 (d_dump, d_make_comp): Handle D_COMP_LOCAL_NAME.
1433 (is_ctor_dtor_or_conversion): Handle D_COMP_LOCAL_NAME like
1434 D_COMP_QUAL_NAME.
1435 (is_ctor_or_dtor): Likewise.
1436 (d_local_name): Use D_COMP_LOCAL_NAME rather than
1437 D_COMP_QUAL_NAME.
1438 (d_print_comp) [D_COMP_LOCAL_NAME]: New.
1439 (d_prinT_comp) [D_COMP_TYPED_NAME]: If the left tree is
1440 D_COMP_LOCAL_NAME, pull any qualifiers off its right subtree.
1441 (d_print_mod_list): Handle D_COMP_LOCAL_NAME.
1442 * testsuite/demangle-expected: Add two test cases.
1443
1444 * cp-demangle.c (d_print_function_type): Clear the global modifier
1445 list when printing the modifiers, not just when printing the
1446 function parameters.
1447 * testsuite/demangle-expected: Add two test cases.
1448
1449 2003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
1450
1451 * cp-demangle.c (d_print_function_type): Print the function
1452 parameters with no modifiers.
1453 * testsuite/demangle-expected: Add test case.
1454
1455 * cp-demangle.c (d_demangle): If DMGL_PARAMS is not set, don't
1456 expect that we've read the entire string.
1457 (is_ctor_or_dtor): Don't expect that we've read the entire
1458 string--reverse patch of 2003-11-29.
1459
1460 2003-12-15 Brendan Kehoe <brendan@zen.org>
1461
1462 * libiberty/Makefile.in (floatformat.o): Add dependency on
1463 config.h to accompany change of 2003-12-03.
1464
1465 2003-12-15 Ian Lance Taylor <ian@wasabisystems.com>
1466
1467 Fix handling of constructor/destructor of standard substitution:
1468 * cp-demangle.c (struct d_standard_sub_info): Define.
1469 (d_substitution): Add prefix argument. Change all callers.
1470 Rework handling of standard substitutions to print full name when
1471 qualifying a constructor/destructor, or when DMGL_VERBOSE is set.
1472 * testsuite/demangle-expected: Add test case.
1473
1474 Fix handling of negative literal constants:
1475 * cp-demangle.c (enum d_comp_type): Add D_COMP_LITERAL_NEG.
1476 (d_dump, d_make_comp): Handle D_COMP_LITERAL_NEG.
1477 (d_expr_primary): Use D_COMP_LITERAL_NEG for a negative number.
1478 (d_print_comp): Handle D_COMP_LITERAL_NEG.
1479 * testsuite/demangle-expected: Add test case.
1480
1481 2003-12-04 Ian Lance Taylor <ian@wasabisystems.com>
1482
1483 * cp-demangle.c (IS_UPPER, IS_LOWER): Define.
1484 (d_last_char): Define new macro.
1485 (d_make_name): Reject an empty name.
1486 (d_prefix, d_unqualified_name, d_type): Use new IS_* macros.
1487 (d_substitution, d_print_identifier): Likewise.
1488 (d_print_comp) [D_COMP_OPERATOR]: Likewise.
1489 (d_print_comp) [D_COMP_TEMPLATE]: Use new d_last_char macro.
1490 (d_print_mod) Use new d_last_char macro.
1491 (d_print_cast): Use new d_last_char macro.
1492 (is_ctor_or_dtor): Don't leak memory.
1493
1494 Fix handling of member function modifiers:
1495 * cp-demangle.c (enum d_comp_type): Add D_COMP_RESTRICT_THIS,
1496 D_COMP_VOLATILE_THIS, and D_COMP_CONST_THIS.
1497 (d_dump): Dump new d_comp_type values.
1498 (d_make_comp): Accept new d_comp_type values.
1499 (has_return_type): Only accept _THIS variants of qualifiers.
1500 (d_encoding): Without DMGL_PARAMS, only remove _THIS variants of
1501 qualifiers.
1502 (d_cv_qualifiers): Add member_fn parameter. Change all callers.
1503 (d_print_comp) [D_COMP_TYPED_NAME]: Rather than removing
1504 qualifiers and printing them at the end, add _THIS qualifiers to
1505 the modifier list.
1506 (d_print_comp) [D_COMP_*_THIS]: New cases.
1507 (d_print_comp) [D_COMP_PTRMEM_TYPE]: Remove special handling of
1508 qualifiers.
1509 (d_print_mod_list): Add suffix parameter. Change all callers.
1510 Keep walking the list even if the current modifier has been
1511 printed.
1512 (d_print_mod): Handle new _THIS qualifiers.
1513 (d_print_function_type): Handle new _THIS qualifiers when deciding
1514 whether to print a parenthesis. Put a space before the
1515 parenthesis in some cases. Call d_print_mod_list again at the
1516 end, passing suffix as 1.
1517 (is_ctor_or_dtor): Look for new _THIS qualifiers.
1518 * testsuite/demangle-expected: Add test case.
1519
1520 Fix for PR gcc/13304:
1521 * cp-demangle.c (d_print_comp) [D_COMP_TEMPLATE]: If the character
1522 before the '<' is itself a '<', insert a space.
1523 (d_print_cast): Likewise.
1524 * testsuite/demangle-expected: Add test case.
1525
1526 Fix for PR gcc/13244:
1527 * cp-demangle.c (d_print_comp) [D_COMP_BINARY]: Wrap an expression
1528 which uses the '>' operator in an extra layer of parens.
1529 * testsuite/demangle-expected: Add test case.
1530
1531 2003-12-03 Ian Lance Taylor <ian@wasabisystems.com>
1532
1533 * floatformat.c: Include "config.h" and <string.h> if available.
1534 (INFINITY, NAN): Define if not defined by <math.h>.
1535 (floatformat_to_double): Handle NaN, infinity, and denormalized
1536 numbers.
1537 (floatformat_from_double): Likewise.
1538 (ieee_test): In debugging code, use little endian rather than big
1539 endian. Correct tests to handle NaN and to check correct sign of
1540 zero. Omit m68k extended test.
1541 (main): Add more debugging cases.
1542
1543 2003-11-29 Ian Lance Taylor <ian@wasabisystems.com>
1544
1545 * cp-demangle.c (d_demangle): Only return success if we consumed
1546 the entire demangled string.
1547 (is_ctor_or_dtor): Likewise.
1548
1549 * testsuite/demangle-expected: Revert one part of 2003-06-26 patch
1550 to restore expected result of EDG test case to original expected
1551 result.
1552
1553 2003-11-26 Ian Lance Taylor <ian@wasabisystems.com>
1554
1555 * cp-demangle.c (struct d_print_mod): Add templates field.
1556 (d_make_builtin_type): Check for NULL type.
1557 (d_make_extended_operator): Check for NULL name.
1558 (d_make_ctor, d_make_dtor): Likewise.
1559 (d_mangled_name): Add top_level parameter. Change all callers.
1560 (d_encoding): If DMGL_PARAMS is not set, strip off initial
1561 CV-qualifiers.
1562 (d_type): Check some return values we rely on.
1563 (d_bare_function_type, d_array_type): Likewise.
1564 (d_pointer_to_member_type, d_template_args): Likewise.
1565 (d_add_substitution): Fail if argument is NULL.
1566 (d_print_resize): Check whether buf is NULL.
1567 (d_print_comp): Save current templates list with each modifier.
1568 Don't pass the modifier list down when printing a template.
1569 (d_print_cast): Don't pass the modifier list down when printing a
1570 template.
1571 (d_print_mod_list): Temporarily set templates list while printing
1572 a modifier.
1573 (d_print_mod): Check that buf is not NULL before using it.
1574 (d_print_function_type): Print parens if there is no modifier.
1575 (d_init_info): Permit as many substitutions as there are
1576 characters in the mangled name.
1577 * testsuite/demangle-expected: Add two new test cases.
1578
1579 2003-11-25 Ian Lance Taylor <ian@wasabisystems.com>
1580
1581 * cp-demangle.c (java_demangle_v3): Pass DMGL_PARAMS to
1582 d_demangle.
1583
1584 2003-11-22 Ian Lance Taylor <ian@wasabisystems.com>
1585
1586 * cp-demangle.c (d_encoding): Add top_level parameter. Change all
1587 callers.
1588 (print_usage): Display new -p option.
1589 (long_options): Add --no-params.
1590 (main): Accept and handle -p.
1591
1592 2003-11-21 Ian Lance Taylor <ian@wasabisystems.com>
1593
1594 * cp-demangle.c (has_return_type): Skip qualifiers when checking
1595 whether we have a template.
1596 * testsuite/demangle-expected: Add four new tests.
1597
1598 2003-11-20 Ian Lance Taylor <ian@wasabisystems.com>
1599
1600 * testsuite/demangle-expected: Minor changes to match output of
1601 new demangler: adjust whitespace in four tests, and change order
1602 of qualifiers in one test.
1603
1604 * cp-demangle.c: Complete rewrite.
1605
1606 2003-11-19 Mark Mitchell <mark@codesourcery.com>
1607
1608 * cp-demangle.c (demangle_type): Correct thinko in substitution
1609 processing.
1610
1611 2003-11-18 Ian Lance Taylor <ian@wasabisystems.com>
1612
1613 * cp-demangle.c (demangle_operator_name): Remove space before
1614 "sizeof".
1615 (demangle_type_ptr): Put qualifiers in the right place. Handle
1616 qualifiers in pointer to member specially.
1617 (demangle_type): Handle qualifiers for pointer or reference
1618 specially. Handle function type.
1619 (demangle_local_name): Save and restore caret around demangling of
1620 initial encoding.
1621
1622 * testsuite/test-demangle.c (main): Don't pass DMGL_VERBOSE to
1623 cplus_demangle.
1624
1625 * testsuite/Makefile.in (test-demangle): Depend upon libiberty.a.
1626
1627 2003-10-31 Andreas Jaeger <aj@suse.de>
1628
1629 * floatformat.c (floatformat_always_valid): Add unused attribute.
1630
1631 2003-10-30 Josef Zlomek <zlomekj@suse.cz>
1632
1633 Jan Hubicka <jh@suse.cz>
1634 * vasprintf.c (int_vasprintf): Pass va_list by value.
1635 Use va_copy for copying va_list.
1636 (vasprintf): Pass va_list by value.
1637
1638 2003-10-30 Josef Zlomek <zlomekj@suse.cz>
1639
1640 * hashtab.c (htab_find_slot_with_hash): Decrease n_deleted
1641 instead of increasing n_elements when inserting to deleted slot.
1642
1643 2003-10-20 J. Brobecker <brobecker@gnat.com>
1644
1645 * cplus-dem.c (demangle_template): Register a new Btype only
1646 when needed.
1647 * testsuite/demangle-expected: Add a new test.
1648
1649 2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
1650
1651 * testsuite/demangle-expected: Update the expected output of
1652 _GLOBAL__I__Z2fnv.
1653
1654 2003-10-02 Daniel Jacobowitz <drow@mvista.com>
1655
1656 * strerror.c: Revert last change. Declare static sys_nerr
1657 and sys_errlist using different names.
1658
1659 2003-10-01 Daniel Jacobowitz <drow@mvista.com>
1660
1661 * strerror.c: Don't provide or reference sys_errlist if
1662 strerror is available.
1663
1664 2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
1665
1666 * configure.in: Check if $MAKEINFO is missing.
1667 * configure: Regenerated.
1668
1669 2003-09-24 Daniel Jacobowitz <drow@mvista.com>
1670
1671 * configure.in: Use AC_PROG_CPP_WERROR.
1672 * configure: Regenerated.
1673
1674 2003-09-22 Andrew Cagney <cagney@redhat.com>
1675
1676 * floatformat.c (floatformat_i387_ext_is_valid): New function.
1677 (floatformat_always_valid): New function.
1678 (floatformat_i387_ext): Initialize new "is_valid" field to
1679 "floatformat_i387_ext_is_valid".
1680 (floatformat_ieee_single_little): Initialize "is_valid" field to
1681 floatformat_always_valid.
1682 (floatformat_ieee_double_big): Ditto.
1683 (floatformat_ieee_double_little): Ditto.
1684 (floatformat_ieee_double_little): Ditto.
1685 (floatformat_ieee_double_littlebyte_bigword): Ditto.
1686 (floatformat_i960_ext): Ditto.
1687 (floatformat_m88110_ext): Ditto.
1688 (floatformat_m88110_harris_ext): Ditto.
1689 (floatformat_arm_ext_big): Ditto.
1690 (floatformat_arm_ext_littlebyte_bigword): Ditto.
1691 (floatformat_ia64_spill_big): Ditto.
1692 (floatformat_ia64_spill_little): Ditto.
1693 (floatformat_ia64_quad_big): Ditto.
1694 (floatformat_ia64_quad_little): Ditto.
1695 (floatformat_ia64_quad_little): Ditto.
1696 (floatformat_is_valid): Call "is_valid".
1697
1698 2003-09-15 Andrew Cagney <cagney@redhat.com>
1699
1700 * floatformat.c (get_field): Make "data" constant.
1701 (floatformat_is_valid, floatformat_to_double): Make "from"
1702 constant, fix casts.
1703 (floatformat_from_double): Make "from" constant.
1704
1705 2003-09-15 Daniel Jacobowitz <drow@mvista.com>
1706
1707 * floatformat.c (floatformat_is_valid): New function.
1708 (get_field, put_field): Correct comments.
1709
1710 2003-09-06 Josef Zlomek <zlomekj@suse.cz>
1711
1712 * fibheap.c (fibheap_replace_key_data): Change type of OKEY to
1713 FIBHEAPKEY_T.
1714
1715 2003-09-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1716
1717 PR bootstrap/12100
1718 * aclocal.m4 (AC_LANG_FUNC_LINK_TRY): Define.
1719 * configure: Rebuilt.
1720
1721 2003-08-27 Daniel Jacobowitz <drow@mvista.com>
1722
1723 * aclocal.m4: Include acx.m4 and no-executables.m4.
1724 (libiberty_AC_FUNC_STRNCMP): Use AC_LIBOBJ.
1725 (LIB_AC_PROG_CC): Remove.
1726 * configure.in: Update AC_PREREQ to 2.57. Use GCC_NO_EXECUTABLES.
1727 Use AC_PROG_CC and set ac_libiberty_warn_cflags instead of using
1728 LIB_AC_PROG_CC. Use AC_LIBOBJ. Call AC_ISC_POSIX later, only if
1729 performing link tests.
1730 * configure: Regenerated.
1731
1732 2003-08-12 Nathanael Nerode <neroden@gcc.gnu.org>
1733
1734 * cp-demangle.c: Clarify what package(s) this is part of.
1735
1736 2003-07-05 Danny Smith <dannysmith@users.sourceforge.net>
1737
1738 * pex-win32.c (pexecute): Mark parameters this_pname and
1739 temp_base as unused. Remove unused variables retries,
1740 sleep_interval. Initialize org_stdin, org_stdout.
1741 (pwait): Mark parameter flags as unused.
1742
1743 2003-07-02 Danny Smith <dannysmith@users.sourceforge.net>
1744
1745 * pex-win32.c (fix_argv): Ensure that the executable pathname
1746 uses Win32 backslashes.
1747 (pexecute): Cast away constness when assigning *errmsg_arg.
1748
1749 2003-06-26 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 * testsuite/demangle-expected: Add more GNU V3 testcases.
1752
1753 2003-06-22 Zack Weinberg <zack@codesourcery.com>
1754
1755 * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC,
1756 not HC_ASCII and HC_EBCDIC.
1757 Add documentation in form expected by gather-docs.
1758 * hex.c: Use HOST_CHARSET, not hand-coded check of character set.
1759 * Makefile.in, functions.texi: Regenerate.
1760
1761 2003-06-21 Zack Weinberg <zack@codesourcery.com>
1762
1763 * safe-ctype.c: Separate out EOF==-1 check. Use HOST_CHARSET
1764 for charset determination.
1765
1766 2003-06-19 Dara Hazeghi <dhazeghi@yahoo.com>
1767
1768 * configure.in: Add check for malloc.h needed by
1769 m68k for function free().
1770 * configure: Regenerated.
1771 * config.in: Add HAVE_MALLOC_H.
1772 * hashtab.c: include malloc.h were available for
1773 free().
1774
1775 2003-06-09 Albert Chin-A-Young <china@thewrittenword.com>
1776
1777 PR bootstrap/10974
1778 * physmem.c: Update comment.
1779 * configure.in: Modify test for _system_configuration for older
1780 AIX systems.
1781
1782 * config.in, configure: Regenerated.
1783
1784 2003-06-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1785
1786 PR other/10810
1787 * test-demangle.c (getline): Fix fence-post error.
1788
1789 2003-06-03 Nick Clifton <nickc@redhat.com>
1790
1791 * asprintf.c: Change comment to note that -1 is returned upon
1792 error.
1793 * vasprintf.c: Likewise.
1794 (vasprintf): Return -1 upon error.
1795 * functions.texi: Document changes to asprintf and vasprintf.
1796
1797 2003-05-19 Kelley Cook <kelleycook@wideopenwest.com>
1798
1799 * config.table: Accept i[345867]86 variant.
1800
1801 2003-05-15 Jim Blandy <jimb@redhat.com>
1802
1803 * hex.c (_hex_value): Make this unsigned.
1804 (hex_value): Update documentation for new return type. hex_value
1805 now expands to an unsigned int expression, to avoid unexpected
1806 sign extension when we store it in a bfd_vma, which is larger than
1807 int on some platforms.
1808 * functions.texi: Regenerated.
1809
1810 2003-05-07 Josef Zlomek <zlomekj@suse.cz>
1811
1812 * splay-tree.c (splay_tree_predecessor): Fix comment.
1813 (splay_tree_successor): Fix comment.
1814
1815 2003-05-07 Jason Merrill <jason@redhat.com>
1816
1817 * hashtab.c (iterative_hash): New fn.
1818 * configure.in: Add AC_C_BIGENDIAN_CROSS.
1819 * aclocal.m4: Include accross.m4.
1820 * configure, config.in: Regenerate.
1821
1822 2003-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1823
1824 * configure.in (AC_CHECK_FUNCS): Don't make multiple calls.
1825 * configure: Regenerate.
1826
1827 2003-05-03 Carlo Wood <carlo@alinoe.com>
1828
1829 * cp-demangle.c: Fix typo in "char_traints" string-literal.
1830
1831 2003-04-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1832
1833 * vsnprintf.c (vsnprintf): Don't pad string with extra nulls.
1834 (main): Test that we don't write too much data.
1835
1836 2003-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1837
1838 * configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and
1839 vsnprintf.
1840 * snprintf.c, vsnprintf.c: New files.
1841 * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c.
1842 (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o.
1843 Regenerate dependencies.
1844
1845 * functions.texi, configure, config.in: Regenerated.
1846
1847 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1848
1849 * mempcpy.c, stpcpy.c, stpncpy.c: New files.
1850 * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy
1851 and stpncpy.
1852 * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c.
1853 (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o.
1854 Regenerate dependencies.
1855
1856 * functions.texi, configure, config.in: Regenerated.
1857
1858 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1859
1860 * argv.c: Fix comments.
1861 * calloc.c: Don't unnecessarily include "libiberty.h".
1862 (bzero): Add prototype.
1863 * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
1864 * getcwd.c (getcwd): Use standard definition to avoid conflicts
1865 with system headers.
1866 * hashtab.c (htab_traverse): Delete unused variables.
1867 * rename.c: Include "ansidecl.h".
1868 (rename): Use standard definition to avoid conflicts with system
1869 headers.
1870 * strsignal.c: Rely on ANSI_PROTOTYPES.
1871 * strstr.c: Check GNUC >= 2, not GNUC == 2.
1872 * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES.
1873 * vprintf.c: Include "ansidecl.h" earlier, rely on
1874 ANSI_PROTOTYPES.
1875 * vsprintf.c: Include "ansidecl.h" earlier, rely on
1876 ANSI_PROTOTYPES and possibly include <stdarg.h>.
1877
1878 * Makefile.in: Regenerate dependencies.
1879
1880 2003-04-15 DJ Delorie <dj@redhat.com>
1881
1882 * maint-tool (deps): Scan for headers in $srcdir also.
1883
1884 2003-04-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1885
1886 PR target/10338
1887 PR bootstrap/10198
1888 PR bootstrap/10140
1889 * getopt.c (exchange, _getopt_initialize): Use mempcpy not
1890 __mempcpy.
1891 * regex.c (regerror): Likewise.
1892
1893 2003-04-14 Roger Sayle <roger@eyesopen.com>
1894
1895 * argv.c: Use ANSI_PROTOTYPES instead of __STDC__.
1896 * memchr.c: Likewise.
1897 * strcasecmp.c: Likewise.
1898 * strncasecmp.c: Likewise.
1899 * strncmp.c: Likewise.
1900 * xatexit.c: Likewise.
1901 * xmalloc.c: Likewise.
1902
1903 * copysign.c: Use traditional function declaration instead of DEFUN.
1904 * sigsetmask.c: Likewise.
1905
1906 * memcmp.c: Both of the above, ANSI_PROTOTYPES and DEFUN.
1907 * memset.c: Likewise.
1908
1909 * memcpy.c: ANSI_PROTOTYPES, DEFUN and prototype bcopy.
1910 * memmove.c: Likewise.
1911
1912 2003-04-14 Roger Sayle <roger@eyesopen.com>
1913
1914 * strdup.c (strdup): Tweak implementation to use memcpy.
1915
1916 2003-04-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1917
1918 * configure.in (HAVE_UINTPTR_T): Always define.
1919 * configure: Regenerated.
1920
1921 2003-03-23 Alexandre Oliva <aoliva@redhat.com>
1922
1923 * Makefile.in (MULTIOSDIR): New macro. Use $(CC) $(LIBCFLAGS)
1924 instead of $$CC alone.
1925 (install_to_tooldir): Use it.
1926
1927 2003-17-03 Jan Hubicka <jh@suse.cz>
1928
1929 * hashtab.c (htab_traverse_noresize): Break out from ...
1930 * hashtab.c (htab_traverse): ... here.
1931
1932 2003-12-03 Jan Hubicka <jh@suse.cz>
1933
1934 * hashtab.c (htab_expand): Fix warning.
1935
1936 * hashtab.c (htab_expand): Compute the size of hashtable based
1937 on the number of elements actually used.
1938 (htab_traverse): Call htab_expand when table is too empty.
1939
1940 2003-03-11 Carlo Wood <carlo@gnu.org>
1941
1942 * cplus-dem.c (demangle_integral_value): Correction to reflect
1943 patch of 2002-01-10 in order to also make negative multi-digits
1944 without leading underscore work.
1945
1946 2003-03-03 Mark Mitchell <mark@codesourcery.com>
1947
1948 * cplus-dem.c: Add license exception to copyright notice.
1949
1950 2003-02-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1951
1952 * physmem.c: Formatting changes from upstream.
1953
1954 2003-02-24 Danny Smith <dannysmith@users.source.forge.net>
1955
1956 * physmem.c (physmem_total): Add _WIN32 support.
1957 (physmem_available): Likewise.
1958
1959 2003-02-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1960
1961 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Test for
1962 GSI_PHYSMEM.
1963 (physmem_available) [HAVE_TABLE]: Test for TBL_VMSTATS.
1964
1965 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1966
1967 * configure.in: Check for sys/systemcfg.h and
1968 _system_configuration.
1969 * physmem.c: Add support for AIX. Tweek formatting as per
1970 upstream coreutils beta.
1971
1972 2003-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1973 Richard Earnshaw <rearnsha@arm.com>
1974 Geoffrey Keating <geoffk@apple.com>
1975
1976 * configure.in: Check for sys/sysctl.h and sysctl.
1977 * physmem.c: Add support for *bsd and darwin.
1978 * Makefile.in: Generate depedency for physmem.o.
1979
1980 2003-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1981
1982 * physmem.c (physmem_total) [HAVE_GETSYSINFO]: Use getsysinfo on
1983 Tru64 UNIX.
1984 (physmem_available) [HAVE_TABLE && HAVE_SYS_TABLE_H]: Use table on
1985 Tru64 UNIX.
1986
1987 * configure.in (AC_CHECK_HEADERS): Check for sys/sysinfo.h,
1988 machine/hal_sysinfo.h, sys/table.h.
1989 (checkfuncs, AC_CHECKFUNCS): Check for getsysinfo, table.
1990 * configure, config.in: Regenerate.
1991
1992 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1993
1994 * configure.in: Check for sys/sysmp.h and sysmp.
1995 * physmem.c: Pull upstream copy, add support for irix6.
1996
1997 * config.in, configure: Regenerated.
1998
1999 2003-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2000
2001 * physmem.c (physmem_total, physmem_available): De-ANSI-fy.
2002 * configure.in (AC_CHECK_FUNCS): Add pstat_getstatic and
2003 pstat_getdynamic.
2004
2005 2003-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2006
2007 * Makefile.in (CFILES): Add physmem.c.
2008 (REQUIRED_OFILES): Add physmem.o.
2009 * configure.in: Check for sys/pstat.h.
2010 (checkfuncs): Add pstat_getstatic and pstat_getdynamic.
2011 * physmem.c: New file, copied from textutils.
2012
2013 * config.in, configure: Regenerated.
2014
2015 2003-02-20 Daniel Jacobowitz <drow@mvista.com>
2016
2017 * Makefile.in (CFILES): Add lrealpath.c.
2018 (REQUIRED_OFILES): Add lrealpath.o.
2019 (lrealpath.o): Add rule.
2020 * aclocal.m4 (libiberty_NEED_DECLARATION): Add.
2021 * configure.in: Add realpath and canonicalize_file_name to
2022 checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION
2023 for canonicalize_file_name.
2024 * lrealpath.c: New file.
2025 * make-relative-prefix.c: Update documentation.
2026 (make_relative_prefix): Simplify. Use lbasename and lrealpath.
2027 * config.in: Regenerated.
2028 * configure: Regenerated.
2029 * functions.texi: Regenerated.
2030
2031 2003-02-20 jmc <jmc@prioris.mini.pw.edu.pl>
2032
2033 * cplus_dem.c: Fix typo: intializes -> initializes.
2034
2035 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2036
2037 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2038 config.status.
2039 * configure: Rebuilt.
2040
2041 2003-02-13 Daniel Jacobowitz <drow@mvista.com>
2042
2043 Fix PR c++/7612.
2044 * cplus-dem.c (demangle_signature): Call string_delete.
2045 Remove extra string_init.
2046 (demangle_arm_hp_template): Call string_delete instead of
2047 string_clear. Add missing string_delete call.
2048 (demangle_qualified): Add missing string_delete call.
2049 (do_type): Remove unused variable btype. Add missing string_delete
2050 call. Call string_delete instead of string_clear.
2051 (demangle_fund_type): Move variable btype inside of the switch
2052 statement. Add missing string_delete call.
2053 (do_arg): Call string_delete instead of string_clear. Remove extra
2054 string_init.
2055 (demangle_nested_args): Free work->previous_argument.
2056
2057 2003-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2058
2059 * acconfig.h: New file. Add uintptr_t.
2060 * config.in: Regenerated.
2061
2062 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
2063
2064 * libiberty.texi: Update to GFDL 1.2.
2065
2066 2003-01-30 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2067
2068 * Makefile.in (libiberty_topdir): New subst.
2069 (mkinstalldirs): Redefine in terms of the above.
2070 * configure.in: AC_SUBST it.
2071 * configure: Regenerate.
2072
2073 2003-01-28 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2074
2075 * Makefile.in (all-subdir, check-subdir, installcheck-subdir)
2076 (info-subdir, install-info-subdir, clean-info-subdir)
2077 (dvi-subdir, install-subdir, etags-subdir, mostlyclean-subdir)
2078 (clean-subdir, distclean-subdir, maintainer-clean-subdir):
2079 Pass $(FLAGS_TO_PASS).
2080
2081 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
2082
2083 * Makefile.in (install_to_tooldir): Instead of $(MULTISUBDIR), use
2084 /`$$CC -print-multi-os-directory`.
2085
2086 2003-01-26 Daniel Jacobowitz <drow@mvista.com>
2087
2088 * hashtab.c (htab_create_alloc_ex): New function.
2089 (hatab_set_functions_ex): New function.
2090 (htab_delete, htab_expand): Support alternate allocation functions.
2091
2092 2003-01-24 Christopher Faylor <cgf@redhat.com>
2093
2094 * configure.in: Remove special pex-cygwin consideration.
2095 * configure: Regenerate.
2096 * pex-cygwin.c: Remove.
2097 * Makefile.in: Remove pex-cygwin.[co] lines.
2098
2099 2003-01-24 Zack Weinberg <zack@codesourcery.com>
2100
2101 * Makefile.in (CFILES): Add pex-*.c.
2102 (REQUIRED_OFILES): Change pexecute.o to @pexecute@
2103 (CONFIGURED_OFILES): Add pex-*.o.
2104 (TEXIFILES): Add pexecute.txh.
2105 (pexecute.o): Delete rule.
2106 (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o,
2107 pex-unix.o, pex-win32.o): New rules.
2108 * configure.in: Change AC_INIT argument to xmalloc.c.
2109 Compute appropriate pexecute implementation and substitute it
2110 as @pexecute@.
2111
2112 * pexecute.c: Split up into...
2113 * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c,
2114 pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these
2115 new files.
2116
2117 * functions.texi: Regenerate.
2118 * configure: Regenerate.
2119
2120 2003-01-20 Josef Zlomek <zlomekj@suse.cz>
2121
2122 * hashtab.c (htab_expand): Fix allocation of new entries.
2123
2124 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2125
2126 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2127
2128 * Makefile.in (install_to_libdir, install_to_tooldir): Add a
2129 mkinstalldirs command.
2130
2131 2002-12-04 Danny Smith <dannysmith@users.sourceforge.net>
2132
2133 * make-relative-prefix.c (HAVE_HOST_EXECUTABLE_SUFFIX):
2134 Define for hosts with HOST_EXECUTABLE_SUFFIX.
2135
2136 2002-11-24 Nick Clifton <nickc@redhat.com>
2137
2138 * make-relative-prefix.c (make_relative_prefix): Ensure return
2139 string is empty before using strcat to construct it.
2140
2141 2002-11-22 Daniel Jacobowitz <drow@mvista.com>
2142
2143 * Makefile.in: Add make-relative-prefix.c.
2144 * make-relative-prefix.c: New file.
2145 * functions.texi: Rebuilt.
2146
2147 2002-11-16 Jakub Jelinek <jakub@redhat.com>
2148
2149 * md5.c (md5_process_block): Avoid `function-like macro "F{G,H,I}" must be
2150 used with arguments in traditional C' warnings.
2151
2152 2002-10-16 Jakub Jelinek <jakub@redhat.com>
2153
2154 * config.table: Use mh-s390pic for s390x too.
2155
2156 2002-10-06 Andreas Jaeger <aj@suse.de>
2157
2158 * libiberty/cplus-dem.c (ada_demangle): Get rid of unneeded
2159 variable and of strict-aliasing warning.
2160 (grow_vect): Use char as first parameter.
2161
2162 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2163
2164 * Makefile.in (all): Fix multilib parallel build.
2165
2166 2002-09-19 John David Anglin <dave@hiuly1.hia.nrc.ca>
2167
2168 * cp-demangle.c (demangling_new): Cast 0 to enum.
2169 (demangle_char): Cast return of strdup to char *.
2170 (is_gnu_v3_mangled_ctor): Cast 0 to enum.
2171 (is_gnu_v3_mangled_dtor): Likewise.
2172 * cplus-dem.c (grow_vect): Cast return of xrealloc to void *.
2173 (work_stuff_copy_to_from): Cast return of xmalloc to char **.
2174 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
2175 * md5.c (md5_process_bytes): Cast results back to const void *.
2176 (md5_process_block): Add cast to const md5_uint32 *.
2177 * regex.c (re_compile_fastmap): Cast enum to UCHAR_T.
2178 * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to
2179 unsigned short.
2180 * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc
2181 to void *.
2182 * vasprintf.c (int_vasprintf): Cast return of malloc to char *.
2183
2184 2002-09-19 Nick Clifton <nickc@redhat.com>
2185
2186 * README: Update email addresses for bugs and patches.
2187
2188 2002-09-10 Mike Stump <mrs@apple.com>
2189
2190 * splay-tree.c (splay_tree_successor): Fix comments.
2191
2192 2002-09-11 Zack Weinberg <zack@codesourcery.com>
2193
2194 * cplus-dem.c: Code under #ifdef MAIN moved to gcc/cp/cxxfilt.c.
2195 * testsuite/Makefile.in: Adjust for test-demangle.
2196 * testsuite/regress-demangle: Deleted.
2197 * testsuite/test-demangle.c: New file.
2198 * testsuite/demangle-expected: Change \$ to $ throughout, now that
2199 this file is not being read by a shell script.
2200
2201 2002-09-05 Roger Sayle <roger@eyesopen.com>
2202
2203 * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
2204
2205 2002-08-07 DJ Delorie <dj@redhat.com>
2206
2207 * regex.c (re_error_msgid): Just use a simple array of strings.
2208 (re_compile_pattern): Compensate.
2209 (re_comp): Likewise.
2210 (re_comp): Likewise.
2211 (regerror): Likewise.
2212
2213 2002-07-29 Neil Booth <neil@daikokuya.co.uk>
2214
2215 * cplus-dem.c (PREPEND_BLANK): Remove.
2216
2217 2002-07-10 Jason Merrill <jason@redhat.com>
2218
2219 * cp-demangle.c (demangle_identifier): Support extended Unicode
2220 characters.
2221
2222 2002-07-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2223
2224 * cp-demangle.c (demangle_v3_with_details): Wrap in
2225 !defined IN_GLIBCPP_V3.
2226
2227 2002-07-01 Mark Mitchell <mark@codesourcery.com>
2228
2229 * cp-demangle.c (demangle_operator_name): Add type_arg parameter.
2230 Set it for the "st" operator.
2231 (demangle_expression): Handle expressions with types as arguments.
2232
2233 2002-06-30 Douglas Rupp <rupp@gnat.com>
2234
2235 * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
2236 * Makefile.in (OUTPUT_OPTION): Use.
2237
2238 2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
2239
2240 * Makefile.in (install_to_libdir): Add $(DESTDIR).
2241 (install_to_tooldir): Likewise.
2242
2243 2002-06-17 Douglas Rupp <rupp@gnat.com>
2244
2245 * lbasename.c: Add 2002 to copyright.
2246 (IS_DIR_SEPARATOR): Remove VMS junk.
2247
2248 2002-06-05 Geoffrey Keating <geoffk@redhat.com>
2249
2250 * hashtab.c (htab_create): New stub function for backward
2251 compatibility.
2252 (htab_try_create): Likewise.
2253
2254 2002-06-03 Geoffrey Keating <geoffk@redhat.com>
2255
2256 * hashtab.c (htab_create): Delete.
2257 (htab_try_create): Delete.
2258 (htab_create_alloc): New.
2259 (htab_delete): Support user-specified memory allocation.
2260 (htab_expand): Likewise.
2261
2262 2002-05-22 Roman Lechtchinsky <rl@cs.tu-berlin.de>
2263
2264 * configure.in: Fix typo in the code checking for sys_errlist.
2265 * configure: Regenerated.
2266
2267 2002-05-13 Andreas Schwab <schwab@suse.de>
2268
2269 * config.table: Use mh-x86pic also for x86-64.
2270
2271 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
2272
2273 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2274 script entry, and set LD to it when configuring multilibs.
2275 * configure: Rebuilt.
2276
2277 2002-05-07 Mark Mitchell <mark@codesourcery.com>
2278
2279 * configure.in (AC_TYPE_PID_T): Use it.
2280 * configure: Regenerated.
2281 * getruntime.c: Include <sys/types.h>.
2282 * waitpid.c: Likewise. Use pid_t, not int, as the type of "pid".
2283
2284 2002-04-09 Richard Henderson <rth@redhat.com>
2285
2286 * hashtab.c (higher_prime_number): Use 7 as minimum.
2287 (find_empty_slot_for_expand): Don't compute hash2 unless needed.
2288 (htab_find_slot_with_hash): Likewise.
2289
2290 2002-04-01 Phil Edwards <pme@gcc.gnu.org>
2291
2292 * cp-demangle.c (__cxa_demangle): Also protect with IN_GLIBCPP_V3.
2293 (is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_ctor): Conditionally
2294 not compile if IN_GLIBCPP_V3 defined.
2295 * dyn-string.c: Also allow IN_GLIBCPP_V3 to change allocation scheme.
2296
2297 2002-03-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
2298
2299 * cp-demangle.c (java_demangle_v3): Don't try to release "demangled"
2300 if it is NULL.
2301
2302 2002-03-27 DJ Delorie <dj@redhat.com>
2303
2304 * hex.c: Add documentation.
2305 (_hex_value): Provide non-ASCII empty table.
2306 (hex_init): Initialize the non-ASCII table.
2307 * functions.texi: Regenerate.
2308
2309 2002-03-27 Mark Mitchell <mark@codesourcery.com>
2310
2311 * dyn-string.c: Add libgcc exception to copyright notice.
2312
2313 2002-03-26 H.J. Lu (hjl@gnu.org)
2314
2315 * config.table: Support --with-build-subdir.
2316 * configure.in: Likewise.
2317 * configure: Rebuild.
2318
2319 2002-03-18 Stuart Griffith <Stuart_Griffith@credence.com>
2320
2321 * strtod.c (strtod): Increment 8 chars, not 7, when `infinity'
2322 seen.
2323
2324 2002-03-12 Mark Mitchell <mark@codesourcery.com>
2325
2326 * cp-demangle.c: Add libgcc exception to cp-demangle.c copyright
2327 notice.
2328
2329 2002-03-11 Douglas B Rupp <rupp@gnat.com>
2330
2331 * xatexit.c [VMS]: Include stdlib.h and unixlib.h.
2332
2333 2002-03-06 Jim Blandy <jimb@redhat.com>
2334
2335 * splay-tree.c (splay_tree_xmalloc_allocate,
2336 splay_tree_xmalloc_deallocate): Use K&R-style definitions, not
2337 prototyped definitions. Mark `data' arguments as unused.
2338
2339 2002-03-06 Andrew Cagney <ac131313@redhat.com>
2340
2341 * floatformat.c (floatformat_arm_ext_big): Delete definition.
2342
2343 2002-03-04 Phil Edwards <pme@gcc.gnu.org>
2344
2345 * configure.in: Add --enable-install-libiberty option.
2346 * Makefile.in (INSTALLED_HEADERS): New variable.
2347 (install_to_libdir): Possibly also copy headers.
2348 * configure: Regenerated.
2349
2350 2002-03-04 Neil Booth <neil@daikokuya.demon.co.uk>
2351
2352 * xmalloc.c (xmalloc_fail): Clarify error message further.
2353
2354 2002-03-03 Neil Booth <neil@daikokuya.demon.co.uk>
2355
2356 * xmalloc.c (xmalloc_fail): Clarify error message.
2357
2358 2002-02-22 Jim Blandy <jimb@redhat.com>
2359
2360 * splay-tree.c (splay_tree_xmalloc_allocate,
2361 splay_tree_xmalloc_deallocate): New functions.
2362 (splay_tree_new): Call splay_tree_new_with_allocator, passing the
2363 above functions and a dummy data pointer.
2364 (splay_tree_new_with_allocator): New function.
2365 (splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
2366 splay_tree_remove): Use the splay tree's allocation and
2367 deallocation functions.
2368
2369 2002-02-19 Scott Snyder <snyder@fnal.gov>
2370
2371 * testsuite/demangle-expected: Add test case for infinite loop in
2372 demangler.
2373 * cplus-dem.c (demangle_arm_hp_template): Stop trying to demangle
2374 if do_type() doesn't make any progress --- prevents an infinite
2375 loop.
2376
2377 2002-02-18 Carlo Wood <carlo@gnu.org>
2378
2379 PR c++/5390
2380 * cplus-dem.c (demangle_integral_value): Accept multi-digit
2381 numbers that do not start with an underscore; This is needed
2382 for integer template parameters. This doesn't break anything
2383 because multi-digit numbers are never followed by a digit.
2384 * testsuite/demangle-expected: Corrected all mangled test
2385 cases with multi-digit template parameters: g++ 2.95.x does
2386 not generate underscores around these parameters.
2387
2388 2002-02-05 Jason Merrill <jason@redhat.com>
2389
2390 * cplus-dem.c (flags): Add DMGL_VERBOSE
2391 (cplus_demangle_v3_p): Remove.
2392 (demangle_it): Add DMGL_TYPES to passed flags.
2393 * cp-demangle.c (cplus_demangle_v3_all): Remove.
2394 (cplus_demangle_v3_type): Remove.
2395 (cplus_demangle_v3): Add options parm.
2396
2397 2002-02-02 H.J. Lu (hjl@gnu.org)
2398
2399 * cp-demangle.c (cp_demangle_type): Do not protect with
2400 IN_LIBGCC2.
2401 (cplus_demangle_v3_all): New.
2402 (cplus_demangle_v3): Call cplus_demangle_v3_all.
2403 (cplus_demangle_v3_type): Call cplus_demangle_v3_all.
2404
2405 * cplus-dem.c (cplus_demangle_v3_p): New function pointer.
2406 Initialized to cplus_demangle_v3.
2407 (cplus_demangle_with_style): Call cplus_demangle_v3_p instead
2408 of cplus_demangle_v3.
2409 (main): Set cplus_demangle_v3_p to cplus_demangle_v3_type for
2410 command line symbol.
2411
2412 * testsuite/regress-demangle: Pass the mangled name at the
2413 command line.
2414
2415 2002-02-01 H.J. Lu <hjl@gnu.org>
2416
2417 * cp-demangle.c (cp_demangle_type): Call demangling_new with
2418 DMGL_GNU_V3.
2419
2420 2002-01-31 Phil Edwards <pme@gcc.gnu.org>
2421
2422 * cp-demangle.c: Revert yesterday's change.
2423
2424 2002-01-31 Adam Megacz <adam@xwt.org>
2425
2426 * gcc/libiberty/configure.in: Treat mingw the same as cywin
2427 wrt HAVE_SYS_ERRLIST.
2428
2429 2002-01-30 Phil Edwards <pme@gcc.gnu.org>
2430
2431 * cp-demangle.c (cp_demangle_type): Do not protect with IN_LIBGCC2.
2432 (cplus_demangle_v3): Mimic __cxa_demangle and fall back on
2433 cp_demangle_type.
2434 * testsuite/demangle-expected: New gnu-v3 test.
2435
2436 2002-01-22 Momchil Velikov <velco@fadata.bg>
2437
2438 * configure.in (variable detection): Use arrays of unspecified
2439 size instead of plain integers.
2440
2441 2002-01-18 DJ Delorie <dj@redhat.com>
2442
2443 * Makefile.in (TESTLIB): New. This library is for future
2444 testsuites.
2445 (CFILES, REQUIRED_OFILES, CONFIGURED_OFILES): Re-alphabetize,
2446 break down by letter.
2447 (REQUIRED_OFILES): List long-to-compile files first.
2448 (maint-deps): New, target for updating dependencies.
2449 (dependencies): Update.
2450 * maint-tool: Add dependency-generating option.
2451 * configure.in: Check for _doprnt even if we're not providing it.
2452 * configure: Regenerate.
2453
2454 * _doprnt.c: Modifications to allow compiling on any platform.
2455 * copysign.c: Likewise.
2456 * putenv.c: Likewise.
2457 * setenv.c: Likewise.
2458 * vsprintf.c: Likewise.
2459
2460 2002-01-15 Douglas B Rupp <rupp@gnat.com>
2461
2462 * mkstemps.c (mkstemps): On VMS, open temp file with option
2463 that causes it to be deleted when closed.
2464
2465 2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2466
2467 * cp-demangle.c (long_options): Const-ify.
2468 * cplus-dem.c (long_options): Likewise.
2469
2470 * cplus-dem.c (mystrstr): Delete. All callers changed to use
2471 strstr instead.
2472
2473 2001-12-31 Ira Ruben <ira@apple.com>
2474
2475 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
2476 * configure: Regenerated.
2477
2478 2001-12-24 Douglas B. Rupp <rupp@gnat.com>
2479
2480 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
2481 * configure: Regenerated.
2482
2483 2001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
2484
2485 PR other/2719
2486 * cplus-dem.c (consume_count): Treat negative count as an error.
2487 * testsuite/demangle-expected: Added testcase.
2488
2489 Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
2490
2491 * configure.in: Hardcode that vfork works on VMS host.
2492 * configure: Regenerated.
2493
2494 2001-12-06 Richard Henderson <rth@redhat.com>
2495
2496 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
2497 (cplus_demangle): Support no_demangling.
2498
2499 2001-11-27 Zack Weinberg <zack@codesourcery.com>
2500
2501 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
2502 in libiberty context. Fix typo in leading comment.
2503 * configure.in: Fix various AC_DEFINEs so autoheader works.
2504 If any of vprintf, vsprintf, vfprintf is missing from libc,
2505 then AC_REPLACE_FUNCS(_doprnt).
2506
2507 2001-11-26 DJ Delorie <dj@redhat.com>
2508 Daniel Jacobowitz <drow@mvista.com>
2509
2510 * Makefile.in (stamp-h): Depend on Makefile for proper
2511 serialization.
2512 (*-subdir): Depend on config.h for proper serialization.
2513
2514 2001-11-26 DJ Delorie <dj@redhat.com>
2515
2516 * configure.in: Check for alloca.h (for regex.c and putenv.c).
2517 * configure: Regenerate.
2518 * config.h: Add HAVE_ALLOCA_H.
2519
2520 2001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2521
2522 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
2523 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
2524 is available.
2525
2526 Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
2527
2528 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
2529 * configure.in (HAVE_UINTPTR_T): Test for system defining
2530 uintptr_t and define HAVE_UINTPTR_T appropriately.
2531 * regex.c (uintptr_t): Do not provide a definition if the
2532 system provided one.
2533
2534 * regex.c (PREFIX): Provide an alternate definition for
2535 non-ANSI/ISO compilers.
2536 (ARG_PREFIX): Likewise.
2537
2538 2001-11-12 Jim Meyering <meyering@lucent.com>
2539
2540 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
2541 this code would end up calling gettext even in packages built
2542 with --disable-nls.
2543 * getopt.c (_): Likewise.
2544 * regex.c (_): Likewise.
2545
2546 2001-11-03 Alan Modra <amodra@bigpond.net.au>
2547
2548 * configure.in: Cope with missing makeinfo.
2549 * configure: Regenerate.
2550
2551 2001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2552
2553 * hex.c (hex_init): Provide empty stub.
2554
2555 * hex.c (hex_init): Delete.
2556 (_hex_value): Const-ify and initialize at compile-time.
2557
2558 2001-10-19 H.J. Lu <hjl@gnu.org>
2559
2560 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
2561 necessary.
2562
2563 2001-10-17 DJ Delorie <dj@redhat.com>
2564
2565 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
2566 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
2567 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
2568 Improve manual formatting.
2569 * functions.texi: Regenerate.
2570
2571 2001-10-15 DJ Delorie <dj@redhat.com>
2572
2573 * Makefile.in (TEXIFILES): Add fnmatch.txh.
2574 (maint-undoc): New.
2575 maint-tool: Add "undoc" tool.
2576 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
2577 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
2578 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
2579 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
2580 documentation.
2581 * fnmatch.txh: New.
2582 * functions.texi: Regenerate.
2583
2584 2001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
2585
2586 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
2587 * strtod.c: Use "ISO C" instead of "ANSI C".
2588 * functions.texi: Regenerate.
2589
2590 2001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
2591
2592 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
2593 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
2594 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
2595 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
2596 spelling. Give names to function arguments in documentation. Use
2597 (void) prototypes in documentation.
2598 * functions.texi: Regenerate.
2599
2600 2001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2601
2602 * argv.c (buildargv, tests, main): Const-ify.
2603 * cp-demangle.c (operator_code): Likewise.
2604 * cplus-dem.c (optable, libiberty_demanglers,
2605 cplus_demangle_set_style, cplus_demangle_name_to_style,
2606 print_demangler_list): Likewise.
2607 * hashtab.c (higher_prime_number): Likewise.
2608 * strcasecmp.c (charmap): Likewise.
2609 * strerror.c (error_info, strerror, main): Likewise.
2610 * strncasecmp.c (charmap): Likewise.
2611 * strsignal.c (signal_info): Likewise.
2612
2613 2001-09-29 DJ Delorie <dj@redhat.com>
2614
2615 * configure: Regenerate.
2616
2617 2001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2618
2619 * concat.c: Include stdlib.h.
2620
2621 2001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
2622
2623 * libiberty.texi: (Top level): Add syncodeindex pg. Add
2624 @dircategory and @direntry directives. Add @finalout.
2625 (many nodes): Lose the next,prev,up pointers on the @nide line.
2626 (Using, Supplemental Functions, Replacement Functions): Fix
2627 markup.
2628 (Functions): Move around, to allow makeinfo to build the manual
2629 without next,prev,up pointers in thye node lines.
2630 (Licenses): Fix typos.
2631
2632 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
2633 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
2634 * functions.texi: Regenerate.
2635
2636 * copying-lib.texi: Lose the next,prev,up pointers on the @node
2637 line.
2638
2639 2001-09-27 DJ Delorie <dj@redhat.com>
2640
2641 * configure.in: Don't use in-tree texinfo, because libiberty must
2642 be built before it. Check for makeinfo version 4 or higher.
2643 * functions.texi: Regenerate.
2644
2645 2001-09-20 DJ Delorie <dj@redhat.com>
2646 Phil Edwards <pedwards@disaster.jaj.com>
2647
2648 * configure.in (MAKEINFO, PERL): Detect these.
2649 (--enable-maintainer-mode): Add.
2650 * configure: Regenerate.
2651 * Makefile.in (MAKEINFO, PERL): Define.
2652 (libiberty.info, libiberty.dvi, libiberty.html): New.
2653 (CFILES): Add bsearch.c.
2654 (CONFIGURED_OFILES): New, list of objects configure might add.
2655 (maint-missing, maint-buildall): New, for maintainers only.
2656 (clean, mostlyclean): Add info/dvi/html files.
2657 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
2658 * gather-docs: New, for maintainers.
2659 * maint-tool: New, for maintainers.
2660 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
2661 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
2662 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
2663 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
2664 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
2665 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
2666 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
2667 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
2668 documentation.
2669
2670 2001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2671
2672 * concat.c (reconcat): Fix for traditional C.
2673
2674 2001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2675
2676 * concat.c (reconcat): New function.
2677
2678 2001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2679
2680 * concat.c (vconcat_length, vconcat_copy, concat_length,
2681 concat_copy, concat_copy2): New functions.
2682 (concat): Use vconcat_length/vconcat_copy.
2683
2684 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
2685 Define.
2686
2687 2001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2688
2689 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
2690 VA_FIXEDARG & VA_CLOSE.
2691
2692 * vasprintf.c: Check HAVE_STRING_H when including string.h.
2693 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
2694 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
2695
2696 2001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2697
2698 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
2699
2700 2001-08-23 Ulrich Drepper <drepper@redhat.com>
2701
2702 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
2703
2704 2001-08-23 Ulrich Drepper <drepper@redhat.com>
2705
2706 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
2707 instead of mbrtowc.
2708 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
2709 wcslen, and __wcscoll instead of wcscoll.
2710
2711 2001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2712
2713 * fibheap.c (fibheap_init, fibnode_init): Remove.
2714 (fibheap_new, fibnode_new): Use xcalloc to allocate and
2715 initialize memory.
2716 (fibheap_insert): Remove check for node allocation failure.
2717
2718 2001-08-21 Richard Henderson <rth@redhat.com>
2719
2720 * Makefile.in (fibheap.o): Depend on config.h.
2721 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
2722 functions for inlining.
2723
2724 Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
2725
2726 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
2727 hosting on cygwin.
2728 * configure: Regenerate.
2729
2730 2001-08-20 Andrew Cagney <ac131313@redhat.com>
2731
2732 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
2733 HARRIS_FLOAT_FORMAT.
2734 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
2735 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
2736 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
2737 (floatformat_m88110_harris_ext): New float formats.
2738
2739 2001-08-20 Daniel Berlin <dan@cgsoftware.com>
2740
2741 * fibheap.c: New file. Fibonacci heap.
2742
2743 * Makefile.in (CFILES): Add fibheap.c.
2744 (REQUIRED_OFILES): Add fibheap.o.
2745 (fibheap.o): Add dependencies for fibheap.o.
2746
2747 2001-08-17 Christopher Faylor <cgf@cygnus.com>
2748
2749 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
2750 * configure: Regenerate.
2751
2752 2001-08-16 Richard Henderson <rth@redhat.com>
2753
2754 * hashtab.c (htab_hash_string): New.
2755
2756 2001-08-13 Andrew Cagney <ac131313@redhat.com>
2757
2758 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
2759 name.
2760
2761 2001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
2762
2763 * regex.c (wcs_regex_compile): Use appropriate string
2764 to compare with collating element.
2765 Fix the padding for the alignment.
2766
2767 2001-08-10 Andrew Cagney <ac131313@redhat.com>
2768
2769 * lbasename.c (lbasename): Change function definition to return a
2770 const char pointer.
2771
2772 2001-08-07 Jason Merrill <jason_merrill@redhat.com>
2773
2774 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
2775 for".
2776
2777 2001-08-03 Richard Henderson <rth@redhat.com>
2778
2779 * Makefile.in (concat.o): Depend on config.h.
2780
2781 2001-07-30 Andreas Jaeger <aj@suse.de>
2782
2783 * concat.c: Include "config.h".
2784
2785 2001-07-30 Andreas Jaeger <aj@suse.de>
2786
2787 * regex.c: Declare wcs functions only if compiling with
2788 MBS_SUPPORT.
2789 Don't use #elif for traditional C.
2790
2791 2001-07-23 Ulrich Drepper <drepper@redhat.com>
2792
2793 * regex.c: Revamp memory allocation for WCHAR functions to
2794 not use too much stack.
2795
2796 2001-07-30 Andreas Jaeger <aj@suse.de>
2797
2798 * regex.c: Declare wcs functions only if compiling with
2799 MBS_SUPPORT.
2800 Don't use #elif for traditional C.
2801
2802 2001-07-25 Daniel Jacobowitz <drow@mvista.com>
2803
2804 * Makefile.in (regex.o): Add dependency on config.h.
2805
2806 2001-07-18 Andreas Schwab <schwab@suse.de>
2807
2808 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
2809 underscore character.
2810
2811 2001-07-18 Ulrich Drepper <drepper@redhat.com>
2812
2813 * regex.c: Limit string length printed in debug messages to 100
2814 chars.
2815
2816 2001-07-18 Andreas Jaeger <aj@suse.de>
2817
2818 * regex.c: Place under LGPL version 2.1.
2819
2820 2001-07-10 Jeff Johnston <jjohnstn@redhat.com>
2821
2822 * Makefile.in: Add support for regex code.
2823 * regex.c: New file.
2824
2825 2001-07-05 Mark Klein <mklein@dis.com>
2826
2827 * Makefile.in: Add ffs.c dependency.
2828 * configure.in: Add ffs.c.
2829 * ffs.c: New file.
2830
2831 2001-06-18 Richard Henderson <rth@redhat.com>
2832
2833 * concat.c: Include <sys/types.h>.
2834
2835 2001-06-11 Loren J. Rittle <ljrittle@acm.org>
2836
2837 bootstrap/3106
2838 * strerror.c (sys_nerr): Hide the OS header version.
2839 * strsignal.c (sys_nsig): Likewise.
2840
2841 2001-06-10 Richard Henderson <rth@redhat.com>
2842
2843 * concat.c: Include string.h. Fix int vs size_t usage.
2844 Simplify the iteration loops. Use memcpy.
2845
2846 2001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
2847
2848 * partition.c: Fix misspelling of `implementation'.
2849
2850 2001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
2851
2852 * md5.c (md5_init_ctx): Declare constants as unsigned.
2853 (md5_process_block): Likewise.
2854
2855 2001-05-07 Zack Weinberg <zackw@stanford.edu>
2856
2857 * cp-demangle.c (demangle_v3_with_details,
2858 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
2859 function definition.
2860 * ternary.c: Use K+R style function definitions. Use PTR, not
2861 void *. Make arguments constant where possible.
2862
2863 2001-05-07 Mark Mitchell <mark@codesourcery.com>
2864
2865 * splay-tree.h (splay_tree_max): New function.
2866 (splay_tree_min): Likewise.
2867
2868 2001-04-15 Daniel Berlin <dan@cgsoftware.com>
2869
2870 * ternary.c: New file - Ternary search tree implementation.
2871
2872 * Makefile.in: Add ternary.o, and ternary.c dependencies.
2873
2874 2001-04-03 Zack Weinberg <zackw@stanford.edu>
2875
2876 * make-temp-file.c (try): Inline.
2877
2878 2001-02-28 Richard Henderson <rth@redhat.com>
2879
2880 * Makefile.in (make-temp-file.o): Depend on config.h.
2881
2882 2001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2883
2884 * memchr.c (memchr): Adjust condition to avoid infinite loop.
2885
2886 2001-03-23 Jakub Jelinek <jakub@redhat.com>
2887
2888 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
2889 `_' not followed by a digit is invalid.
2890
2891 2001-03-22 Jim Blandy <jimb@redhat.com>
2892
2893 * cp-demangle.c (string_list_delete): Use dyn_string_delete
2894 instead of free, to free the contents as well as the string
2895 structure.
2896
2897 2001-03-21 Zack Weinberg <zackw@stanford.edu>
2898
2899 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
2900 Don't default P_tmpdir to anything. Try /var/tmp before
2901 /usr/tmp.
2902
2903 2001-03-20 Zack Weinberg <zackw@stanford.edu>
2904
2905 * choose-temp.c: Split off make_temp_file, and the code
2906 duplicated between it and choose_temp_base, into...
2907 * make-temp-file.c: ... here; new file.
2908
2909 * Makefile.in (CFILES): Add make-temp-file.c.
2910 (REQUIRED_OFILES): Add make-temp-file.o.
2911
2912 2001-03-20 Jim Blandy <jimb@redhat.com>
2913
2914 * cp-demangle.c (struct demangling_def): New fields:
2915 is_constructor and is_destructor.
2916 (demangling_new): Initialize them.
2917 (demangle_ctor_dtor_name): Set them, if we detect a constructor
2918 or destructor.
2919 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
2920 is_gnu_v3_mangled_dtor): New functions.
2921
2922 2001-03-20 Jason Merrill <jason@redhat.com>
2923
2924 * cplus-dem.c (main): Skip initial $.
2925
2926 2001-03-15 Michael Meissner <meissner@redhat.com>
2927
2928 * hashtab.c (higher_prime_number): Silence warning that 4294967291
2929 might be a signed integer under pre-ISO C systems.
2930
2931 2001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
2932 John David Anglin <dave@hiauly1.hia.nrc.ca>
2933
2934 * libiberty/lbasename.c: New file.
2935 * libiberty/Makefile.in: Update for lbasename.
2936
2937 2001-03-06 Zack Weinberg <zackw@stanford.edu>
2938
2939 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
2940 * configure.in: Replace all alloca logic with a simple use of
2941 the above new macro.
2942 * config.table: Kill *-*-beos* entry.
2943 * config/mh-beos: Delete.
2944 * configure, config.in: Regenerate.
2945
2946 * Makefile.in (ALLOCA, HFILES): Kill.
2947 (REQUIRED_OFILES): Add alloca.o.
2948 (alloca.o): Depend on libiberty.h.
2949 (argv.o): Don't depend on alloca-conf.h.
2950 * alloca-conf.h: Delete.
2951 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
2952 blocks. Provide the C alloca unconditionally. Use PTR where
2953 appropriate. Make i00afunc static.
2954 * argv.c: Don't include alloca-conf.h.
2955
2956 2001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
2957
2958 * cplus-dem.c (main): Cast enum style to int.
2959
2960 2001-02-16 Loren J. Rittle <ljrittle@acm.org>
2961
2962 * cplus-dem.c (main): Initialize style.
2963
2964 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2965
2966 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
2967
2968 2001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
2969
2970 Add support for Java demangling under the v3 ABI:
2971 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
2972 (struct demangling_def): Add `style' field.
2973 (demangling_new): New parameter `style'. Set it in demangling_t.
2974 (demangle_prefix): Use NAMESPACE_SEPARATOR.
2975 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
2976 (cp_demangle): New parameter `style'. Pass it to demangling_new().
2977 (main): Call cp_demangle with extra parameter.
2978 (java_demangle_v3): New function.
2979 (java_builtin_type_names): New. Table of primitive type names used
2980 for Java demangling.
2981 (demangle_builtin_type): Look up in java_builtin_type_names if doing
2982 Java output.
2983 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
2984 demangling.
2985 (long_options): Remove obsolete `java' option.
2986 (main): Remove explicit handling of `java' option. Instead, pass style
2987 parameter in cplus_demangle flags as gdb does.
2988 * testsuite/demangle.expected: Add some Java test cases.
2989
2990 2000-12-29 DJ Delorie <dj@redhat.com>
2991
2992 * fnmatch.c: Make the note about the origins of this file more
2993 accurate, at least until we can sync with glibc.
2994 * getopt.c: Ditto.
2995 * getopt1.c: Ditto.
2996 * md5.c: Ditto.
2997 * obstack.c: Ditto.
2998
2999 2000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3000
3001 * bsearch.c: New file.
3002 * configure.in (funcs): Add bsearch.
3003 (AC_CHECK_FUNCS): Likewise.
3004 * configure, config.in: Regenerate.
3005
3006 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3007
3008 * safe-ctype.c: #include "ansidecl.h".
3009 * strtod.c: Likewise.
3010
3011 2000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3012
3013 * strtoul.c: Include safe-ctype.h, not ctype.h.
3014
3015 2000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
3016
3017 * safe-ctype.c: New file.
3018 * Makefile.in (CFILES): Add safe-ctype.c.
3019 (REQUIRED_OFILES): Add safe-ctype.o.
3020
3021 * argv.c: Define ISBLANK and use it, not isspace.
3022 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
3023 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
3024 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
3025 before calling TOLOWER(c)/TOUPPER(c).
3026
3027 2000-12-07 Mike Stump <mrs@wrs.com>
3028
3029 * Makefile.in (distclean): When cleaning, remove testsuite.
3030
3031 2000-12-05 Jason Merrill <jason@redhat.com>
3032
3033 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
3034 name before allocating the dyn_string.
3035
3036 2000-12-04 Jason Merrill <jason@redhat.com>
3037
3038 * cp-demangle.c: s/new_abi/v3/.
3039 * cplus-dem.c: Likewise.
3040 (current_demangling_style): Now auto_demangling.
3041 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
3042 (main): Use standard symbol chars for auto_demangling.
3043
3044 2000-11-26 Mark Mitchell <mark@codesourcery.com>
3045
3046 * hashtab.c (higher_prime_number): Use a table, rather than a
3047 seive, to find the next prime.
3048
3049 2000-11-22 H.J. Lu <hjl@gnu.org>
3050
3051 * cplus-dem.c (main): Handle gnat_demangling.
3052
3053 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3054
3055 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
3056 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
3057 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
3058 argument form of AC_DEFINE in dummy definitions block. Use
3059 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
3060 in dummy block. Preload cache variables instead of bypassing
3061 tests, where possible.
3062 * acconfig.h: Removed.
3063
3064 * xmalloc.c (xmalloc_failed): New function, does error
3065 reporting on failed allocation.
3066 (xmalloc, xcalloc, xrealloc): Use it.
3067
3068 2000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
3069
3070 * cplus-dem.c (cplus_demangle): Fix formatting.
3071 (grow_vect): Ditto.
3072 (ada_demangle): Ditto.
3073 (internal_cplus_demangle): Ditto.
3074 (mop_up): Ditto.
3075
3076 2000-11-21 H.J. Lu <hjl@gnu.org>
3077
3078 * cplus-dem.c (main): Handle java_demangling.
3079
3080 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3081
3082 * cplus-dem.c (grow_vect): Prototype.
3083 (ada_demangle): Cast the arg of ctype macros to unsigned char.
3084
3085 2000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
3086
3087 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
3088 parameter `option'.
3089
3090 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
3091
3092 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
3093 be used in GCC.
3094
3095 2000-11-15 Kenneth Block <kenneth.block@compaq.com>
3096
3097 * cplus-dem.c: Add gnat demangler. Add java to demangle style
3098 list.
3099
3100 2000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
3101
3102 * hashtab.c (htab_expand): Change to return int. Use calloc or
3103 xcalloc depending on htab->return_allocation_failure. Return zero
3104 if calloc fails.
3105 (htab_create): Update comment to cover memory allocation.
3106 (htab_try_create): New.
3107 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
3108 Update comment to cover this.
3109
3110 2000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
3111
3112 * hashtab.c: Change void * to PTR where necessary.
3113 (htab_create, htab_expand): Correct formatting of comment before
3114 function.
3115
3116 2000-10-22 Alex Samuel <samuel@codesourcery.com>
3117
3118 * cp-demangle.c (string_list_def): Add caret_position and comments.
3119 (result_caret_pos): New macro.
3120 (result_append_string): Rename to...
3121 (result_add_string): ... this, and insert at caret position.
3122 Rename throughout.
3123 (result_append): Rename to...
3124 (result_add): ... this, and insert at caret position. Rename
3125 throughout.
3126 (result_append_char): Rename to...
3127 (result_add_char): ... this, and insert at caret position. Rename
3128 throughout.
3129 (result_append_space): Remove.
3130 (string_list_new): Initialize caret position.
3131 (result_add_separated_char): Use caret position.
3132 (result_get_caret): New funtion.
3133 (result_set_caret): Likewise.
3134 (result_shift_caret): Likewise.
3135 (result_previous_char_is_space): Likewise.
3136 (substitution_start): Use caret position.
3137 (substitution_add): Likewise.
3138 (demangling_new): Initialize caret position.
3139 (demangle_encoding): Use caret position.
3140 (demanglin_nested_name): Put CV qualifiers after name.
3141 (demangle_type_ptr): Use switch statement. Handle pointers to
3142 arrays. Don't use result_append_space. Use caret position.
3143 (demangle_type): Emit CV qualifiers after underlying type. Adjust
3144 call to demangle_array_type.
3145 (demangle_array_type): Add parameter to handle pointers to arrays.
3146
3147 2000-10-01 Mark Mitchell <mark@codesourcery.com>
3148
3149 * splay-tree.c (splay_tree_insert): Fix formatting.
3150
3151 2000-09-16 Mark Mitchell <mark@codesourcery.com>
3152
3153 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
3154
3155 2000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3156
3157 * splay-tree.c: #include <stdio.h>.
3158
3159 2000-09-14 Hans-Peter Nilsson <hp@axis.com>
3160
3161 * testsuite/demangle-expected: Add two tests for anonymous
3162 namespaces.
3163 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
3164
3165 2000-09-10 Mark Mitchell <mark@codesourcery.com>
3166
3167 * splay-tree.c (splay_tree_predecessor): New function.
3168 (splay_tree_successor): Likewise.
3169
3170 2000-09-10 Hans-Peter Nilsson <hp@axis.com>
3171
3172 * testsuite/demangle-expected: Add four tests for type_info
3173 mangling.
3174 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
3175 for a non-template non-qualified type_info function or node.
3176
3177 2000-09-08 Alex Samuel <samuel@codesourcery.com>
3178
3179 * cp-demangle.c: Fix copyright banner.
3180
3181 2000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3182
3183 * md5.c: #include "ansidecl.h".
3184
3185 2000-09-06 Alex Samuel <samuel@codesourcery.com>
3186
3187 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
3188 (demangle_type): Handle substitution candidates correctly in the
3189 face of special substitutions.
3190
3191 2000-09-05 Alex Samuel <samuel@codesourcery.com>
3192
3193 * cp-demangle.c (demangle_encoding): Rename variable.
3194 (demangle_name): Rename parameter. Handle return type
3195 suppression.
3196 (demangle_nested_name): Rename parameter.
3197 (demangle_prefix): Likewise. Change return type suppression.
3198 (demangle_unqualified_name): Add parameter. Flag constructors and
3199 conversion operators.
3200 (demangle_special_name): Fix comment.
3201 (demangle_type): Rename variable.
3202 (demangle_bare_function_type): Check for missing return type and
3203 parameter.
3204 (demangle_class_enum_type): Rename parameter.
3205 (demangle_discriminator): Fix misspelling in comment.
3206
3207 2000-08-31 DJ Delorie <dj@redhat.com>
3208
3209 * configure.in (Cygwin): special case cygwin only when we're
3210 building cygwin, not when we're hosting cygwin.
3211
3212 2000-09-04 Alex Samuel <samuel@codesourcery.com>
3213
3214 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
3215 <expression>.
3216
3217 2000-09-04 Alex Samuel <samuel@codesourcery.com>
3218
3219 * cp-demangle.c (demangle_type_ptr): Increment position past
3220 pointer and reference characters.
3221
3222 2000-09-04 Alex Samuel <samuel@codesourcery.com>
3223
3224 * cp-demangle.c (demangle_nv_offset): New function.
3225 (demangle_v_offset): Likewise.
3226 (demangle_call_offset): Likewise.
3227 (demangle_special_name): Update thunk demangling to comply with
3228 ABI changes.
3229
3230 2000-09-03 Alex Samuel <samuel@codesourcery.com>
3231
3232 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
3233 (substitution_def): Remove template_parm_number.
3234 (NOT_TEMPLATE_PARM): Remove.
3235 (result_insert_string): New macro.
3236 (result_insert): Likewise.
3237 (result_insert_char): Likewise.
3238 (substitution_add): Remove last parameter. Don't store template
3239 parm number.
3240 (BFT_NO_RETURN_TYPE): Define as NULL.
3241 (demangle_encoding): Adjust call to demangle_bare_function_type.
3242 (demangle_name): Adjust substitution. Adjust call to
3243 substitution_add.
3244 (demangle_prefix): Adjust call to substitution_add.
3245 (demangle_identifier): Handle anonymous namespaces.
3246 (demangle_operator_name): Change demangling of vendor-extended
3247 operator to match ABI changes.
3248 (demangle_type_ptr): Change parameters. Make recursive. Handle
3249 substitutions here.
3250 (demangle_type): Adjust calls to demangle_template_param,
3251 substitution_add, and demangle_type_ptr. Fix substitution of
3252 templated types.
3253 (demangle_function_type): Change parameter to a pointer.
3254 (demangle_bare_function_type): Likewise. Adjust insertion point.
3255 (demangle_template_param): Remove last parameter.
3256 (demangle_expr_primary): Remove unused variable. Adjust call to
3257 demangle_template_param.
3258 (is_mangled_char): Accept `$' and `.'.
3259 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
3260 * dyn-string.c (dyn_string_insert_char): New function.
3261
3262 2000-08-31 Hans-Peter Nilsson <hp@axis.com>
3263
3264 * testsuite/demangle-expected: Add nine tests for
3265 underscore-after-number followed by five tests for name-signature
3266 delimiter.
3267
3268 2000-08-28 Richard Henderson <rth@cygnus.com>
3269
3270 * Makefile.in (md5.o): Depend on config.h.
3271
3272 2000-08-28 Jason Merrill <jason@redhat.com>
3273
3274 * Makefile.in (REQUIRED_OFILES): Add md5.o.
3275 (CFILES): Add md5.c.
3276 * md5.c: New file.
3277
3278 2000-08-27 Alex Samuel <samuel@codesourcery.com>
3279
3280 * cp-demangle.c (demangle_name): Initialize template_p in local
3281 name case. Don't re-add substitutions as candidates.
3282 (demangle_nested_name): Use <unqualified-name>.
3283 (demangle_prefix): Likewise. Don't add template names as
3284 substitution candidates twice, or re-add a substitution or the
3285 last prefix component.
3286 (demangle_local_name): Adjust output format.
3287
3288 2000-08-25 Alex Samuel <samuel@codesourcery.com>
3289
3290 * cp-demangle.c (result_add_separated_char): Change parameter to
3291 int.
3292 (substitution_add): Don't check for duplicates. Check if
3293 previously allocated size is zero.
3294 (demangle_name): Remove duplicate check for std substitution.
3295 Clear template flag appropriately.
3296 (demangle_prefix): Remove argument to demangle_substitution.
3297 Don't check that template flag is already set.
3298 (demangle_operator_name): Add pt operator.
3299 (demangle_type): Don't treat r as built-in type. Remove argument
3300 to demangle_substitution. Fix substitution candidate mechanics.
3301 Handle <template-template-parm>s. Improve comments.
3302 (demangle_template_param): Don't handle template arg lists here.
3303 (demangle_substitution): Remove parameter.
3304 (print_usage): Remove extra fprintf option.
3305
3306 2000-08-24 Greg McGary <greg@mcgary.org>
3307
3308 * libiberty/random.c (end_ptr): Revert previous change.
3309
3310 2000-08-24 Greg McGary <greg@mcgary.org>
3311
3312 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
3313 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
3314 * libiberty/random.c (end_ptr): Likewise.
3315
3316 2000-08-23 Alex Samuel <samuel@codesourcery.com>
3317
3318 * cp-demangle.c (result_close_template_list): Remove function.
3319 (result_add_separated_char): New function.
3320 (result_open_template_list): New macro.
3321 (result_close_template_list): Likewise.
3322 (demangle_prefix): Don't set template_p if the
3323 prefix ends with a ctor name.
3324 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
3325 (demangle_type): Check for template args after substitution.
3326 (demangle_template_args): Use result_open_template_list.
3327
3328 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
3329
3330 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
3331
3332 2000-07-26 Dave Pitts <dpitts@cozx.com>
3333
3334 * config/mh-openedition.h: Added -DLE370 definition.
3335
3336 2000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
3337
3338 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
3339 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
3340 Cast program to 'char *' in errmsg_arg assignment.
3341 (PWAIT_ERROR): Define.
3342 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
3343 to DJGPP's WIF* macros.
3344
3345 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
3346 Jeff Law <law@cygnus.com>
3347
3348 * getcwd.c: Include string.h, stdlib.h for prototypes
3349
3350 * Makefile.in (rename.o, waitpid.o): Depend on config.h
3351 * rename.c: Include config.h, unistd.h
3352 * waitpid.c: Include config.h, sys/wait.h
3353
3354 2000-07-24 Hans-Peter Nilsson <hp@axis.com>
3355
3356 * cplus-dem.c (work_stuff_copy_to_from): New.
3357 (delete_non_B_K_work_stuff): New.
3358 (delete_work_stuff): New.
3359 (mop_up): Break out work_stuff partly destruction to
3360 delete_non_B_K_work_stuff.
3361 (iterate_demangle_function): New.
3362 (demangle_prefix): Call iterate_demangle_function instead of
3363 demangle_function_name. Leave handling of name-signature
3364 __-delimiters to iterate_demangle_function.
3365 (demangle_integral_value): Strip an optional
3366 following underscore cautiously. Handle negative numbers.
3367
3368 2000-07-24 Daniel Berlin <dberlin@redhat.com>
3369
3370 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
3371 if (AUTO_DEMANGLING || GNU_DEMANGLING)
3372
3373 2000-07-21 Alex Samuel <samuel@codesourcery.com>
3374
3375 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
3376 allocating ctor mangling.
3377 (demangle_array_type): Handle empty and non-constant array length.
3378
3379 2000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3380 Jeff Law <law@cygnus.com>
3381
3382 * configure.in (AC_CHECK_HEADERS): Add time.h.
3383 (AC_HEADER_TIME): Add check.
3384 * configure, config.in: Regenerate.
3385 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
3386
3387 * configure.in (AC_CHECK_HEADERS): Add limits.h.
3388 * configure, config.in: Regenerate.
3389 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
3390 * strtol.c, strtoul.c: #include "config.h". Portably #include
3391 <limits.h> and/or <sys/param.h>.
3392 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
3393
3394 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
3395 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
3396 * configure, config.in: Regenerate.
3397 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
3398
3399 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
3400
3401 2000-07-21 Mike Stump <mrs@wrs.com>
3402
3403 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
3404 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
3405
3406 2000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3407
3408 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
3409
3410 * setenv.c (setenv): Initialize variable `ep'.
3411
3412 * sigsetmask.c (abort): Prototype.
3413
3414 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
3415 __STDC__ for stdarg.h include.
3416 (int_vasprintf): Prototype.
3417 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
3418 definition. Cast `global_total_width' in comparison.
3419 (main): Prototype. Return a value.
3420
3421 * vfork.c (fork): Prototype.
3422
3423 * xexit.c: Include config.h.
3424
3425 2000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
3426
3427 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
3428 and print it with %u.
3429
3430 2000-07-17 Hans-Peter Nilsson <hp@axis.com>
3431
3432 * testsuite/regress-demangle (failed test): Show result and
3433 expected output.
3434
3435 2000-07-07 Andrew Haley <aph@cygnus.com>
3436
3437 * cplus-dem.c (main): fflush() after emitting last char before
3438 waiting for input.
3439
3440 2000-06-28 Alex Samuel <samuel@codesourcery.com>
3441
3442 * cp-demangle.c (demangle_encoding): Accept no substitutions.
3443 (demangle_name): Handle <substitution> followed by
3444 <unqualified-template-name>.
3445 (demangle_type): Follow special substitutions with
3446 <class-enum-type>
3447 (demangle_subtitution): Set template_p for special substitutions.
3448 (main): Fix typos.
3449
3450 2000-06-27 Alex Samuel <samuel@codesourcery.com>
3451
3452 * cp-demangle.c (demangle_special_name): Swap base and derived
3453 class when demangling construction vtables.
3454
3455 2000-06-21 Alex Samuel <samuel@codesourcery.com>
3456
3457 * cp-demangle.c: Don't include ctype.h.
3458 (IS_DIGIT): New macro.
3459 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
3460 instead of isdigit and isalpanum.
3461 (demangling_def): Make name and next const pointers.
3462 (STATUS_ALLOCATION_FAILED): New status code.
3463 (dyn_string_append_space): Handle failure in
3464 dyn_string_append_char.
3465 (int_to_dyn_string): Likewise. Change return value to status_t.
3466 (string_list_new): Handle failure of dyn_string_init.
3467 (result_close_template_list): Change return type to status_t.
3468 Handle failure in dyn_string_append.
3469 (result_push): Change return value to status_t. Handle failure in
3470 string_list_new. Handle failure of result_push throughout.
3471 (substitution_add): Change return value to status_t. Handle
3472 dyn_string failures. Handle failure of substitution_add
3473 throughout.
3474 (template_arg_list_new): Return NULL on allocation failure.
3475 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
3476 Handle error result throughout.
3477 (result_append): Likewise.
3478 (result_append_char): Likewise.
3479 (result_append_space): Likewise.
3480 (demangling_new): Make argument a const pointer. Handle
3481 allocation failures.
3482 (demangle_template_args): Handle failure in template_arg_list_new
3483 and result_close_template_list.
3484 (demangle_discriminator): Return if int_to_dyn_string fails.
3485 (cp_demangle): Likewise.
3486 (cp_demangle_type): New function.
3487 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
3488 memory allocation failure.
3489 (main): Likewise.
3490 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
3491 IN_LIBGCC2.
3492 (dyn_string_init): Change return value to int. Handle
3493 RETURN_ON_ALLOCATION_FAILURE case.
3494 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
3495 (dyn_string_release): Delete the dyn_string.
3496 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
3497 (dyn_string_copy): Change return type to int.
3498 (dyn_string_copy_cstr): Likewise.
3499 (dyn_string_prepend): Likewise.
3500 (dyn_string_prepend_cstr): Likewise.
3501 (dyn_string_insert): Likewise.
3502 (dyn_string_insert_cstr): Likewise.
3503 (dyn_string_append): Likewise.
3504 (dyn_string_append_cstr): Likewise.
3505 (dyn_string_append_char): Likewise.
3506 (dyn_string_substring): Likewise.
3507
3508 2000-06-09 Zack Weinberg <zack@wolery.cumb.org>
3509
3510 * cp-demangle.c (demangle_operator_name): Add spaces before
3511 names beginning with a letter: delete, delete[], new, new[],
3512 sizeof.
3513 (demangle_special_name): Handle TF <type> and TJ <type>.
3514
3515 Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
3516
3517 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
3518
3519 Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
3520
3521 * cp-demangle.c (stdio.h): File included unconditionaly.
3522 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
3523 * dyn-string.c (stdio.h): File included.
3524 * partition.c (partition_print): No `&' needed to take the address of
3525 a function.
3526
3527 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3528
3529 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
3530
3531 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
3532
3533 * cp-demangle.c (demangle_char): Change parameter from char to int.
3534 (demangle_expression, demangle_expr_primary): Remove extra
3535 semi-colon in prototype.
3536
3537 * dyn-string.c (dyn_string_append_char): Change parameter from
3538 char to int.
3539
3540 * memcmp.c (memcmp): Constify.
3541
3542 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
3543 __extension__.
3544
3545 * partition.c (elem_compare): Prototype. Don't cast away
3546 const-ness.
3547
3548 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
3549
3550 2000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3551
3552 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
3553
3554 * cp-demangle.c: Include demangle.h.
3555 (template_arg_list_new): DeANSIfy.
3556 (cp_demangle): Make static and add prototype.
3557 (operator_code, operators): Constify.
3558 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
3559
3560 2000-06-05 Alex Samuel <samuel@codesourcery.com>
3561
3562 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
3563 unsigned char.
3564 (demangle_unqualified_name): Likewise.
3565 (demangle_number_literally): Likewise.
3566 (demangle_type): Likewise.
3567 (demangle_substitution): Likewise.
3568 (is_mangled_char): Likewise, for isalnum.
3569
3570 2000-06-04 Alex Samuel <samuel@codesourcery.com>
3571
3572 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
3573 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
3574 (cp-demangle.o): New dependency.
3575 (dyn-string.o): Likewise.
3576
3577 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
3578
3579 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
3580 demangler.
3581 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
3582 demangling mode.
3583 (gnu_new_abi_symbol_characters): New function.
3584 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
3585 file.
3586 * cp-demangle.c: New file.
3587
3588 Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
3589
3590 * floatformat.c: Add name to each floatformat field.
3591
3592 Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
3593
3594 * Makefile.in (objalloc.o): Depend on config.h
3595
3596 2000-05-29 Zack Weinberg <zack@wolery.cumb.org>
3597
3598 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
3599 if HAVE_STRING_H.
3600 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
3601 * objalloc.c: Include config.h. Include stdlib.h and don't
3602 declare malloc or free if HAVE_STDLIB_H.
3603 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
3604 else declare malloc without prototype. Include string.h if
3605 HAVE_STRING_H, else declare memset without prototype. Don't
3606 include stddef.h.
3607
3608 2000-05-23 Mike Stump <mrs@wrs.com>
3609
3610 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
3611 -j3.
3612
3613 2000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3614
3615 * xmalloc.c: Include config.h for HAVE_SBRK definition.
3616
3617 2000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
3618
3619 * hashtab.c (hash_pointer): Delete low-order bits which are
3620 probably zero, also eliminate a warning on alpha.
3621
3622 2000-05-15 David Edelsohn <edelsohn@gnu.org>
3623
3624 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
3625 on $(enable_shared).
3626
3627 2000-05-10 Jakub Jelinek <jakub@redhat.com>
3628
3629 * config.table: Use mh-sparcpic for sparc*-*-*.
3630
3631 2000-05-08 Nick Clifton <nickc@cygnus.com>
3632
3633 * Makefile.in (CFILES): Add strncmp.c.
3634 (NEEDED): Add strncmp.
3635
3636 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3637
3638 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
3639 Cast the arguments to `islower' to `unsigned char'.
3640 (print_demangler_list): Prototype.
3641
3642 Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
3643
3644 * sort.c (UCHAR_MAX): Provide fallback definition.
3645
3646 2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
3647
3648 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
3649 SUBDIRS.
3650
3651 2000-04-28 Kenneth Block <block@zk3.dec.com>
3652 Jason Merrill <jason@casey.cygnus.com>
3653
3654 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
3655 (cplus_demangle_set_style): New function for setting style.
3656 (cplus_demangle_name_to_style): New function to translate name.
3657
3658 2000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3659
3660 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
3661
3662 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
3663 (libiberty_AC_FUNC_STRNCMP): Invoke.
3664
3665 * strncmp.c: New file.
3666
3667 Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
3668
3669 * hashtab.c (htab_expand): Add prototype.
3670 (find_empty_slot_for_expand): Likewise.
3671
3672 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3673
3674 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
3675 match prototype.
3676 (htab_expand): Cast the return value of xcalloc.
3677
3678 2000-04-24 Mark Mitchell <mark@codesourcery.com>
3679
3680 * hashtab.c (hash_pointer): New function.
3681 (eq_pointer): Likewise.
3682 (htab_hash_pointer): New variable.
3683 (htab_eq_pointer): Likewise.
3684
3685 2000-04-23 Mark Mitchell <mark@codesourcery.com>
3686
3687 * sort.c (sort_pointers): Fix endianness bugs.
3688
3689 * sort.c: New file.
3690 * Makefile.in (CFILES): Add sort.c
3691 (REQUIRED_OFILES): Add sort.o.
3692 (sort.o): New target.
3693
3694 2000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
3695
3696 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
3697 4.3BSD systems.
3698
3699 Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3700
3701 * hashtab.c: Various minor cleanups.
3702 (htab_find_slot_with_hash): INSERT is now enum insert_option.
3703 (htab_find_slot): Likewise.
3704
3705 2000-04-16 Dave Pitts <dpitts@cozx.com>
3706
3707 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
3708
3709 2000-04-05 Richard Henderson <rth@cygnus.com>
3710
3711 * splay-tree.c (splay_tree_remove): New.
3712
3713 2000-03-30 Mark Mitchell <mark@codesourcery.com>
3714
3715 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
3716 codes.
3717 (htab_find_with_hash): Likewise.
3718 (htab_find_slot_with_hash): Likewise.
3719
3720 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
3721
3722 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
3723 unless it will be used. Rearrange loop for better
3724 optimization.
3725 (higher_prime_number): Add static prototype.
3726
3727 Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
3728
3729 * Makefile.in (partition.o): Depend on config.h
3730
3731 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
3732
3733 * hashtab.c (find_empty_slot_for_expand): New function.
3734 (htab_expand): Use it instead of htab_find_slot.
3735 (htab_find_with_hash): Renamed from htab_find; now accepts extra
3736 argument HASH.
3737 (htab_find_slot_with_hash): Likewise for htab_find_slot.
3738 (htab_find): New wrapper function.
3739 (htab_find_slot): Likewise.
3740 (htab_traverse): Pass slot, not entry, to called function.
3741
3742 2000-03-09 Alex Samuel <samuel@codesourcery.com>
3743
3744 * Makefile.in (CFILES): Add partition.c.
3745 (REQUIRED_OFILES): Add partition.o.
3746 (partition.o): New rule.
3747 * partition.c: New file.
3748
3749 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
3750
3751 * hashtab.c (htab_create): Set del_f.
3752 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
3753 Use it.
3754
3755 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
3756
3757 * hashtab.c: Remove debugging variables (all_searches,
3758 all_collisions, all_expansions). Delete
3759 all_hash_table_collisions.
3760 (create_hash_table, delete_hash_table, empty_hash_table,
3761 find_hash_table_entry, remove_element_from_hash_table_entry,
3762 clear_hash_table_slot, traverse_hash_table, hash_table_size,
3763 hash_table_elements_number, hash_table_collisions): Rename to:
3764 htab_create, htab_delete, htab_empty, htab_find_slot,
3765 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
3766 htab_elements, htab_collisions.
3767 (htab_find): New function, handles common case where you don't
3768 plan to add or delete an entry.
3769 (htab_expand): Don't create a whole new table, just a new
3770 entry vector.
3771 (htab_find_slot): Simplify logic.
3772
3773 1999-08-03 Ian Lance Taylor <ian@zembu.com>
3774
3775 * floatformat.c: Add casts to avoid signed/unsigned warnings.
3776 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
3777
3778 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
3779 $(TARGETLIB)n so it works on MSDOS.
3780 (install_to_tooldir): Likewise.
3781
3782 1999-07-21 Ian Lance Taylor <ian@zembu.com>
3783
3784 From Mark Elbrecht:
3785 * makefile.dos: Remove; obsolete.
3786 * configure.bat: Remove; obsolete.
3787
3788 1999-07-11 Ian Lance Taylor <ian@zembu.com>
3789
3790 * splay-tree.c (splay_tree_insert): Add initialization to avoid
3791 warning.
3792
3793 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3794
3795 * pexecute.c: Conditionally include string.h.
3796 (fix_argv): Handle embedded whitespace in args for Mingw32.
3797
3798 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3799
3800 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
3801 we're using gcc.
3802
3803 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
3804
3805 1999-12-27 Geoff Keating <geoffk@cygnus.com>
3806
3807 * vasprintf.c (int_vasprintf): Don't re-read the format character
3808 as this mishandles strings like '%%s'.
3809
3810 1999-12-05 Mark Mitchell <mark@codesourcery.com>
3811
3812 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
3813 rather than struct splay_tree_node.
3814 (splay_tree_insert): Use struct splay_tree_s rather than struct
3815 splay_tree.
3816
3817 Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
3818
3819 * hashtab.c (sys/types.h): File included.
3820
3821 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
3822
3823 * strtoul.c, strtol.c, random.c: Remove advertising clause from
3824 BSD license, pursuant with
3825
3826 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
3827
3828 Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
3829
3830 * hashtab.c: Include stdio.h.
3831
3832 Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
3833
3834 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
3835
3836 Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
3837
3838 * xstrdup (sys/types.h): Include this file.
3839
3840 1999-10-28 Nathan Sidwell <nathan@acm.org>
3841
3842 * Makefile.in (SUBDIRS): New macro.
3843 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
3844 avoid multiple subdirectory cleaning.
3845 (*-subdir): Use SUBDIRS.
3846
3847 1999-10-25 Jim Kingdon <http://developer.redhat.com/>
3848
3849 * cplus-dem.c: Move declarations of standard_symbol_characters and
3850 hp_symbol_characters inside #ifdef MAIN to avoid compiler
3851 warnings.
3852
3853 1999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
3854
3855 * hashtab.c (find_hash_table_entry): When returning a
3856 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
3857 (clear_hash_table_slot): New function which deletes an entry
3858 by its position in the table, not its value.
3859 (traverse_hash_table): New function which calls a hook
3860 function for every live entry in the table.
3861
3862 1999-10-19 Mark Mitchell <mark@codesourcery.com>
3863
3864 * cplus-dem.c (INTBUF_SIZE): New macro.
3865 (string_append_template_idx): New function.
3866 (demangle_expression): Likewise.
3867 (demangle_integral_value): Use it.
3868 (demangle_real_value): New function, split out from ...
3869 (demangle_template_value_parm): ... here. Use
3870 string_append_template_idx. Use demangle_real_value.
3871 (demangle_template): Use string_append_template_idx.
3872 (demangle_qualified): Use consume_count_with_underscores.
3873 (get_count): Tweak formatting.
3874 (do_type): Use string_append_template_idx.
3875
3876 1999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3877
3878 * calloc.c: Add a public domain notice.
3879
3880 Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
3881
3882 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
3883
3884 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
3885
3886 * Makefile.in (CFILES): Add hashtab.c
3887 (REQUIRED_OFILES): Add hashtab.o
3888 (hashtab.o): Add dependencies.
3889 * hashtab.c: New file
3890
3891 Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
3892
3893 * basename.c (DIR_SEPARATOR): New macro.
3894 (DIR_SEPARATOR_2): Likewise.
3895 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
3896 (IS_DIR_SEPARATOR): Likewise.
3897 (main): Handle MSDOS style pathname.
3898
3899 1999-10-11 Mark Mitchell <mark@codesourcery.com>
3900
3901 * cplus-dem.c (do_type): Handle pointer to member types whose
3902 enclosing classes have namespace scope.
3903
3904 Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
3905
3906 * config.table: Provide a backup shell for executing move-if-change.
3907
3908 1999-10-02 Mark Mitchell <mark@codesourcery.com>
3909
3910 * xmalloc.c (xmalloc): Fix spelling error.
3911 (xcalloc, xrealloc): Likewise.
3912
3913 1999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3914
3915 * cplus-dem.c (fancy_abort, demangle_integral_value,
3916 demangle_arm_hp_template, recursively_demangle,
3917 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
3918 (program_name, program_version, fatal): Constify a char*.
3919 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
3920 (main): Call return, not exit.
3921
3922 1999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3923
3924 * choose-temp.c: Remove obsolete comment about gcc.
3925 (make_temp_file): Constify a char*.
3926
3927 Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3928
3929 * xmemdup.c: Include sys/types.h.
3930
3931 1999-09-07 Jeff Garzik <jgarzik@pobox.com>
3932
3933 * xmemdup.c: New xmemdup function.
3934 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
3935
3936 Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
3937
3938 * config.table: Add openedition target.
3939 * config/mh-openedition: New file.
3940
3941 Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
3942
3943 * pexecute.c (pexecute): Fill in temp_base when needed.
3944
3945 1999-08-31 Richard Henderson <rth@cygnus.com>
3946
3947 * getpwd.c: Check HAVE_GETCWD before defining it away.
3948
3949 1999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3950
3951 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
3952 (REQUIRED_OFILES): Add getpwd.o.
3953 (getpwd.o): Add target.
3954
3955 * configure.in (AC_PREREQ): Bump to 2.13.
3956 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
3957
3958 * getpwd.c: New file, moved here from gcc.
3959
3960 1999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3961
3962 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
3963 comparing against a signed quantity.
3964 (arm_special): Likewise.
3965 (demangle_fund_type): Likewise.
3966 (do_hpacc_template_const_value): Mark parameter `work' with
3967 ATTRIBUTE_UNUSED.
3968 (main): Constify variable `valid_symbols'.
3969
3970 Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
3971
3972 * strtoul.c (strtoul): Add parentheses around && within ||.
3973
3974 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
3975
3976 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3977 libdir, libsubdir and tooldir.
3978
3979 1999-08-01 Mark Mitchell <mark@codesourcery.com>
3980
3981 * splay-tree.c (splay_tree_insert): Return the new node.
3982
3983 1999-07-14 Richard Henderson <rth@cygnus.com>
3984
3985 * argv.c: Include stdlib.h and string.h instead of
3986 prototyping directly.
3987 * choose-temp.c: Conditionally include string.h.
3988
3989 1999-07-12 Jason Merrill <jason@yorick.cygnus.com>
3990
3991 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
3992
3993 1999-07-11 Ian Lance Taylor <ian@zembu.com>
3994
3995 * splay-tree.c (splay_tree_insert): Add initialization to avoid
3996 warning.
3997
3998 1999-07-07 Jason Merrill <jason@yorick.cygnus.com>
3999
4000 * Makefile.in (needed-list): Only include stuff we actually need
4001 for libstdc++.
4002
4003 1999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4004
4005 * configure.in (checkfuncs): Add gettimeofday.
4006 * config.in, configure: Regenerated.
4007
4008 Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
4009
4010 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
4011 the test fails.
4012 * configure: Regenerate.
4013
4014 1999-06-10 Mike Stump <mrs@wrs.com>
4015
4016 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
4017 parallel builds.
4018
4019 1999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4020
4021 * putenv.c: Include ansidecl.h to define `const'.
4022 * setenv.c: Likewise.
4023
4024 Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
4025
4026 * Makefile.in (CFILES): Add putenv.c and setenv.c.
4027 * configure.in (funcs): Add putenv and setenv.
4028 (AC_CHECK_FUNCS): Check for putenv and setenv.
4029 * configure: Rebuilt.
4030 * putenv.c setenv.c: New files.
4031
4032 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
4033 bytes of space using malloc.
4034
4035 Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
4036
4037 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
4038 the *mangled pointer beyond the end of the string. Clean up code to
4039 match prevailing coding style.
4040
4041 1999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4042
4043 * tmpnam.c (L_tmpnam): Fix typo.
4044
4045 Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
4046
4047 * cplus-dem.c (standard_symbol_characters): Renamed from
4048 standard_symbol_alphabet. No longer modify TABLE.
4049 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
4050 modify TABLE.
4051 (main): Corresponding changes. Use strchr to determine if a
4052 character is valid.
4053
4054 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
4055
4056 * cplus-dem.c (main): Use table lookup to distinguish identifier
4057 characters from non-identifier characters.
4058 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
4059
4060 Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
4061
4062 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
4063 * getruntime.c: Only attempt to include sys/resource.h and
4064 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
4065 are defined.
4066
4067 Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
4068
4069 * configure.in (alloca detection): Handle alloca directly for interix.
4070 * configure: Rebuilt.
4071
4072 Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
4073
4074 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
4075
4076 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
4077
4078 Fix from Dale Hawkins:
4079 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
4080 reallocated properly if we use it again.
4081
4082 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
4083 stricter about syntax. Always null-terminate string.
4084
4085 Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
4086
4087 * configure.in (checkfuncs): Check for sbrk.
4088 * config.in: Rebuilt.
4089 * configure: Likewise.
4090 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
4091
4092 1999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
4093
4094 Fix from Marcus Daniels:
4095 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
4096 identifier looking for another underscore.
4097
4098 Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
4099
4100 * pexecute.c: Change all references to __UWIN__ to _UWIN.
4101 * xmalloc.c: Likewise.
4102 (xcalloc): UWIN has sbrk.
4103 (xrealloc): Fix guard macro.
4104
4105 1999-04-11 Richard Henderson <rth@cygnus.com>
4106
4107 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
4108 or <alloca.h>.
4109 * clock.c (GNU_HZ): New definition.
4110 (clock): Use it.
4111 * getruntime.c: Likewise.
4112
4113 * config.table: Use mh-beos.
4114 * config/mh-beos: New file.
4115
4116 1999-04-11 Mark Mitchell <mark@codesourcery.com>
4117
4118 * cplus-dem.c (demangle_template_value_parm): Handle
4119 pointers-to-members.
4120 (do_type): Handle template parameters as qualifiers.
4121
4122 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
4123
4124 * cplus-dem.c: Attempt to handle overflows in counts with some
4125 semblance of grace.
4126 (consume_count): Detect overflows. Return -1 to indicate errors,
4127 instead of zero.
4128 (demangle_template_value_parm, demangle_template): Handle change
4129 to consume_count's return convention.
4130
4131 1999-04-05 Tom Tromey <tromey@cygnus.com>
4132
4133 * testsuite/regress-demangle: New file.
4134 * testsuite/demangle-expected: New file.
4135
4136 * Makefile.in (all, check, installcheck, info, install-info,
4137 clean-info, dvi, install, etags, tags, mostlyclean, clean,
4138 distclean, maintainer-clean, realclean): Depend on corresponding
4139 `-subdir' target.
4140 (all-subdir check-subdir installcheck-subdir info-subdir
4141 install-info-subdir clean-info-subdir dvi-subdir
4142 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
4143 distclean-subdir maintainer-clean-subdir): New target.
4144 * testsuite/Makefile.in: New file.
4145 * configure: Rebuilt.
4146 * configure.in: Create testsuite/Makefile.
4147
4148 1999-04-02 Mark Mitchell <mark@codesourcery.com>
4149
4150 * splay-tree.h (splay_tree_compare_pointers): Define.
4151
4152 1999-03-30 Mark Mitchell <mark@codesourcery.com>
4153
4154 * splay-tree.c (splay_tree_compare_ints): Define.
4155
4156 1999-03-30 Tom Tromey <tromey@cygnus.com>
4157
4158 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
4159 don't advance input pointer.
4160 (demangle_class_name): If consume_count didn't find a count, do
4161 nothing. Don't bother with `strlen' sanity check; consume_count
4162 does it for us.
4163
4164 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
4165
4166 From Art Haas <ahaas@neosoft.com>:
4167 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
4168 when doing arm or hp style.
4169 (demangle_nested_args): Decr forgetting_types field when done.
4170
4171 Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
4172
4173 * pexecute.c (__CYGWIN32__): Rename to
4174 (__CYGWIN__): this.
4175 * xmalloc.c: Likewise.
4176
4177 Changes to support i386-pc-uwin.
4178 * configure.in (*-*-uwin*): Workaround for vfork bug.
4179 * configure: Regenerate.
4180 * pexecute.c (pexecute): Be like standard Unix.
4181 (pwait): Likewise.
4182 * xmalloc.c (first_break): Define.
4183 (xmalloc_set_program_name): Use.
4184 (xmalloc): Use.
4185
4186 Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4187
4188 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
4189
4190 Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
4191
4192 * config.table: Check cygwin*, not cygwin32*.
4193
4194 Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
4195
4196 * Makefile.in: Change mkstemp -> mkstemps.
4197
4198 Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
4199
4200 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
4201 * configure.in (funcs): Check for and conditionally add mkstemps to
4202 the list of functions libiberty will provide.
4203 * configure: Rebuilt.
4204
4205 Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
4206
4207 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
4208 platforms that don't have HZ.
4209 * getruntime.c (HZ): Likewise.
4210
4211 Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
4212
4213 * Makefile.in (xstrdup.o): Depend on config.h.
4214
4215 Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
4216
4217 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
4218 freeing it.
4219
4220 Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4221
4222 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
4223
4224 Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4225
4226 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
4227 splay-tree.o.
4228
4229 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
4230
4231 * configure.in: Require autoconf 2.12.1 or higher.
4232
4233 1998-12-30 Michael Meissner <meissner@cygnus.com>
4234
4235 * random.c (NULL): Don't redefine NULL if it is already defined.
4236
4237 Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4238
4239 * argv.c (buildargv): Cast the result of alloca in assignment.
4240
4241 * choose-temp.c: Include stdlib.h.
4242
4243 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
4244 (snarf_numeric_literal): Constify first parameter.
4245 (code_for_qualifier): Avoid a gcc extension, make the parameter an
4246 int, not a char.
4247 (demangle_qualifier): Likewise.
4248 (demangle_signature): Cast the argument of a ctype function to
4249 unsigned char.
4250 (arm_pt): Add parens around assignment used as truth value.
4251 (demangle_arm_hp_template): Constify variable `args'.
4252 (do_hpacc_template_const_value): Cast the argument of a ctype
4253 function to unsigned char.
4254 (do_hpacc_template_literal): Remove unused variable `i'.
4255 (snarf_numeric_literal): Constify parameter `args'.
4256 Cast the argument of a ctype function to unsigned char.
4257
4258 * floatformat.c (floatformat_to_double): Add explicit braces to
4259 avoid ambiguous `else'.
4260
4261 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
4262 `cstart' and `cend' to unsigned char. Cast the argument of macro
4263 `FOLD', which uses ctype functions, to unsigned char.
4264
4265 * objalloc.c (free): Add prototype.
4266
4267 Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
4268
4269 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
4270
4271 Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
4272
4273 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
4274 doesn't exist.
4275 (do_hpacc_template_literal): remove unused variable `i'.
4276
4277 Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
4278
4279 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
4280 bumping the pointer we read from. Also prepend these codes,
4281 as we do in other places.
4282
4283 1998-12-18 Nick Clifton <nickc@cygnus.com>
4284
4285 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
4286 'const char *' in order to match its usage when calling siblings.
4287 (snarf_numeric_literal): Make first arg 'const char **' in order
4288 to match usage.
4289
4290 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4291
4292 * choose-temp.c: Don't check IN_GCC anymore.
4293
4294 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
4295 * memchr.c (memchr): Likewise.
4296 * memcpy.c (memcpy): Likewise.
4297 * memmove.c (memmove): Likewise.
4298
4299 * mkstemp.c: Don't check IN_GCC anymore.
4300 * pexecute.c: Likewise.
4301 * splay-tree.c: Likewise.
4302
4303 * strchr.c (strchr): Use `const', not `CONST'.
4304 * strrchr.c (strrchr): Likewise.
4305 * strtol.c (strtol): Likewise.
4306 * strtoul.c (strtoul): Likewise.
4307
4308 Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
4309 Elena Zannoni <ezannoni@cygnus.com>
4310 Stan Shebs <shebs@cygnus.com>
4311 Edith Epstein <eepstein@cygnus.com>
4312 Andres MacLeod <amacleod@cygnus.com>
4313 Satish Pai <pai@apollo.hp.com>
4314
4315 * HP aCC demangling support.
4316 * cplus-dem.c
4317 (main): Remove default to HP style demangling, set to EDG
4318 demangling correctly when -edg specified; set the demangling style
4319 when user specifies 'edg'. Set strip_underscore to
4320 prepends_underscore, if not HPUXHPPA. Set
4321 current_demangling_style to hp_demangling if HPUXHPPA. Set
4322 current demangling style correctly if the switch is hp. Read
4323 label correctly also in the HP style case.
4324 (work_stuff): add temp_start field; add field for volatile member
4325 function.
4326 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
4327 style for this case is the same as ARM.
4328 (demangle_args): handle EDG_DEMANGLING style; support HP style.
4329 (demangle_arm_hp_template): new function. (It was
4330 demangle_arm_pt.); check and set value of temp_start field in
4331 multiple places. Also, when ceching for end of template args,
4332 check to see if at end of static member of template class.
4333 (demangle_class): new local variable : save_class_name_end Don't
4334 include template args in string defining class.
4335 (demangle_class_name): use demangel_arm_hp_template.
4336 (demangle_function_name): handle case where demangling style is
4337 HP_DEMANGLING and currently point at an 'X' in the mangled name.
4338 Handle EDG_DEMANGLING style. Handle constructor and destructor
4339 ops for HP style.
4340 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
4341 styles. global destructor and constructor for HP style are same
4342 as for ARM style. Same for local variables.
4343 (demangle_qualified): handle EDG_DEMANGLING style.
4344 (demangle_signature): add case for volatile member function. For
4345 cases '1' - '9' : initialize the temp_start field to -1 and handle
4346 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
4347 and AUTO_DEMANGLING styles. If expecting a function and managed
4348 to demangle the funct args, then handle the LUCID_DEMANGLING,
4349 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
4350 class name after "Lnnn_ in HP style case. HP style too needs to
4351 forget types. _nnn is OK for HP style, so don't report failure.
4352 (do_hpacc_template_const_value): new function. Handle template's
4353 value param for HP/aCC.
4354 (do_hpacc_template_literal): new function. Handle a template's
4355 literal parameter for HP aCC.
4356 (recursively_demangle): new function
4357 (snarf_numeric_literal): new function.
4358 (usage): add 'edg' to the list of demangling styles; add hp switch
4359 to message.
4360
4361 Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
4362
4363 * pexecute.c: Remove obsolete ifdefed cygwin code.
4364
4365 Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4366
4367 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
4368 * cplus-dem.c: Likewise. Conform to libiberty.h.
4369 * pexecute.c: Likewise.
4370 * splay-tree.c: Likewise.
4371
4372 1998-11-25 Mike Stump <mrs@wrs.com>
4373
4374 * Makefile.in (splay-tree.o): Add config.h dependency.
4375
4376 Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4377
4378 * configure.in: Use AC_PREREQ(2.12.1).
4379
4380 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
4381
4382 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
4383
4384 Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
4385
4386 * mpw.c (mpw_access): Add missing parens.
4387
4388 Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4389
4390 * configure.in: Call AC_HEADER_SYS_WAIT.
4391
4392 * pexecute.c: Include sys/wait.h when !IN_GCC.
4393
4394 Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
4395
4396 * pexecute.c: revert back to checking old Cygwin
4397 preprocessor symbol until some time has passed.
4398
4399 Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
4400
4401 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
4402 since it will now support similar constructs.
4403
4404 Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4405
4406 * configure.in: Check for calloc.
4407
4408 * calloc.c: New file.
4409
4410 * xmalloc.c (xcalloc): New function.
4411
4412 Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
4413
4414 *cplus-dem.c (demangle_prefix): Use the last "__"
4415 in the mangled name when looking for the signature. This allows
4416 template names to begin with "__".
4417
4418 1998-11-08 Mark Mitchell <mark@markmitchell.com>
4419
4420 * cplus-dem.c (type_kind_t): Add tk_reference.
4421 (demangle_template_value_parm): Handle it.
4422 (do_type): Use it for references, instead of tk_pointer.
4423
4424 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
4425 not internal_cplus_demangle.
4426
4427 Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4428
4429 * choose-temp.c: Don't include gansidecl.h.
4430 * mkstemp.c: Likewise.
4431 * pexecute.c: Likewise.
4432
4433 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
4434
4435 * configure.in: detect cygwin* instead of cygwin32*
4436 * configure: regenerate
4437
4438 Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4439
4440 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
4441 whether to include config.h. Possibly include unistd.h in the
4442 !IN_GCC case. Define VFORK_STRING as a printable function call
4443 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
4444 defined, include vfork.h. If VMS is defined, define vfork()
4445 appropriately. Remove vfork check on USG, we're using autoconf.
4446 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
4447 locally what string to use.
4448
4449 1998-10-26 Mark Mitchell <mark@markmitchell.com>
4450
4451 * splay-tree.c: Tweak include directives to make sure declarations of
4452 xmalloc and free are available.
4453
4454 1998-10-25 Mark Mitchell <mark@markmitchell.com>
4455
4456 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
4457 anonymous namespaces.
4458
4459 1998-10-23 Mark Mitchell <mark@markmitchell.com>
4460
4461 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
4462 with type_quals.
4463 (TYPE_UNQUALIFIED): New macro.
4464 (TYPE_QUAL_CONST): Likewise.
4465 (TYPE_QUAL_VOLATILE): Likewise.
4466 (TYPE_QUAL_RESTRICT): Likewise.
4467 (code_for_qualifier): New function.
4468 (qualifier_string): Likewise.
4469 (demangle_qualifier): Likewise.
4470 (internal_cplus_demangle): Use them.
4471 (demangle_signature): Likewise.
4472 (demangle_template_value_parm): Likewise.
4473 (do_type): Likewise.
4474 (demangle_fund_type)): Likewise.
4475
4476 Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4477
4478 * splay-tree.c (splay_tree_foreach_helper): Make definition static
4479 to match prototype.
4480
4481 1998-10-21 Mark Mitchell <mark@markmitchell.com>
4482
4483 * splay-tree.c: New file.
4484 * Makefile.in (CFILES): Add it.
4485 (REQUIRED_OFILES): Likewise.
4486 (splay-tree.o): Add dependencies.
4487
4488 Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4489
4490 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
4491 range of 'K' index.
4492
4493 Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4494
4495 * choose-temp.c: Prototype mkstemps() when IN_GCC.
4496
4497 * cplus-dem.c (consume_count): Cast argument of ctype macro to
4498 `unsigned char'.
4499 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
4500 comparing against one.
4501 (cplus_mangle_opname): Likewise.
4502 (demangle_integral_value): Cast argument of ctype macro to
4503 `unsigned char'.
4504 (demangle_template_value_parm): Likewise.
4505 (demangle_template): Initialize variable `bindex'. Cast the
4506 result of `strlen' to (int) when comparing against one. Remove
4507 unused variable `start_of_value_parm'.
4508 (demangle_class_name): Cast the result of `strlen' to (int) when
4509 comparing against one.
4510 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
4511 (gnu_special): Likewise. Cast the result of `strlen' to (int)
4512 when comparing against one.
4513 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
4514 (get_count): Likewise.
4515 (do_type): Likewise. Cast the result of `strlen' to (int) when
4516 comparing against one.
4517 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
4518 (demangle_function_name): Cast the result of `strlen' to (int)
4519 when comparing against one.
4520
4521 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
4522 comparing against one.
4523
4524 Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
4525
4526 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
4527 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
4528 * config.in, configure: Rebuilt.
4529
4530 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
4531 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
4532 * config.in, configure: Rebuilt.
4533
4534 Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
4535
4536 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
4537
4538 Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
4539
4540 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
4541
4542 Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
4543
4544 * Merge egcs & devo libiberty.
4545
4546 1998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
4547
4548 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
4549
4550 Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4551
4552 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
4553 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
4554 IN_GCC.
4555
4556 * vasprintf.c: Include stdarg.h/varargs.h first.
4557
4558 * vprintf.c: Likewise.
4559
4560 Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
4561
4562 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
4563 is the canonical copy. Define ISSPACE if !IN_GCC.
4564 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
4565 * getopt1.c, obstack.c: Similarly.
4566 * Makefile.in: Build mkstemp.o
4567
4568 Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
4569
4570 * configure.in: Include asprintf in list of functions known not
4571 to be in newlib.
4572 * configure: Rebuild.
4573
4574 Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
4575
4576 * cplus-dem.c (work_stuff): Add dllimported.
4577 (demangled_prefix): Mark symbols imported from PE DLL.
4578 (internal_cplus_demangled): Handle.
4579
4580 1998-08-17 Jason Merrill <jason@yorick.cygnus.com>
4581
4582 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
4583 stay failed.
4584
4585 Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4586
4587 * cplus-dem.c: Include config.h if it exists. Also, only
4588 prototype malloc/realloc if we can't get stdlib.h.
4589
4590 Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
4591
4592 * configure.in: Switch back to checking --with-target-subdir when
4593 deciding whether to check for newlib, undoing part of July 15
4594 change.
4595 * configure: Rebuild.
4596
4597 Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
4598
4599 * cplus-dem.c (type_kind_t): New type.
4600 (demangle_template_value_parm): Add type_kind_t parameter. Rely
4601 on this paramter, rather than demangling the type again.
4602 (demangle_integral_value): Pass tk_integral.
4603 (demangle_template_: Pass the value returned from do_type.
4604 (do_type): Return a type_kind_t. Pass tk_integral to
4605 demangle_template_value_parm for array bounds.
4606 (demangle_fund_type): Likewise.
4607
4608 Also incorporate from GCC version:
4609
4610 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
4611
4612 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
4613
4614 Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4615
4616 * cplus-dem.c (demangle_nested_args): Make function definition
4617 static to match the prototype.
4618
4619 Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
4620
4621 * cplus-dem.c (type_kind_t): New type.
4622 (demangle_template_value_parm): Add type_kind_t parameter. Rely
4623 on this paramter, rather than demangling the type again.
4624 (demangle_integral_value): Pass tk_integral.
4625 (demangle_template_: Pass the value returned from do_type.
4626 (do_type): Return a type_kind_t. Pass tk_integral to
4627 demangle_template_value_parm for array bounds.
4628 (demangle_fund_type): Likewise.
4629
4630 Also incorporate from GCC version:
4631
4632 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
4633
4634 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
4635
4636 Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
4637
4638 * Makefile.in (ALLOCA): New variable.
4639 ($(TARGETLIB)): Add $(ALLOCA) to library.
4640 (needed-list): Add $(ALLOCA).
4641 ($(ALLOCA)): Depend upon stamp-picdir.
4642
4643 Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4644
4645 * cplus-dem.c (demangle_nested_args): Make function definition
4646 static to match the prototype.
4647
4648 Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
4649
4650 * configure.in: Check --with-cross-host rather than
4651 --with-target-subdir when deciding whether build uses a cross
4652 compiler, and when deciding where to install the library.
4653 * configure: Rebuild.
4654
4655 Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
4656
4657 * cplus-dem.c (demangle_nested_args): Return a value.
4658
4659 Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
4660
4661 * cplus-dem.c (string): Move definition before work_stuff.
4662 (work_stuff): Add volatile_type, forgetting_types,
4663 previous_argument, and nrepeats fields.
4664 (SCOPE_STRING): New macro.
4665 (demangle_template): Add `remember' parameter. Add comment.
4666 Register the `B' code type here, if remembering. Tidy. Fix crash
4667 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
4668 (demangle_nested_args): New function.
4669 (internal_cplus_demangle): Handle volatile-qualified member
4670 functions.
4671 (mop_up): Delete the previous_argument string if present.
4672 (demangle_signature): Tidy. Handle volatile-qualified member
4673 functions. Handle back-references using the `B' code. Use extra
4674 parameter to demangle_template and SCOPE_STRING where appropriate.
4675 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
4676 code.
4677 (demangle_class): Use SCOPE_STRING.
4678 (gnu_special): Pass additional argument to demangle_template.
4679 Use SCOPE_STRING.
4680 (demangle_qualified): Save qualified types for later
4681 back-references. Handle constructors and destructors for template
4682 types correctly.
4683 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
4684 demangle_template. Use demangled_nested_args. Don't remember
4685 qualified types here; that's now done in demangle_qualified.
4686 Similarly for templates.
4687 (do_arg): Improve commment. Handle 'n' repeat code.
4688 (remember_type): Check forgetting_types.
4689 (demangle_args): Deal with 'n' repeat codes. Tidy.
4690
4691 Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
4692
4693 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
4694 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
4695
4696 Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
4697
4698 * configure.in (setobjs): Correct quoting error in cygwin32 case.
4699 From Chris Faylor <cgf@cygnus.com>.
4700
4701 Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
4702
4703 * obstack.c: Update to latest FSF version.
4704
4705 Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
4706
4707 * Makefile.in: Add a dependency on stamp-picdir for the
4708 objects, so that we can do a parallel build.
4709
4710 Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
4711
4712 * configure.in (checkfuncs): Add missing "'".
4713
4714 Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
4715
4716 * obstack.c (_obstack_memory_used): Elide this function if we're
4717 on a system with GNU libc.
4718
4719 Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
4720
4721 * Makefile.in (distclean): Remove config.log.
4722
4723 Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4724
4725 * Makefile.in (distclean): Don't remove alloca-conf.h.
4726
4727 Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
4728
4729 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
4730
4731 1998-05-21 Mark Mitchell <mmitchell@usa.net>
4732
4733 * cplus-dem.c (do_type): Handle volatile qualification.
4734
4735 1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
4736
4737 * configure.in: Check for unistd.h as well.
4738 * configure: Rebuild.
4739 * config.in: Rebuild.
4740 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
4741 is defined in unistd.h. Reformat conditional block for easier reading.
4742
4743 * config.table (shared): Default to no if ${enable_shared}
4744 is unset or empty; this logic is used by the toplevel
4745 configure scripts, too.
4746
4747 Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
4748
4749 * config.table: Add line to set enable_shared in the Makefile
4750 as needed.
4751
4752 Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4753
4754 * cplus-dem.c (squangle_mop_up): Change return type to void.
4755 (internal_cplus_demangle): Remove unused parameter `options'.
4756 All callers changed.
4757 (cplus_demangle_opname): Remove function wide variable `int i' and
4758 replace with `size_t i' at each location where it is used.
4759 (cplus_mangle_opname): change type of `i' from int to size_t.
4760
4761 Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
4762
4763 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
4764 than sparc or sun.
4765 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
4766
4767 Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
4768
4769 * configure.in: Set libiberty_topdir correctly when srcdir is
4770 "." and with_target_subdir is not set.
4771 * configure: Rebuild.
4772
4773 Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
4774
4775 * configure.in: Add *-*-mingw32* case.
4776 * configure: Rebuild.
4777
4778 Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
4779
4780 * config.table: Never use a PIC file for *-*-cygwin32*.
4781
4782 * Makefile.in (config.status): Depend upon config.table.
4783
4784 * configure.in: On a cygwin32 host, always compile random, and
4785 don't test for sys_siglist, strsignal, or psignal.
4786 * configure: Rebuild.
4787
4788 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
4789 * getcwd.c: Likewise.
4790 * getpagesize.c: Likewise.
4791 * getruntime.c: Likewise.
4792
4793 Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
4794
4795 Use autoconf tests rather than the old dummy.c test:
4796 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
4797 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
4798 most functions. Add special cases to handle newlib and VxWorks.
4799 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
4800 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
4801 CONFIG_FILES is set; set ac_file before calling it.
4802 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
4803 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
4804 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
4805 (i[3456]-*-mingw32*): Remove.
4806 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
4807 (LIBOBJS): New variable.
4808 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
4809 (all): Depend upon needed-list. Don't check RULE1.
4810 (@target_makefile_frag@): Remove.
4811 (COMPILE.c): Include @DEFS@.
4812 (HFILES): Add alloca-conf.h.
4813 (REQUIRED_OFILES): Remove basename.o.
4814 ($(TARGETLIB)): New target.
4815 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
4816 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
4817 (needed-list, config.h): Rewrite.
4818 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
4819 (.always.): Remove.
4820 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
4821 (stamp-h): New target.
4822 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
4823 (basename.o): Don't depend upon config.h.
4824 (getruntime.o): Depend upon config.h.
4825 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
4826 NEED_on_exit.
4827 * basename.c: Don't include config.h. Don't check NEED_basename.
4828 * clock.c: Include config.h.
4829 * getcwd.c: Likewise.
4830 * getpagesize.c: Likewise.
4831 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
4832 HAVE_TIMES.
4833 * strerror.c: Change uses of NEED_sys_errlist to
4834 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
4835 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
4836 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
4837 HAVE_PSIGNAL.
4838 * acconfig.h: New file.
4839 * dummy.c: Remove.
4840 * functions.def: Remove.
4841 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
4842 * config/mh-windows (HDEFINES): Remove.
4843 * config/mh-cygwin32: Remove.
4844 * config/mh-go32: Remove.
4845 * config/mh-irix4: Remove.
4846 * config/mh-riscix: Remove.
4847 * config/mh-sysv4: Remove.
4848 * config/mt-mingw32: Remove.
4849 * config/mt-vxworks5: Remove.
4850 * config.in: New file, generated using autoheader.
4851 * configure: Rebuild.
4852
4853 Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
4854
4855 * configure.in: Rewrite to use autoconf.
4856 * configure: Generate using autoconf.
4857 * config/mh-a68bsd: Remove.
4858 * config/mh-apollo68: Remove.
4859 * config/mh-hpbsd: Remove.
4860 * config/mh-ncr3000: Remove.
4861 * config/mh-sysv: Remove.
4862 * config/mh-aix (RANLIB, INSTALL): Don't define.
4863 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
4864 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
4865 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
4866 * config.table: Change config_shell to CONFIG_SHELL, and use
4867 libiberty_topdir to find move-if-change.
4868 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
4869 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
4870 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
4871 * Makefile.in (srcdir): Set to @srcdir@.
4872 (VPATH): Likewise.
4873 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
4874 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
4875 (CC, CFLAGS, RANLIB)): Likewise.
4876 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
4877 (target_makefile_frag, host_makefile_frag): Add substitutions.
4878 (INSTALL_DEST): Set to @INSTALL_DEST@.
4879 (Makefile): Depend upon config.status. Don't depend upon
4880 $(host_makefile_frag) or $(target_makefile_frag).
4881 (config.status): New target.
4882
4883 Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
4884
4885 * config/mt-sunos4: Remove. Should be handled by --with-headers
4886 and --with-libraries options at top level.
4887 * config.table: Never use mt-sunos4.
4888
4889 * alloca-conf.h: New file, combining alloca-norm.h and
4890 alloca-botch.h.
4891 * alloca-norm.h: Remove.
4892 * alloca-botch.h: Remove.
4893 * configure.in: Set shell variables files and links to empty.
4894 * config.table: Don't set shell variable files.
4895 * configure.bat: Don't create alloca-conf.h.
4896 * makefile.vms: Likewise.
4897 * mpw-config.in: Likewise.
4898 * vmsbuild.com: Likewise.
4899
4900 Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
4901
4902 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
4903 target depending upon config.h.
4904 (alloca.o): Add target depending upon config.h
4905 (basename.o, choose-temp.o, fnmatch.o): Likewise.
4906 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
4907 (strsignal.o, xstrerror.o): Likewise.
4908
4909 Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4910
4911 * cplus-dem.c (cplus_demangle_opname): Initialize work.
4912
4913 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
4914
4915 * cplus-dem.c (demangle_qualified): Replace missing else.
4916
4917 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4918
4919 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
4920 length in the name of a virtual table.
4921
4922 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
4923
4924 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
4925 (cplus_demangle_opname): Call mop_up_squangle.
4926 (cplus_demangle): Initialize squangle info, then call
4927 internal_cplus_demangle. (Most code moved there as well)
4928 (internal_cplus_demangle): New function, performs most of what use
4929 to be done in cplus_demangle, but is only called with this file.
4930 (squangle_mop_up): New function to clean up B and K code data.
4931 (mop_up): set pointers to NULL after freeing.
4932 (demangle_signature, demangle_template, demangle_class): Add
4933 switch elements to handle K and B codes.
4934 (demangle_prefix, gnu_special, demangle_qualified): Add
4935 code to handle K and B codes.
4936 (do_type, demangle_fund_type): Handle B and K codes.
4937 (remember_Ktype): New function to store K info.
4938 (register_Btype, remember_Btype): New functions for B codes.
4939 (forget_B_and_K_types): New function to destroy B and K info.
4940
4941 Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
4942
4943 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
4944
4945 Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
4946
4947 * config.table: Make locating frag files failsafe even for the
4948 special case if configuring and building in srcdir.
4949
4950 Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
4951
4952 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
4953
4954 Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
4955
4956 * choose-temp.c: Sync with copy in gcc.
4957
4958 Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
4959
4960 * getopt.c: Update to latest FSF version.
4961 * getopt1.c: Likewise.
4962
4963 Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
4964
4965 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
4966 strings that are not actually lengths.
4967
4968 Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
4969
4970 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
4971 (.c.o): Check value of enable_shared, not PICFLAG.
4972 (stamp-picdir): Dito.
4973
4974 Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
4975
4976 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
4977 since it gets built automatically
4978
4979 Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
4980
4981 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
4982 the currently shipping OS.
4983
4984 Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
4985
4986 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
4987 Add fnmatch.o and objalloc.o; remove vasprintf.o.
4988 [config.h]: Define NEED_strsignal.
4989
4990 Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
4991
4992 * functions.def: Correct argument types for strerror and
4993 strsignal. Reported by Alex Gutman <agutman@emc.com>.
4994
4995 Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
4996
4997 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
4998 values.
4999
5000 Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
5001 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
5002
5003 Add mingw32 support.
5004 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
5005 (pwait): New function for mingw32.
5006
5007 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
5008 * config/mt-mingw32: New file.
5009 * xmalloc.c (first_break): Not used for mingw32.
5010 (xmalloc_set_program_name): Don't use sbrk on mingw32.
5011 (xmalloc): Likewise.
5012 (xrealloc): Likewise.
5013
5014 Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
5015
5016 * choose-temp.c: Sync with gcc version.
5017
5018 Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
5019
5020 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
5021 to all filenames in libdir and tooldir.
5022 (distclean): Do MULTICLEAN before deleting Makefile.
5023 (stamp-needed, stamp-config): Add MULTISRCTOP to
5024 pathname for move-if-change.
5025
5026 Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
5027
5028 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
5029
5030 Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
5031
5032 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
5033 was already defined previously.
5034
5035 Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
5036
5037 * Makefile.in (INSTALL): Use ../install-sh, not install.
5038
5039 Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
5040
5041 * Makefile.in (CFILES): Add pexecute.c.
5042
5043 Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
5044
5045 * asprintf.c: Consistently use either stdarg or varargs.
5046
5047 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
5048
5049 * cplus-dem.c (demangle_signature): Don't look for return types on
5050 constructors. Handle member template constructors.
5051
5052 Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
5053
5054 * README: Fix configuration instructions.
5055
5056 Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
5057
5058 * pexecute.c: Update to current version from /gd/gnu/lib:
5059
5060 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
5061
5062 * pexecute.c: Use spawn if __CYGWIN32__.
5063
5064 1997-08-08 Paul Eggert <eggert@twinsun.com>
5065
5066 * pexecute.c: Include "config.h" first, as per autoconf manual.
5067
5068 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
5069
5070 * pexecute.c (fix_argv): New function.
5071 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
5072 Add underscore to cwait function call.
5073
5074 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
5075
5076 * cplus-dem.c (demangle_template): Add new parameter. Handle new
5077 template-function mangling.
5078 (consume_count_with_underscores): New function.
5079 (demangle_signature): Handle new name-mangling scheme.
5080
5081 Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
5082
5083 * asprintf.c: stdarg.h when ALMOST_STDC
5084 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
5085 strncasecmp.o.
5086
5087 Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
5088
5089 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
5090
5091 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
5092
5093 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
5094
5095 Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
5096
5097 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
5098
5099 Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
5100
5101 * asprintf.c (asprintf): New file.
5102 * Makefile.in (CFILES): Add asprintf.c
5103 * functions.def: Ditto.
5104
5105 Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
5106
5107 * argv.c (dupargv): New function, duplicate an argument vector.
5108
5109 Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
5110
5111 * config/mh-cygwin32: also build random.o
5112
5113 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5114
5115 * cplus-dem.c: Add 'extern' to prepends_underscore.
5116
5117 Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
5118
5119 * cplus-dem.c: Various changes to produce Java output when passed
5120 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
5121 (main): Support --java and -j flags to set DMGL_JAVA.
5122
5123 Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
5124
5125 * config/mh-go32 (CC, AR, RANLIB): Don't define.
5126
5127 Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
5128
5129 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
5130 (pexecute.o): New target.
5131
5132 * Makefile.in (stamp-needed): New target, replacing needed-list.
5133 (needed-list): Just depend upon stamp-needed.
5134 (stamp-config): New target, replacing config.h.
5135 (config.h): Just depend upon stamp-config.
5136 (mostlyclean): Remove stamp-*.
5137
5138 Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
5139
5140 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
5141 INSTALL_DATA for multilibbed installs
5142
5143 Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
5144
5145 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
5146
5147 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
5148
5149 * choose-temp.c (try): Insist that temp dir be searchable.
5150
5151 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
5152
5153 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
5154 for current directory.
5155
5156 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
5157
5158 * pexecute.c: Remove special cases for cygwin32.
5159 (pwait): Remove local definition of `pid'.
5160
5161 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
5162
5163 * pexecute.c (vfork): Supply new definition for VMS.
5164 (pwait): Use waitpid instead of wait for VMS.
5165
5166 Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5167
5168 * cplus-dem.c (do_type): Handle `J'.
5169 (demangle_fund_type): Print "complex" for it.
5170
5171 Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
5172
5173 * configure.in: Don't turn on multilib here.
5174
5175 Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
5176
5177 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
5178 elided; needed by gdb and not present in libc.
5179
5180 Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
5181
5182 * Makefile.in (clean): Remove tmpmulti.out.
5183
5184 Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
5185
5186 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
5187 Add new floatformat, mainly for ARM doubles.
5188
5189 Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
5190
5191 * config.table: Use ${config_shell} with ${moveifchange}. From
5192 Thomas Graichen <graichen@rzpd.de>.
5193
5194 Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
5195
5196 * configure.in: Enable multilibing by default.
5197 Update multilib template to read config-ml.in.
5198
5199 Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
5200
5201 * makefile.vms: Add objalloc.
5202
5203 Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
5204
5205 * cplus-dem.c (demangle_it): Add prototype declaration.
5206 (usage, fatal): Likewise.
5207
5208 * xexit.c (_xexit_cleanup): Add prototype.
5209
5210 * strerror.c (init_error_tables): Declare.
5211
5212 Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
5213
5214 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
5215 * strsignal.c: Only define strsignal if NEED_strsignal.
5216 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
5217 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
5218 to xneeded-list.
5219 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
5220 (EXTRA_OFILES): Define to vasprintf.o.
5221 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
5222 (EXTRA_OFILES): Add vasprintf.o.
5223 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
5224 (vxneeded-list): Add vasprintf.o.
5225
5226 Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
5227
5228 * objalloc.c: Include <stdio.h>.
5229
5230 Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
5231
5232 * objalloc.c: New file.
5233 * Makefile.in (CFILES): Add objalloc.c
5234 (REQUIRED_OFILES): Add objalloc.o.
5235 (objalloc.o): New target.
5236
5237 Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
5238
5239 * obstack.c: Update to current FSF version.
5240
5241 Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
5242
5243 * cplus-dem.c: Add prototypes for all static functions.
5244 (mystrstr): Make static. Make arguments and result const.
5245 (cplus_match): Remove; not used.
5246
5247 Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5248
5249 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
5250 __t* symbols.
5251
5252 Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
5253
5254 * spaces.c: Declare malloc and free properly.
5255 * strsignal.c (init_signal_tables): Add prototype.
5256 * xatexit.c (_xexit_cleanup): Add parameter declarations.
5257
5258 Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
5259
5260 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
5261 also required because of xmalloc.o.
5262
5263 Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
5264
5265 * strsignal.c: Unconditionally redefine sys_siglist around the
5266 inclusion of the system header files.
5267
5268 Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
5269
5270 * makefile.vms: Remove 8 bit characters. Update to latest
5271 gcc release.
5272
5273 Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
5274
5275 * strsignal.c: Use NEED_sys_siglist instead of
5276 LOSING_SYS_SIGLIST.
5277 * config.table: Don't use mh-lynxos.
5278 * config/mh-lynxos: Remove.
5279
5280 Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
5281
5282 * cplus-dem.c: Fix indenting; make identical to the copy
5283 in GCC.
5284 (do_type, case 'M'): Check for a template as well as a class.
5285
5286 Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
5287
5288 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
5289 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
5290 libiberty is incorrect, as well.
5291
5292 Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5293
5294 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
5295 alloca takes a size_t argument, not just unsigned.
5296
5297 Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
5298
5299 * cplus-dem.c: Note that this file also lives in GCC.
5300
5301 Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5302
5303 * alloca.c: Remove include of libiberty.h for hpux.
5304 * argv.c: Replace defs from libiberty.h.
5305 * spaces.c: Put back externs from removed from libiberty.h.
5306 * vasprintf.c: Remove include of libiberty.h for hpux.
5307
5308 Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5309
5310 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
5311
5312 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5313
5314 * cplus-dem.c: Revert last two commits due to conflicts with
5315 hpux system headers.
5316
5317 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5318
5319 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
5320 Revert last commit due to conflicts with hpux system headers.
5321
5322 Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5323
5324 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
5325 libiberty.h when compiled with a standard compiler.
5326
5327 Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
5328
5329 * alloca.c: Include libiberty.h for definition of xmalloc.
5330 Don't redefine NULL.
5331 * argv.c: Move prototypes to libiberty.h.
5332 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
5333 Don't redefine NULL.
5334 Use casts to eliminate compiler warnings.
5335 * spaces.c: Remove prototypes for malloc and free which are
5336 already in libibrty.h.
5337 * strcasecmp.c: Use casts to eliminate compiler warnings.
5338 * vasprintf.c: Include libiberty.h for definition of malloc.
5339 Don't redefine NULL.
5340 * vprintf.c: Include stdarg.h if __STDC__.
5341
5342 Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
5343
5344 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
5345
5346 Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
5347
5348 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
5349 upward components correctly.
5350
5351 Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
5352
5353 * config.table, config/mh-windows: Add support for building under
5354 MSVC (the Microsoft build environment).
5355
5356 Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
5357
5358 * fnmatch.c: Undef const if not __STDC__.
5359
5360 Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
5361
5362 * fnmatch.c: New file.
5363 * Makefile.in (CFILES): Add fnmatch.c.
5364 (REQUIRED_OFILES): Add fnmatch.o.
5365 (fnmatch.o): New target.
5366
5367 Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
5368
5369 * cplus-dem.c (demangle_template): Fix handling of address args.
5370 (gnu_special): Handle type_info stuff.
5371
5372 Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
5373
5374 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
5375 (mpwify_filename): Handle "::/" case.
5376
5377 Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
5378
5379 * config/mh-cygwin32: new file (need -DNEED_basename and
5380 -DNEED_sys_siglist for native NT rebuilding)
5381 * config.table (*-*-cygwin32): new entry
5382 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
5383
5384 Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5385
5386 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
5387
5388 Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
5389
5390 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
5391 messed with arguments that included a '/', add escape chars
5392 to double quotes, remove const decl from arg that Mac
5393 compilers don't seem to like.
5394
5395 Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
5396
5397 * pexecute.c: Update test for win32 (&& ! cygwin32).
5398 * choose-temp.c: fix WIN32 preprocessor defines
5399
5400 Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
5401
5402 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
5403 to editing of default makefile rule.
5404
5405 Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
5406
5407 * alloca-norm.h: Include <malloc.h> if _WIN32.
5408 * argv.c: Include non-prototyped decls for malloc and string
5409 functions if ! _WIN32 or if __GNUC__.
5410
5411 Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
5412
5413 * config.h-vms: New file.
5414 * makefile.vms: Use it.
5415
5416 Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
5417
5418 * getopt.c (_getopt_internal): If argc is 0, just return (before
5419 we reference *argv and segfault).
5420
5421 Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
5422
5423 * Makefile.in (distclean): Add multilib.out.
5424
5425 Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
5426
5427 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
5428 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
5429
5430 Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
5431
5432 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
5433
5434 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
5435
5436 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
5437
5438 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
5439 (do_ofiles): Allow nonexistent source file in pass 3.
5440 (chk_deffunc): New routine.
5441
5442 Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
5443
5444 * pexecute.c (PEXECUTE_VERBOSE): Define.
5445 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
5446
5447 Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5448
5449 * Makefile.in (docdir): Removed.
5450
5451 Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5452
5453 * Makefile.in (oldincludedir): Removed.
5454
5455 Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5456
5457 * Makefile.in (datadir): Set to $(prefix)/share.
5458
5459 Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
5460
5461 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
5462 checking for errors from do_type.
5463
5464 Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
5465
5466 * makefile.vms: New file.
5467 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
5468 than declaring malloc, realloc, and sbrk.
5469
5470 Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
5471
5472 * pexecute.c: New file.
5473
5474 Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
5475
5476 * xmalloc.c: Declare sbrk.
5477
5478 Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
5479
5480 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
5481 declaration.
5482
5483 Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
5484
5485 * xstrerror.c: Include <stdio.h>.
5486
5487 Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
5488
5489 * Makefile.in (CFILES): Add atexit.c.
5490
5491 Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
5492
5493 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
5494
5495 Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
5496
5497 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
5498 #include <stdio.h>
5499 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
5500
5501 Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
5502
5503 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
5504 Reverts Feb 8, 1995 change.
5505
5506 Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
5507
5508 * choose-temp.c: New file.
5509 * Makefile.in (CFILES): Add choose-temp.c.
5510 (REQUIRED_OFILES): Add choose-temp.o.
5511
5512 Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
5513
5514 * floatformat.c (floatformat_to_double): Don't bias exponent when
5515 handling zero's, denorms or NaNs.
5516
5517 Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
5518
5519 * floatformat.c (floatformat_to_double): Fix bugs with handling
5520 numbers with fractions < 32 bits.
5521
5522 Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
5523
5524 * config.table: Permit --enable-shared to specify a list of
5525 directories.
5526
5527 Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
5528
5529 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
5530 arguments.
5531
5532 Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
5533
5534 * configure.in: If srcdir is `.' and with_target_subdir is not
5535 `.', then set MULTISRCTOP before calling config-ml.in.
5536
5537 Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
5538
5539 * mpw.c (mpw_open): Add debugging output option.
5540
5541 Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
5542
5543 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
5544
5545 Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
5546
5547 * mpw.c (mpwify_filename): Change 6 to 5 in
5548 strncmp (unixname, "/tmp/", 5).
5549
5550 Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
5551
5552 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
5553 handle 0 as a pointer value parameter.
5554
5555 Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
5556
5557 * Makefile.in (all): Depend upon required-list.
5558 (required-list): New target.
5559 (clean): Remove required-list.
5560
5561 Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
5562
5563 * win32.c: Deleted.
5564 * config.table (i386-*-win32): Deleted.
5565 * config/mh-i386win32: Deleted.
5566
5567 Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
5568
5569 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
5570 const char *.
5571 (cplus_mangle_opname): Change return type and opname parameter to
5572 const char *. Don't cast return value.
5573
5574 Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
5575
5576 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
5577 definition.
5578
5579 Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
5580
5581 * obstack.c: Update copyright to 1996.
5582 (_obstack_memory_used): Define new function. Called via
5583 obstack_memory_used macro.
5584
5585 Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
5586
5587 * xstrdup.c: New file.
5588 * Makefile.in (CFILES): Add xstrdup.c.
5589 (REQUIRED_OFILES): Add xstrdup.o.
5590 (xstrdup.o): New target.
5591
5592 Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
5593
5594 * atexit.c: New stub to provide atexit on systems that have
5595 on_exit, like SunOS 4.1.x systems.
5596 * functions.def (on_exit, atexit): Ditto.
5597
5598 Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
5599
5600 * mpw.c (mpw_abort): Remove decl.
5601 (mpw_access): Move debugging printf.
5602
5603 Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
5604
5605 * config.table: Consistently use ${host} rather than ${xhost} or
5606 ${target}.
5607 * configure.in: Don't bother to set ${xhost} before calling
5608 config.table.
5609
5610 Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5611
5612 * Makefile.in (.c.o): Use test instead of the left bracket, to
5613 avoid problems with some versions of make.
5614
5615 Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
5616
5617 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
5618
5619 Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
5620
5621 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
5622 which was set to just alloca.o, which is now automatically marked
5623 as needed by the autoconfiguration process.
5624
5625 Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
5626
5627 * config.table: Check ${with_cross_host} rather than comparing
5628 ${host} and ${target}.
5629
5630 Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
5631
5632 * configure.in: If with_target_subdir is empty, set xhost to
5633 ${host} rather than ${target} before calling config.table.
5634
5635 Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
5636
5637 * Makefile.in (MULTITOP): Deleted.
5638 (MULTISRCTOP, MULTIBUILDTOP): New.
5639 (FLAGS_TO_PASS): Delete INCDIR.
5640 (INCDIR): Add $(MULTISRCTOP).
5641 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
5642 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
5643 instead of cfg-ml-pos.in.
5644 (cross-compile check): Change to test for with_target_subdir.
5645 (EXTRA_LINKS): Delete.
5646
5647 Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
5648
5649 * mpw-make.sed: Add getpagesize.c.o to needed-list.
5650 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
5651 functions that are supplied by Metrowerks libraries.
5652 (fstat): Clean up descriptor->pointer conversion code.
5653 (InstallConsole, etc): Empty definitions, for when linking
5654 with SIOUX.
5655
5656 Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
5657
5658 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
5659 (.c.o): Stylistic change.
5660
5661 Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
5662
5663 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
5664 phdm@info.ucl.ac.be (Philippe De Muyter).
5665
5666 Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
5667
5668 * configure.in: Correct sed call.
5669
5670 Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
5671
5672 * configure.in: Clean up / simplify for native.
5673
5674 * configure.in: Merge in stuff from ../xiberty/configure.in.
5675 * Makefile.in (CC): Add definition (so it can be overrridden
5676 by ../configure).
5677
5678 Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
5679
5680 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
5681 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
5682 (link): Remove useless definition with error return.
5683 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
5684 Use UnsignedWide type for microsecond counts.
5685
5686 Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5687
5688 * memcmp.c (memcmp): Argument types are const void *, not void
5689 *const.
5690
5691 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
5692 sys/types.h.
5693 * strcasecmp.c (strcasecmp): Ditto.
5694
5695 Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
5696
5697 * Makefile.in (BISON): Remove macro.
5698
5699 Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
5700
5701 * Makefile.in (HFILES): Add default empty definition.
5702 * mpw-config.in (config.h): Only update if changed.
5703 * mpw-make.in: Remove.
5704 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
5705 * mpw.c: Remove semi-clone of strerror code.
5706 (sys_nerr, sys_errlist): Define here.
5707 (Microseconds): Only define as A-line trap if m68k Mac.
5708
5709 Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
5710
5711 * Makefile.in (maintainer-clean): New synonym for distclean.
5712
5713 Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
5714
5715 * config.table: For host, generalize rs6000-ibm-aix*
5716 to *-ibm-aix* so we also include powerpc.
5717
5718 Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
5719
5720 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
5721
5722 * xstrerror.c: New file.
5723 * Makefile.in, vmsbuild.com: Compile it.
5724
5725 Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
5726
5727 * config.table (i386-*-win32): New.
5728
5729 Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
5730
5731 * Makefile.in (MULTITOP): New variable.
5732 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
5733 (all): Add multilib support.
5734 (install_to_tooldir, *clean): Likewise.
5735
5736 Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
5737
5738 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
5739
5740 Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
5741
5742 * vmsbuild.com: create "new-lib.olb", build libiberty under that
5743 name, and then make it become "liberty.olb" when done, so that an
5744 incomplete build attempt never leaves behind something which looks
5745 like a complete library.
5746
5747 Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
5748
5749 * config/mh-i386pe: New file for PE hosts.
5750 * config.table: Understand PE hosts.
5751
5752 Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5753
5754 * cplus-dem.c: Update from gcc.
5755
5756 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
5757 <stddef.h>.
5758 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
5759
5760 Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
5761
5762 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
5763 * mpw.c: Only test DebugPI once whenever printing debug info.
5764 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
5765 also fix to not write on input filename buffer.
5766 (mpw_access): Use stat() instead of open(), works for directories
5767 as well as files.
5768
5769 Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5770
5771 * Makefile.in: Massage broken shells that require 'else true'.
5772
5773 Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
5774
5775 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
5776 Declare __builtin_alloca in the sparc case, as argv.c did.
5777 * argv.c: Replace inline version of alloca-norm.h at start of file with
5778 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
5779 because alloca-norm.h needs to declare alloca as "PTR".
5780
5781 Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
5782
5783 * win32.c: New file.
5784
5785 Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5786
5787 * dummy.c: #include "alloca-conf.h".
5788
5789 Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5790
5791 * Makefile.in (mostlyclean): Remove stamp-picdir.
5792 (clean): Don't.
5793
5794 Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5795
5796 * config.table (frags): Use toplevel pic frags.
5797
5798 * Makefile.in (PICFLAG): New macro.
5799 (all): Depend on stamp-picdir.
5800 (needed-list): Ditto.
5801 (.c.o): Also build pic object.
5802 (stamp-picdir): New rule.
5803 (mostlyclean): Remove pic.
5804 (clean): Remove stamp-picdir.
5805
5806 Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
5807
5808 * vmsbuild.com (config.h): Add `#define NEED_basename'.
5809
5810 Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
5811
5812 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
5813 to libio-style copyright.
5814 * getpagesize.c: Remove FSF copyright.
5815
5816 Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
5817
5818 Added improved VMS support from Pat Rankin:
5819
5820 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
5821
5822 * vmsbuild.com: new file.
5823
5824 * getpagesize.c (getpagesize): implement for VMS;
5825 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
5826 support for EVMSERR.
5827
5828 Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
5829
5830 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
5831
5832 * floatformat.c (floatformat_arm_ext): Define.
5833
5834 Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
5835
5836 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
5837 strerror.c, strsignal.c: Remove FSF copyright.
5838 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
5839
5840 Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
5841
5842 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
5843 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
5844 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
5845 * strchr.c, strrchr.c: Add cast to suppress const warning.
5846
5847 Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5848
5849 * cplus-dem.c: Use const instead of CONST. Don't include
5850 ansidecl.h directly.
5851
5852 Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5853
5854 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
5855 xrealloc.
5856 (-DMAIN): Don't rely on an externally-defined version number;
5857 instead, require the version number to be defined as a
5858 preprocessor macro. Handle the RS/6000 leading dot. Define
5859 xmalloc, xrealloc and fatal. Don't strip a leading underscore
5860 if we couldn't demangle the word.
5861
5862 Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
5863
5864 (Old mpw.c change descriptions retained for informational value.)
5865 * mpw.c (warning_threshold): Default to .4 sec.
5866 (overflow_count, current_progress): New globals.
5867 (warn_if_spin_delay): Include current progress type,
5868 such as program name, in message.
5869 (mpw_start_progress): Set current_progress variable from arg.
5870 (mpw_end_progress): Report spin delays by power-of-two-size
5871 buckets instead of constant-size buckets.
5872
5873 * mpw.c: Clean up formatting, types, returns, etc.
5874 (ENOSYS): Define.
5875 (mpw_fread, mpw_fwrite): Define.
5876 (sleep): Define correctly.
5877
5878 * mpw.c: New code to implement cursor spinning support.
5879 (umask): New function.
5880 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
5881
5882 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
5883 basenames for MPW and MPW/Unix filenames.
5884 (mpw_special_init): New function, calls Macsbug if desired.
5885
5886 * mpw.c: Add GPL notice.
5887 (mpwify_filename): Add more transformations.
5888 (mpw_fopen): Call mpwify_filename on file names.
5889 (rename): Remove.
5890 (chdir, getcwd): Add simple definitions.
5891
5892 * mpw.c: Random cleanups, remove unused code bits.
5893 Added copy of strerror.c for gcc's use.
5894 (stat, fstat, _stat): New versions based on Guido van Rossum code.
5895
5896 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
5897
5898 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
5899 (fork, vfork, etc): Print error messages if called.
5900 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
5901 rename, chown): Define.
5902
5903 * mpw-config.in: New file, MPW version of configure.in.
5904 * mpw-make.in: New file, MPW version of Makefile.in.
5905 * mpw.c: New file, MPW compatibility routines.
5906
5907 Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
5908
5909 * basename.c: Include config.h before checking for NEED_basename.
5910
5911 Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5912
5913 * functions.def: Add DEFFUNC for basename.
5914
5915 * basename.c: Only define basename if NEED_basename.
5916
5917 Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5918
5919 * config.table: Fix --enable-shared logic for native builds.
5920
5921 Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5922
5923 * cplus-dem.c (demangle_template): Demangle bool literals properly.
5924
5925 Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
5926
5927 * strtol.c strtoul.c: Replace these with less buggy versions from
5928 NetBSD. (strtoul in particular couldn't handle base 16.)
5929
5930 Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
5931
5932 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
5933
5934 * clock.c: If NO_SYS_PARAM_H is defined, don't include
5935 <sys/param.h>.
5936 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
5937
5938 Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
5939
5940 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
5941 a number; ANSI appears to permit any expression, including a
5942 function call.
5943
5944 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
5945 xiberty.
5946 * config/mt-vxworks5: New file.
5947
5948 Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
5949
5950 * basename.c (basename): Change argument to be const.
5951
5952 Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5953
5954 * Makefile.in (lneeded-list): Don't worry about xmalloc.
5955
5956 Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
5957
5958 * Makefile.in (distclean): Delete xhost-mkfrag.
5959
5960 Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
5961
5962 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
5963
5964 Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5965
5966 * hex.c: New file.
5967 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
5968 (hex.o): Add dependencies.
5969
5970 * cplus-dem.c (demangle_prefix): For GNU style constructor and
5971 destructor names, try demangling the remainder of the string.
5972
5973 Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
5974
5975 * vasprintf.c (int_vasprintf): New static function.
5976 (vasprintf): Use int_vasprintf. Removes assumption that va_list
5977 is assignment compatible.
5978
5979 Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
5980
5981 * Makefile.in (LIBCFLAGS): New variable.
5982 (FLAGS_TO_PASS): Pass it.
5983 (.c.o): Use it.
5984
5985 Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
5986
5987 * getopt.c, getopt1.c: Do compile these functions under Linux,
5988 since many native versions are based on glibc but are buggy.
5989
5990 Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
5991
5992 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
5993 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
5994
5995 Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
5996
5997 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
5998 * functions.def: Remove vasprintf.
5999
6000 Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6001
6002 * xmalloc.c (first_break): New static variable.
6003 (xmalloc_set_program_name): Record sbrk (0) in first_break.
6004 (xmalloc): If memory allocation fails, try to report how much
6005 memory was allocated by the program up to this point.
6006 (xrealloc): Likewise.
6007
6008 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
6009
6010 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
6011 when linking dummy.
6012 * config.table: Add host RISCiX Makefile frag.
6013 * config/mh-riscix: New file.
6014
6015 Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6016
6017 * Makefile.in (FLAGS_TO_PASS): Define.
6018 ($(RULE1)): Use $(FLAGS_TO_PASS).
6019
6020 Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6021
6022 * vasprintf.c: Include <string.h>.
6023 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
6024 * xatexit.c: Declare malloc.
6025
6026 Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6027
6028 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
6029 one below).
6030
6031 Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
6032
6033 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
6034 the type index is greater than 9.
6035
6036 Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
6037
6038 * cplus-dem.c (demangle_qualified): accept optional '_' between
6039 qualified name. This is baecause the template name may end with
6040 numeric and can mixed up with the length of next qualified name.
6041
6042 Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
6043
6044 * config/mt-sunos4: Use our standard location for cross-includes
6045 and cross-libs when the target is also a "host" environment (ie no
6046 newlib; includes and such don't belong to us). This is specific
6047 to the Cygnus Support environment.
6048
6049 Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
6050
6051 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
6052 xxx<ch=81>.
6053
6054 Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
6055
6056 * cplus-dem.c (main): flush stdout to make pipe work.
6057
6058 Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
6059
6060 * config.table (*-*-cxux7*): Recognize.
6061 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
6062 Harris-specific float format.
6063 * config/mh-cxux7: New file.
6064
6065 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6066
6067 * cplus-dem.c (demangle_template): Make sure that the result of
6068 consume_count doesn't index beyond the end of the string.
6069
6070 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6071
6072 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
6073 earlier. Improve test for new vtable mangling. Change output back
6074 to `virtual table'.
6075
6076 Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6077
6078 * obstack.c: Always compile this code, even if using the GNU
6079 library. Avoids problems with relatively recent binary
6080 incompatibility.
6081
6082 Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6083
6084 * cplus-dem.c: Include libiberty.h.
6085 (xmalloc, xrealloc, free): Don't declare.
6086 (strstr): Don't declare parameters.
6087 (xmalloc, xrealloc): Don't define.
6088 (long_options): Add no-strip-underscores.
6089 (main): Call xmalloc_set_program_name. Pass n in short options to
6090 getopt_long. Handle option 'n' to not strip underscores.
6091 (usage): Mention -n and --no-strip-underscores.
6092
6093 Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
6094
6095 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
6096 space.
6097 (gnu_special): Demangle template and qualified names in a vtable name.
6098
6099 Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
6100
6101 From gas-2.3 and binutils-2.4 net releases:
6102
6103 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
6104
6105 * makefile.dos: [new] Makefile for dos/go32
6106 * configure.bat: update for latest files
6107 * msdos.c: remove some functions now in libc.a
6108
6109 Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
6110
6111 * cplus-dem.c (gnu_special): Recognize thunks, as well as
6112 the new naming style for vtables (when -fvtable-thunks).
6113
6114 Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6115
6116 * Makefile.in (XTRAFLAGS): Don't define.
6117 (.c.o, dummy.o): Don't use XTRAFLAGS.
6118 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
6119
6120 Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6121
6122 * vasprintf.c: New file.
6123 * Makefile.in, functions.def: Add it.
6124
6125 Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
6126
6127 * cplus-dem.c (demangle_fund_type): Grok bool.
6128
6129 Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
6130
6131 * config.table: Add go32
6132 * config/mh-go32: New template.
6133
6134 Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
6135
6136 * config.table, config/mt-sunos4: config for when sun4 is cross target.
6137
6138 Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6139
6140 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
6141 Declare strlen to return int. Don't include stddef.h.
6142
6143 Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
6144
6145 * getopt.c: Delete use of IN_GCC to control whether
6146 stddef.h or gstddef.h is included.
6147
6148 Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
6149
6150 * cplus-dem.c (demangle_signature): Fix a bug in template function
6151 type numbering.
6152
6153 Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
6154
6155 * cplus-dem.c (demangle_signature): Fix template function with arm
6156 style argument type number, Tn.
6157
6158 Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
6159
6160 * cplus-dem.c (optable): Add new[] and delete[].
6161
6162 Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
6163
6164 * argv.c (buildargv): Don't produce empty argument just because
6165 there is trailing whitespace.
6166
6167 Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
6168
6169 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
6170 Handle 'p' same as 'P'.
6171 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
6172
6173 Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6174
6175 * floatformat.c (get_field, put_field): Fix off by one error in
6176 little endian case.
6177
6178 Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6179
6180 * floatformat.c (floatformat_from_double): Pass unsigned char *,
6181 not char *, to put_field.
6182
6183 Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
6184
6185 * memmove.c: Re-wrote; placed in public domain.
6186
6187 Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
6188
6189 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
6190 __Q* as a constructor.
6191
6192 Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
6193
6194 * ieee-float.c: Removed; no longer used.
6195 * Makefile.in: Changed accordingly.
6196
6197 Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6198
6199 * floatformat.c (get_field): Removed unused local variable i.
6200 (put_field): Removed unused local variable i.
6201
6202 Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
6203
6204 * floatformat.c: New file, intended to replace ieee-float.c.
6205 * Makefile.in: Change accordingly.
6206
6207 Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
6208
6209 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
6210 (_getopt_initialize): New function, broken out of _getopt_internal.
6211 (_getopt_internal):
6212 If long_only and the ARGV-element has the form "-f", where f is
6213 a valid short option, don't consider it an abbreviated form of
6214 a long option that starts with f. Otherwise there would be no
6215 way to give the -f short option.
6216
6217 Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6218
6219 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
6220 Test just __STDC__, not emacs.
6221
6222 Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
6223
6224 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
6225 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
6226
6227 Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
6228
6229 * getopt.c (_NO_PROTO): Define before config.h is included.
6230
6231 Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6232
6233 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
6234 <config.h> only under these, else "config.h".
6235
6236 Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
6237
6238 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
6239 <config.h> instead of "config.h".
6240
6241 Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
6242
6243 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
6244 whether to use prototypes or not.
6245 * strerror.c (const): Never undefine; let ansidecl.h handle it.
6246 * strsignal.c (const): Likewise.
6247
6248 Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6249
6250 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
6251 Merging common and initialized variables need not be supported by
6252 ANSI C compilers.
6253 (xatexit): Initialize _xexit_cleanup if not already set.
6254 * xexit.c: Comment fix.
6255
6256 Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6257
6258 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
6259 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
6260 assuming that realloc works correctly.
6261
6262 Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6263
6264 * concat.c, ieee-float.c: Replace inclusion of <string.h>
6265 with explicit function declarations, as recommended by Ian Taylor.
6266
6267 Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
6268
6269 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
6270 (malloc, realloc): Declare.
6271
6272 Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6273
6274 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
6275 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
6276 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
6277 * xmalloc.c: Likewise.
6278 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
6279 macros, not <varargs.h> macros.
6280 * spaces.c (spaces): Make return type const. Don't crash if
6281 malloc returns NULL.
6282 * strerror.c (struct error_info): Make name and msg fields const.
6283 (error_names): Make const.
6284 (strerrno): Make const.
6285 (strtoerrno): Make argument const.
6286 * strsignal.c (struct signal_info): Make name and msg fields
6287 const.
6288 (signal_names, sys_siglist): Make const.
6289 (strsignal, strsigno): Make const.
6290 (strtosigno): Make argument const.
6291 * xatexit.c: Declare parameter types.
6292 * xmalloc.c (name): Make const.
6293 (xmalloc_set_program_name): Make argument const.
6294 * Makefile.in (INCDIR): Define.
6295 (.c.o): Use $(INCDIR).
6296 (dummy.o): Likewise.
6297 (argv.o, basename.o): New targets; depend on libiberty.h.
6298 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
6299 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
6300 (xmalloc.o): Likewise.
6301 (cplus-dem.o): New target; depend on demangle.h.
6302 (getopt.o, getopt1.o): New targets; depend on getopt.h.
6303 (ieee-float.o): New target; depend on ieee-float.h.
6304 (obstack.o): New target; depend on obstack.h.
6305
6306 Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6307
6308 Handle obstack_chunk_alloc returning NULL. This allows
6309 obstacks to be used by libraries, without forcing them
6310 to call exit or longjmp.
6311 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
6312 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
6313 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
6314
6315 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6316
6317 * concat.c, ieee-float.c: Include <string.h>.
6318
6319 Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6320
6321 * xmalloc.c (xmalloc_set_program_name): New function.
6322 (xmalloc, xrealloc): Include the name in the error message, if set.
6323
6324 * Replace atexit.c with xatexit.c.
6325 * Makefile.in (CFILES), functions.def: Change references.
6326
6327 Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
6328
6329 * getruntime.c (get_run_time): Use getrusage or times if
6330 HAVE_GETRUSAGE or HAVE_TIMES are defined.
6331
6332 Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
6333
6334 * atexit.c: New file.
6335 * Makefile.in (CFILES), functions.def: Add it.
6336 * xexit.c: New file.
6337 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
6338 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
6339 Change request for 0 bytes into request for 1 byte.
6340
6341 Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6342
6343 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
6344 unsigned long, to avoid warnings.
6345
6346 Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
6347
6348 * dummy.c: Don't include time.h ever; always define clock_t as
6349 "unsigned long". Until gcc/fixincludes ensures that clock_t
6350 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
6351 exist, clock_t probably doesn't either.
6352
6353 Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
6354
6355 * clock.c, getruntime.c: New files.
6356 * Makefile.in: Add to file lists.
6357 * functions.def (clock): Add to list.
6358 * dummy.c (time.h): Add if __STDC__.
6359 (clock_t): #define as "unsigned long" if not __STDC__.
6360
6361 Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6362
6363 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
6364 Edler).
6365
6366 Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6367
6368 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
6369 linking.
6370
6371 Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
6372
6373 * cplus-dem.c (demangle_arm_pt): New function. Common code
6374 for ARM template demangling.
6375 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
6376 * cplus-dem.c (demangle_prefix): Likewise.
6377
6378 Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
6379
6380 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
6381
6382 Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
6383
6384 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
6385 * strerror.c, strsignal.c: As a small space optimization, don't
6386 include messages when they aren't actually used.
6387
6388 Merge changes from takefive.co.at!joe (Josef Leherbauer)
6389 * cplus-dem.c (demangle_prefix, demangle_function_name,
6390 cplus_demangle_opname): Fixes for systems where cplus_marker
6391 is something other than '$'.
6392
6393 Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
6394
6395 * waitpid.c: Simple-minded approcimation to waitpid
6396 using vanilla wait.
6397 * functions.def, Makefile.in: Update accordingly,
6398
6399 Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
6400
6401 * cplus-dem.c(demangle_template): fix bug template instantiation
6402 with value of user defined type.
6403
6404 Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
6405
6406 * cplus-dem.c(cplus_demangle_opname): add the subject new function
6407 to support unified search of operator in class.
6408
6409 Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6410
6411 gcc -Wall lint:
6412 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
6413 "digit = *s" as condition in while loop.
6414
6415 Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
6416
6417 * Makefile.in: pass SHELL to recursive make
6418
6419 Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
6420
6421 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
6422 be (const char*), for ANSI (and gcc w/fixproto) consistency.
6423
6424 Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6425
6426 * config.table: Make *-*-hiux* use mh-hpux.
6427
6428 Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6429
6430 * config.table: Add * to end of all OS names.
6431
6432 Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6433
6434 * Makefile.in (lneeded-list): ensure that object file names are
6435 not duplicated, as multiple instances of the same object file in
6436 a library causes problems on some machines
6437
6438 Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6439
6440 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
6441
6442 Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6443
6444 * strncasecmp.c: new file, implements strncasecmp
6445 * strcasecmp.c: new file, implement strcasecmp
6446
6447 * Makefile.in (CFILES): list these two new source files
6448
6449 * functions.def: add strcasecmp and strncasecmp entries
6450
6451 Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6452
6453 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
6454 according to ANSI C.
6455
6456 Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
6457
6458 * cplus-dem.c: add support of ARM global constructor/destructor,
6459 and 'G' for passing record or union in parameter.
6460
6461 Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6462
6463 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
6464 should not be in functions.def.
6465
6466 Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6467
6468 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
6469 not be in functions.def.
6470
6471 Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
6472
6473 * cplus-dem.c: change globl constructor/destructor to proper name
6474
6475 Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
6476
6477 * cplus-dem.c: fix bug in constructor/destructor
6478
6479 Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
6480
6481 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
6482
6483 Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
6484
6485 * cplus-dem.c: Fix demangle_template prototype
6486
6487 Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
6488
6489 * cplus-dem.c: fix template demangling
6490 * cplus-dem.c: fix const type demangling
6491 * cplus-dem.c: fix constructor/destructor, virtual table,
6492 qualifier, global constructor/destructor demangling
6493
6494 Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6495
6496 * strsignal.c, strerror.c: Use fully-bracketed initializer to
6497 keep gcc -Wall happy.
6498
6499 Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
6500
6501 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
6502 patch.
6503
6504 Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6505
6506 Patch from Paul Flinders:
6507 * cplus-dem.c (do_type): Deal with arrays.
6508
6509 Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6510
6511 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
6512 than 9 classes.
6513
6514 Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
6515
6516 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
6517 not initialized" warnings under HP/UX
6518
6519 Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6520
6521 * strerror.c: Move include of stdio.h after sys_errlist #define.
6522 Also remove NULL definition (stdio.h always defines NULL, so it
6523 never did anything but clutter up the code).
6524
6525 Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6526
6527 * Makefile.in, functions.def: handle xmalloc.c
6528
6529 * xmalloc.c: provide xmalloc and xrealloc functions
6530
6531 Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6532
6533 * cplus-dem.c: Fix a comment.
6534
6535 Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6536
6537 * getopt1.c: Declare const the way getopt.c does.
6538
6539 Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6540
6541 * obstack.c, alloca.c: Update from FSF.
6542 * getopt.c, getopt1.c: Update to current FSF version, which
6543 doesn't use alloca.
6544
6545 Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
6546
6547 * Makefile.in (demangle): Add the target with a message saying
6548 where demangle went.
6549
6550 Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6551
6552 * Makefile.in: Remove obsolete `demangle' target.
6553
6554 Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
6555
6556 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
6557 avoid infinite loop on vtbl symbols with disambiguating "junk"
6558 tacked on the end.
6559
6560 Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6561
6562 * strsignal.c: work around some systems losing definitions of
6563 sys_siglist
6564
6565 * config/mh-lynxos: this system has a losing definition of
6566 sys_siglist
6567
6568 * config.table: use mh-lynxos for *-*-lynxos
6569
6570 Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
6571
6572 * config.table: Add support for HPPA BSD hosts.
6573
6574 * config/mh-hpbsd: New file.
6575
6576 Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
6577
6578 * Makefile.in (TAGS): make work when srcdir != objdir.
6579
6580 Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
6581
6582 * cplus-dem.c (main): Add long options, including --help and
6583 --version.
6584 (usage): New function from code in main.
6585
6586 Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
6587
6588 * config.table: New shell scipt, sourced by both ./configure,in
6589 and ../xiberty/configure.in, to avoid maintainance lossages.
6590 * configure.in and ../xiberty/configure.in: Use config.table.
6591
6592 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
6593 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
6594 * ../xiberty/configure.in: Update from ./configure.in.
6595
6596 Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6597
6598 * Makefile.in: remove parentdir support
6599
6600 Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6601
6602 * cplus-dem.c (xrealloc): Match definition with prototype.
6603
6604 Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6605
6606 * cplus-dem.c (demangle_prefix): Demangle cfront
6607 local variables as an extension to ARM demangling.
6608
6609 Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
6610
6611 * ieee-float.c: Don't require pointers to double to be aligned.
6612
6613 Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
6614
6615 (merge changes from dlong@cse.ucsc.edu)
6616 * cplus-dem.c (consume_count): Simplify.
6617 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
6618 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
6619
6620 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
6621 full prototypes.
6622 * cplus-dem.c (free): Add prototype.
6623 * cplus-dem.c (optable): Fully bracketize initializer.
6624
6625 Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
6626
6627 * cplus-dem.c: Whether initial underscores are stripped
6628 depends on the external variable prepends_underscore
6629 (which is generated by the binutils Makefile).
6630
6631 Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
6632
6633 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
6634
6635 Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
6636
6637 * cplus-dem.c (consume_count): Return zero if arg does not
6638 start with digit, and don't consume any input.
6639
6640 Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
6641
6642 * Makefile.in (demangle): Use ${srcdir} not $^.
6643
6644 * strtod.c: New file, needed at least for BSD 4.3.
6645
6646 Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
6647
6648 * strsignal.c (sys_siglist): For ANSI compilations, type is
6649 "const char *const". Also remove conditionalization on __STDC__
6650 since const is defined away for non-ANSI.
6651
6652 Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
6653
6654 * configure.in: Recognize *-*-hpux.
6655 * config/mh-hpux: New file.
6656
6657 Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
6658
6659 * tmpnam.c: Added ANSI tmpnam() function.
6660 * functions.def, Makefile.in: Update accordingly.
6661
6662 Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
6663
6664 * cplus-dem.c (demangle_function_name): Get the demangling of
6665 stop__1A right.
6666
6667 Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
6668
6669 * cplus-dem.c: Declare strstr return type.
6670
6671 Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
6672
6673 * strsignal.c: Add some AIX signals.
6674
6675 Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
6676
6677 * Makefile.in (MAKEOVERRIDES): Define to be empty.
6678
6679 Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
6680
6681 * Makefile.in: add installcheck & dvi targets
6682
6683 Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
6684
6685 * ieee-float.c: New file, moved from ../gdb (since it is
6686 needed by ../opcode/m68k-dis.c).
6687
6688 Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
6689
6690 * cplus-dem.c: Replace all references to cfront with ARM.
6691
6692 Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
6693
6694 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
6695 to be more useful as a filter.
6696
6697 Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
6698
6699 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
6700 destination directory before running $(RANLIB), in case that
6701 program tries to create a file in the current directory as part of
6702 its work.
6703
6704 Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
6705
6706 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
6707 because BSD 4.4 lacks one. Isn't this fun?
6708
6709 Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
6710
6711 * cplus-dem.c (demangle_signature): Set func_done after
6712 demangling a template.
6713 * cplus-dem.c (demangle_template): Fix several small bugs
6714 in demangling GNU style templates.
6715 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
6716 style constructors.
6717 * cplus-dem.c (gnu_special): Fix for templates in GNU style
6718 static data members.
6719
6720 Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
6721
6722 * cplus-dem.c (demangle_signature): Modify to include type
6723 modifiers like static and const in remembered types.
6724
6725 Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
6726
6727 * cplus-dem.c (demangled_qualified): Add new parameter that tells
6728 whether to prepend or append the qualifiers.
6729 * cplus-dem.c (string_prepends): Used now, remove #if 0.
6730 * cplus-dem.c (demangle_signature): Call demangle_qualified
6731 with prepending.
6732 * cplus-dem.c (gnu_special): Recognize static data members that
6733 use qualified names.
6734 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
6735 temporary buffer and the prepend or append them to the result,
6736 as specified by the new "append" flag.
6737 * cplus-dem.c (do_type): Call demangled_qualified with
6738 appending.
6739
6740 Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
6741
6742 * strsignal.c (signal_table): Now const.
6743 (init_signal_tables): Variable eip now points to const.
6744
6745 * strerror.c (error_table): Now const.
6746 (init_error_tables): Variable eip now points to const.
6747
6748 Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
6749
6750 * memchr.c (memchr): New (ANSI standard) function.
6751 * Makefile.in, functions.def: Added memchr.
6752 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
6753
6754 Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6755
6756 * getopt.c: remove use of USG around <alloca.h>, which never meant
6757 anything anyway
6758
6759 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
6760 of USG and USGr4
6761
6762 Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
6763
6764 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
6765 it's now a type according to the ANSI X3J16 working paper; output
6766 "wchar_t" for it.
6767 (demangle_template): Accept `w' as an integral type.
6768 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
6769 counterparts malloc and realloc to `char *'.
6770 (main): Exit with a 0 status.
6771 * Makefile.in (demangle): Don't expect the user to define
6772 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
6773 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
6774
6775 Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
6776
6777 * Makefile.in (AR_FLAGS): Avoid verbosity.
6778 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
6779 replace USGr4 with HAVE_SYSCONF.
6780 * config/mh-solaris: Remove; mh-sysv4 works now.
6781 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
6782 * configure.in: Simplify host matching table, remove separate
6783 solaris config file.
6784
6785 Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
6786
6787 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
6788
6789 Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
6790
6791 * cplus-dem.c (xmalloc, xrealloc): Add decls.
6792 (remember_type): Don't cast xmalloc.
6793 (string_need): Likewise; don't cast xrealloc either.
6794
6795 Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
6796
6797 * Makefile.in, functions.defs, rename.c: added simple
6798 implementation of rename, since some binutils programs use it.
6799
6800 Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
6801
6802 * strsignal.c: Add appropriate 'const' to sys_siglist
6803 extern declaration (if __STDC__). (Needed for Linux.)
6804 * strsignal.c (strsignal): Add cast to remove const-ness.
6805
6806 Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
6807
6808 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
6809 before "'s, diagnosed by BSD 4.4 awk.
6810
6811 Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
6812
6813 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
6814 and $(NEEDED_LIST), to give some hooks for xiberty.
6815
6816 Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6817
6818 * configure.in: use cpu-vendor-triple instead of nested cases
6819
6820 Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
6821
6822 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
6823 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
6824 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
6825 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
6826 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
6827 Convert from using GPL to LGPL.
6828
6829 Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
6830
6831 * Makefile.in (errors): Leave dummy.o and dummy around so that
6832 we can see how the needed list was generated (it's sometimes wrong).
6833 (mostlyclean): Remove them.
6834
6835 Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
6836
6837 * getcwd.c: supply a default if MAXPATHLEN is not defined.
6838
6839 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
6840
6841 Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
6842
6843 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
6844 when cross-compiling.
6845
6846 Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
6847
6848 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
6849 as a time optimization.
6850
6851 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
6852 be more expensive than simply demangling.
6853
6854 * cplus-dem.c (cplus_match): new function.
6855
6856 Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
6857
6858 * cplus-dem.c: #include <stdio.h>, to define NULL.
6859 Define current_demangling_style.
6860
6861 Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
6862
6863 * cplus-dem.c: New file, moved from ../gdb.
6864 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
6865 function, to avoid compiling in target-dependency for CPLUS_MARKER.
6866 * cplus-dem.c (cplus_demangle): Allow demangling style option
6867 to be passed as a parameter, but using the global variable
6868 current_demangling_style as a default.
6869 * Makefile.in: Update for cplus-dem.c
6870
6871 Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
6872
6873 * obstack.c: Merge in comment changes from FSF version. Now
6874 matches the FSF version exactly.
6875
6876 Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
6877
6878 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
6879 least on losing DECstations!); use if-then-else instead.
6880
6881 Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
6882
6883 * Makefile.in: always create installation directories.
6884
6885 Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6886
6887 * Makefile.in: clean up definition of CFILES, more comments
6888
6889 Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
6890
6891 * getopt.c (my_index): Make first arg const to match strchr,
6892 which it sometimes is remapped to.
6893
6894 Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
6895
6896 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
6897 * obstack.c (_obstack_begin): Initialize use_extra_arg.
6898 * obstack.c (_obstack_begin_1): New, from FSF version.
6899
6900 Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
6901
6902 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
6903 extra_arg.
6904 * obstack.c (_obstack_begin): Remove area_id and flags arguments
6905 (previously added for mmalloc support, interface has changed).
6906 Also convert flags usage to use use_extra_arg and maybe_empty_object.
6907
6908 Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
6909
6910 * argv.c: Move expandargv inline and eliminate static variables.
6911 Rewrite to always allocate in powers of two. Fix to return an
6912 argv with a single null string arg if passed a null string.
6913
6914 Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
6915
6916 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
6917 "(void)" casts from function calls where the return value is
6918 ignored, in accordance with GNU coding standards.
6919
6920 Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
6921
6922 * bcopy.c, strerror.c, strsignal.c: Lint.
6923
6924 Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
6925
6926 * getopt.c: merge changes from make.
6927
6928 Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
6929
6930 * alloca.c: Incorporate fixes from gdb/alloca.c.
6931 FIXME: Eventually move gdb's alloca configuration files here,
6932 and remove gdb/alloca.c and its Makefile.in support.
6933
6934 Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
6935
6936 * dummy.c: Define NOTHING to /*nothing*/, change return type
6937 of main to int and return zero.
6938 * functions.def: Supply NOTHING as the fourth arg to macros
6939 that don't have an explicit arg, to satisfy picky preprocessors.
6940
6941 Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
6942
6943 * Makefile.in: Clean up *clean rules, as per standards.texi.
6944
6945 Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
6946
6947 * getopt.c, getopt1.c: merged largely gratuitous, mostly
6948 whitespace diffs from other prep distributions.
6949
6950 Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
6951
6952 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
6953 it is broken on ncr 3000's.
6954
6955 Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
6956
6957 * sigsetmask.c: Rewrite. Old one was very confused about its
6958 arguments and result. New one can't do much, but at least knows
6959 what it can't do, and it's good enough for GDB's use.
6960
6961 Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
6962
6963 * functions.def: Use proper prototype for strtoul.
6964
6965 Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
6966
6967 * Makefile.in: Add random.c.
6968 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
6969 * configure.in: update solaris2 config.
6970
6971 Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
6972
6973 * random.c: Add for random() and srandom().
6974 * functions.def: Add random
6975
6976 Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
6977
6978 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
6979 using /usr/ucb/install.
6980
6981 Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
6982
6983 * strerror.c: Kludge to guard against a conflict with
6984 possible declaration of sys_errlist in errno.h.
6985
6986 Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
6987
6988 * configure.in, config/mh-solaris: add solaris2 config support.
6989
6990 Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
6991
6992 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
6993 is not defined (should be defined in signal.h, says Posix.).
6994
6995 Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
6996
6997 * getopt.c: merged changes from make-3.62.11.
6998
6999 Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
7000
7001 * getopt.c: merged changes from bison-1.18.
7002
7003 Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
7004
7005 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
7006 since that introduces a circular dependency.
7007 ($(EXTRA_OFILES) are used to build config.h.)
7008
7009 * strtoul.c: Fixes to handle non-decimal bases better.
7010
7011 Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
7012
7013 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
7014 * Makefile.dos: Finish MINUS_G eradication.
7015 * Makefile.in (CFILES): Add strsignal.c.
7016 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
7017 * Makefile.in (needed-list): Split creation of errors file to
7018 separate make target.
7019 * Makefile.in (config.h, needed2.awk, errors): New targets.
7020 * Makefile.in (clean): Split to multiple lines, add needed2.awk
7021 and config.h.
7022 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
7023 * functions.def (strerror): Remove from optional list.
7024 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
7025 * functions.def (strerror, psignal): DEFFUNC's
7026 * strerror.c: Rewrite from scratch to use sys_errlist only if
7027 available, add errno_max(), add strerrno(), add strtoerrno(),
7028 add test driver.
7029 * strsignal.c: New file, signal equivalent to strerror.c.
7030 Uses sys_siglist if available, defines signo_max(), strsignal(),
7031 strsigno(), strtosigno(), psignal(), and test driver.
7032
7033 Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
7034
7035 * Makefile.in: do not print recursion line.
7036
7037 * Makefile.in: allow CFLAGS to be passed in from command line.
7038 Removed MINUS_G. Default CFLAGS to -g.
7039
7040 Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
7041
7042 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
7043 so libg++ users don't have to be inconvenienced by a
7044 libc.a bug (libc.a needs copysign, but doesn't define it!).
7045 * configure.in: Use config/mh-aix.
7046 * strtoul.c: Handle '-' as required by ANSI.
7047 Clean up radix handling.
7048 * strstr.c: Fix buggy algorithm.
7049 * Makefile.in: Change so that ${EXTRA_OFILES} is
7050 appended to needed-list (which is used by libg++).
7051
7052 Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
7053
7054 * configure.in: Recognize new ncr3000 config.
7055 * config/mh-ncr3000: New config file.
7056
7057 Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
7058
7059 * argv.c, dummy.c: Lint.
7060
7061 Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
7062
7063 * config/mh-sysv4: New config file.
7064 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
7065 host_os == sysv4.
7066 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
7067 pagesize.
7068
7069 Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
7070
7071 * getopt.c: Lint.
7072
7073 Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
7074
7075 * functions.def (alloca): Fix return type and args to avoid
7076 type clash with gcc's builtin alloca.
7077
7078 Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
7079
7080 * configure.in, config/mh-irix4: irix4 support.
7081
7082 * Makefile.in, functions.def, alloca.c: added alloca.
7083
7084 Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
7085
7086 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
7087
7088 Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
7089
7090 * argv.c: Fix various external function definitions to be
7091 correct in an ANSI compilation environment.
7092
7093 Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
7094
7095 * obstack.c: Changes to support calling mmalloc functions,
7096 which take an additional argument over malloc functions.
7097
7098 Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
7099
7100 * added check target.
7101
7102 Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
7103
7104 * argv.c: #include alloca-conf.h (needed by AIX).
7105
7106 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
7107
7108 * Makefile.in, configure.in: removed traces of namesubdir,
7109 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
7110 copyrights to '92, changed some from Cygnus to FSF.
7111
7112 Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
7113
7114 * argv.c: Check in Fred's version which fixes problems with
7115 alloca().
7116
7117 Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
7118
7119 * makefile.dos: Remove NUL to keep patch from failing.
7120
7121 Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
7122
7123 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
7124
7125 Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
7126
7127 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
7128
7129 Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
7130
7131 * argv.c: New file to build and destroy standard argument
7132 vectors from a command string.
7133
7134 * Makefile.in: Add argv.c and argv.o to appropriate macros.
7135
7136 Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
7137
7138 * configure.in: Change svr4 references to sysv4.
7139
7140 * rindex.c: Declare return type of externally used function
7141 strrchr().
7142
7143 Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
7144
7145 * Makefile.in: Remove "***" in normal output, since Make produces
7146 this on errors, and it's convenient to search for.
7147
7148 Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
7149
7150 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
7151 New ANSI functions. The old non-ANSI functions (such as bcopy)
7152 should be avoided.
7153 * bcopy.c: Fix to correctly handle overlapping regions.
7154 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
7155 * functions.def: Add the new functions.
7156 * functions.def: Add 4th parameter to DEF macro,
7157 an ansidecl.h-style prototype.
7158 * dummy.c: Use expanded DEF macro to create a dummy function
7159 call, with correct parameter types. (This avoids some
7160 complaints from gcc about predefined builtins.)
7161
7162 Move the functionality of config/mh-default into Makefile.in.
7163 This avoid duplication, and simplifies things slightly.
7164 * Makefile.in: Tweak so we don't need config/mh-default.
7165 * README: Update.
7166 * configure.in: No longer need config/mh-default.
7167 * config/mh-default: Deleted.
7168 * config/mh-sysv: Remove lines copied from old mh-default.
7169
7170 Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
7171
7172 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
7173 'mknod' device numbers.
7174
7175 Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
7176
7177 * fdmatch.c, Makefile.in: Add new function that takes two
7178 open file descriptors and returns nonzero if they refer to
7179 the same file, zero otherwise. (used in gdb)
7180
7181 Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
7182 From DJ:
7183 * msdos.c: stub functions for dos.
7184 * makefile.dos, configdj.bat: new.
7185 * getopt.c: Don't include alloca-conf.h in a GO32 world.
7186
7187
7188 Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7189
7190 * Makefile.in: infodir belongs in datadir.
7191
7192 Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7193
7194 * Makefile.in: remove spaces following hyphens because bsd make
7195 can't cope. added standards.text support. install using
7196 INSTALL_DATA.
7197
7198 * configure.in: remove commontargets as it is no longer a
7199 recognized hook.
7200
7201 Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
7202
7203 * Makefile.in: idestdir and ddestdir go away. Added copyrights
7204 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
7205 and mandir now keyed off datadir by default.
7206
7207 Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
7208
7209 * Makefile.in: find-needed.awk does not fit in 14 chars.
7210
7211 * Makefile.in: Suppress error checking when compiling the test
7212 program, because Ultrix make/sh aborts there due to a bug.
7213
7214 Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
7215
7216 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
7217 * README: Explained how the auto-configuration works,
7218 and how to add new files and/or configurations.
7219
7220 Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
7221
7222 * strtoul.c: Avoid defining ULONG_MAX if already defined;
7223 cast a const char * to char * for pedants.
7224
7225 * getopt.c: Only define "const" after local include files get to,
7226 and only if they haven't defined it.
7227
7228 Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
7229
7230 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
7231 emulate it with getwd() if available. This avoids callers having
7232 to find a MAXPATHLEN or PATH_MAX value from somewhere.
7233 * Makefile.in, functions.def: getwd->getcwd.
7234 * configure.in: Use generic case for every system.
7235 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
7236 * config/mh-sysv: Use default handling, just add -DUSG.
7237
7238 Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
7239
7240 * Makefile.in, config/mh-default: Re-do make magic
7241 so that for the default ("automatic") mode we only
7242 compile the files we actually need. Do this using
7243 a recursive make: The top-level generates the list
7244 of needed files (loosely, the ones missing in libc),
7245 and then passes that list to the recursive make.
7246 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
7247
7248 Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
7249
7250 RS/6000 host support (grumble).
7251
7252 * configure.in: Build alloca-conf.h file from alloca-norm.h
7253 (everything else) or alloca-botch.h (rs/6000).
7254 * Makefile.in: Include . on the include path.
7255 * getopt.c: Use alloca-conf.h.
7256 * alloca-norm.h: How to declare alloca on reasonable machines.
7257 * alloca-botch.h: How to declare alloca on braindead machines.
7258
7259 Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
7260
7261 * concat.c : New file, like concat() in gdb but can take a
7262 variable number of arguments rather than fixed at 3 args. For
7263 now, client applications must supply an xmalloc(), which is a
7264 front end function to malloc() that deals with out-of-memory
7265 conditions.
7266
7267 * Makefile.in: Add concat.c and concat.o to appropriate macros.
7268
7269 Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
7270
7271 * config/mh-svr4: Add sigsetmask to list of required functions.
7272
7273 Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
7274
7275 * vsprintf.c: New file.
7276 * functions.def, Makefile.in: Add vsprintf.
7277
7278 Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
7279
7280 * configure.in, config/mh-rs6000: Add rs/6000 host support.
7281 * Makefile.in: Compile with debug info.
7282
7283 Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
7284
7285 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
7286 config/mf-default: Added a default configuration mode,
7287 which includes into libiberty.a functions that are "missing" in libc.
7288 * strdup.c, vprintf.c, vfprintf.c: New files.
7289
7290 Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
7291
7292 * config/hmake-svr4: New file.
7293
7294 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
7295
7296 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
7297 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
7298 files containing either portable C versions or emulations using
7299 native library calls.
7300
7301 * strerror.c: Add copyright, internal documentation, etc.
7302
7303 * strtol.c: Replace hardwired hex constants with some more
7304 portable macros. Remove illegal (according to gcc) cast.
7305
7306 * strtoul.c: Replace hardwired hex constant with more portable
7307 macro.
7308
7309 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
7310 can override them. Add new source and object file names to CFILES
7311 and OFILES respectively.
7312
7313 * configure.in: Add support for SVR4 makefile fragments.
7314
7315 Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
7316
7317 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
7318 over-ridden by config/hmake-*
7319 * configure.in: added m88kcvs to sysv list
7320
7321 Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
7322
7323 * Makefile.in: Most hosts need strerror, but one or two don't,
7324 and they override these definitions in the host-dependent makefile
7325 fragment.
7326 * config/hmake-mach: The odd man out on strerror -- it's supplied.
7327 * strerror.c: New file.
7328
7329 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
7330 it and bfd uses it.
7331 * configure.in, Makefile.in, config/hmake-mach: Only configure
7332 strtol & strotoul in on Mach.
7333
7334 Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
7335
7336 * obstack.c: Merge with latest FSF version.
7337
7338 \f
7339 Local Variables:
7340 version-control: never
7341 End:
This page took 0.185795 seconds and 4 git commands to generate.