Test for a NULL frag link.
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
f348a7b1
DD
12001-12-31 Ira Ruben <ira@apple.com>
2
3 * aclocal.m4 (libiberty_AC_FUNC_STRNCMP): Use anon mmap as 2nd try.
4 * configure: Regenerated.
5
d86cd745
DD
62001-12-24 Douglas B. Rupp <rupp@gnat.com>
7
8 * configure.in (uintptr_t): Use AC_CHECK_TYPE.
9 * configure: Regenerated.
10
ae533646
DD
112001-12-12 Craig Rodrigues <rodrigc@gcc.gnu.org>
12
13 PR other/2719
14 * cplus-dem.c (consume_count): Treat negative count as an error.
15 * testsuite/demangle-expected: Added testcase.
16
c0eb281b
DD
17Tue Dec 11 07:08:57 2001 Douglas B. Rupp <rupp@gnat.com>
18
19 * configure.in: Hardcode that vfork works on VMS host.
20 * configure: Regenerated.
21
2da4c07f
RH
222001-12-06 Richard Henderson <rth@redhat.com>
23
24 * cplus-dem.c (libiberty_demanglers): Add no_demangling case.
25 (cplus_demangle): Support no_demangling.
26
24acd898
DD
272001-11-27 Zack Weinberg <zack@codesourcery.com>
28
29 * _doprnt.c: Moved here from gcc/doprint.c. Adjust to build
30 in libiberty context. Fix typo in leading comment.
31 * configure.in: Fix various AC_DEFINEs so autoheader works.
32 If any of vprintf, vsprintf, vfprintf is missing from libc,
33 then AC_REPLACE_FUNCS(_doprnt).
34
fec50157 352001-11-26 DJ Delorie <dj@redhat.com>
d86cd745 36 Daniel Jacobowitz <drow@mvista.com>
fec50157
DD
37
38 * Makefile.in (stamp-h): Depend on Makefile for proper
39 serialization.
40 (*-subdir): Depend on config.h for proper serialization.
41
5527febf
DD
422001-11-26 DJ Delorie <dj@redhat.com>
43
44 * configure.in: Check for alloca.h (for regex.c and putenv.c).
45 * configure: Regenerate.
46 * config.h: Add HAVE_ALLOCA_H.
47
941d74a0
DD
482001-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
49
50 * regex.c: Check defined(__STDC__) || defined(ALMOST_STDC) ||
51 defined(HAVE_STRINGIZE) to determine whether ISO CPP token pasting
52 is available.
53
dc579051
DD
54Thu Nov 15 11:06:25 2001 Jeffrey A Law (law@cygnus.com)
55
56 * config.in (HAVE_UINTPTR_T): Provide autoconf stub.
57 * configure.in (HAVE_UINTPTR_T): Test for system defining
58 uintptr_t and define HAVE_UINTPTR_T appropriately.
59 * regex.c (uintptr_t): Do not provide a definition if the
60 system provided one.
61
62 * regex.c (PREFIX): Provide an alternate definition for
63 non-ANSI/ISO compilers.
64 (ARG_PREFIX): Likewise.
65
1a78a35a
DD
662001-11-12 Jim Meyering <meyering@lucent.com>
67
68 * obstack.c (_): Honor the setting of ENABLE_NLS. Otherwise,
69 this code would end up calling gettext even in packages built
70 with --disable-nls.
71 * getopt.c (_): Likewise.
72 * regex.c (_): Likewise.
73
4e55c4b6
DD
742001-11-03 Alan Modra <amodra@bigpond.net.au>
75
76 * configure.in: Cope with missing makeinfo.
77 * configure: Regenerate.
78
d311a83a
DD
792001-10-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
80
81 * hex.c (hex_init): Provide empty stub.
82
83 * hex.c (hex_init): Delete.
84 (_hex_value): Const-ify and initialize at compile-time.
85
3bc62f91
DD
862001-10-19 H.J. Lu <hjl@gnu.org>
87
88 * Makefile.in ($(TARGETLIB)): Also generate pic/$(TARGETLIB) if
89 necessary.
90
5d852400
DD
912001-10-17 DJ Delorie <dj@redhat.com>
92
93 * argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c,
94 ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c,
5527febf 95 mkstemps.c, pexecute.c, random.c, strsignal.c, vasprintf.c:
5d852400
DD
96 Improve manual formatting.
97 * functions.texi: Regenerate.
98
ba19b94f
DD
992001-10-15 DJ Delorie <dj@redhat.com>
100
101 * Makefile.in (TEXIFILES): Add fnmatch.txh.
102 (maint-undoc): New.
103 maint-tool: Add "undoc" tool.
104 * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c,
105 fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c,
106 make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c,
107 strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update
108 documentation.
109 * fnmatch.txh: New.
110 * functions.texi: Regenerate.
111
56056af5
DD
1122001-10-10 Joseph S. Myers <jsm28@cam.ac.uk>
113
114 * bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".
115 * strtod.c: Use "ISO C" instead of "ANSI C".
116 * functions.texi: Regenerate.
117
99b58139
DD
1182001-10-07 Joseph S. Myers <jsm28@cam.ac.uk>
119
120 * alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c,
121 libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c,
122 strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c,
123 xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix
124 spelling. Give names to function arguments in documentation. Use
125 (void) prototypes in documentation.
126 * functions.texi: Regenerate.
127
e6450fe5
DD
1282001-10-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
129
130 * argv.c (buildargv, tests, main): Const-ify.
131 * cp-demangle.c (operator_code): Likewise.
132 * cplus-dem.c (optable, libiberty_demanglers,
133 cplus_demangle_set_style, cplus_demangle_name_to_style,
134 print_demangler_list): Likewise.
135 * hashtab.c (higher_prime_number): Likewise.
136 * strcasecmp.c (charmap): Likewise.
137 * strerror.c (error_info, strerror, main): Likewise.
138 * strncasecmp.c (charmap): Likewise.
139 * strsignal.c (signal_info): Likewise.
140
da191b5b
DD
1412001-09-29 DJ Delorie <dj@redhat.com>
142
143 * configure: Regenerate.
144
916aaa12
DD
1452001-09-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
146
147 * concat.c: Include stdlib.h.
148
fa9f0e33
DD
1492001-09-27 Eli Zaretskii <eliz@is.elta.co.il>
150
151 * libiberty.texi: (Top level): Add syncodeindex pg. Add
152 @dircategory and @direntry directives. Add @finalout.
153 (many nodes): Lose the next,prev,up pointers on the @nide line.
154 (Using, Supplemental Functions, Replacement Functions): Fix
155 markup.
156 (Functions): Move around, to allow makeinfo to build the manual
157 without next,prev,up pointers in thye node lines.
158 (Licenses): Fix typos.
159
160 * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c,
161 strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup.
162 * functions.texi: Regenerate.
163
164 * copying-lib.texi: Lose the next,prev,up pointers on the @node
165 line.
166
1672001-09-27 DJ Delorie <dj@redhat.com>
168
169 * configure.in: Don't use in-tree texinfo, because libiberty must
170 be built before it. Check for makeinfo version 4 or higher.
171 * functions.texi: Regenerate.
172
39423523
DD
1732001-09-20 DJ Delorie <dj@redhat.com>
174 Phil Edwards <pedwards@disaster.jaj.com>
175
176 * configure.in (MAKEINFO, PERL): Detect these.
177 (--enable-maintainer-mode): Add.
178 * configure: Regenerate.
179 * Makefile.in (MAKEINFO, PERL): Define.
180 (libiberty.info, libiberty.dvi, libiberty.html): New.
181 (CFILES): Add bsearch.c.
182 (CONFIGURED_OFILES): New, list of objects configure might add.
183 (maint-missing, maint-buildall): New, for maintainers only.
184 (clean, mostlyclean): Add info/dvi/html files.
185 * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New.
186 * gather-docs: New, for maintainers.
187 * maint-tool: New, for maintainers.
188 * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c,
189 bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c,
190 getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c,
191 memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c,
192 sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c,
193 strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c,
194 tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c,
195 xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update
196 documentation.
197
66c94e19
DD
1982001-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
199
200 * concat.c (reconcat): Fix for traditional C.
201
99ee3a8f
DD
2022001-09-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
203
204 * concat.c (reconcat): New function.
205
54c20242
DD
2062001-09-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
207
208 * concat.c (vconcat_length, vconcat_copy, concat_length,
209 concat_copy, concat_copy2): New functions.
210 (concat): Use vconcat_length/vconcat_copy.
211
212 * alloca.c (libiberty_optr, libiberty_nptr, libiberty_len):
213 Define.
214
843f21be
DD
2152001-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
216
217 * asprintf.c: Don't define USE_STDARG. Use VPARAMS, VA_OPEN,
218 VA_FIXEDARG & VA_CLOSE.
219
220 * vasprintf.c: Check HAVE_STRING_H when including string.h.
221 (checkit): Delete redundant prototype. Add ATTRIBUTE_PRINTF_1.
222 Use VA_OPEN, VA_FIXEDARG & VA_CLOSE. Free allocated string.
223
8a423cb3
DD
2242001-08-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
225
226 * concat.c (concat): Use VPARAMS, VA_OPEN, VA_FIXEDARG & VA_CLOSE.
227
dc676635
DD
2282001-08-23 Ulrich Drepper <drepper@redhat.com>
229
230 * regex.c (truncate_wchar): Use wcrtomb not wctomb.
231
2322001-08-23 Ulrich Drepper <drepper@redhat.com>
233
234 * posix/regex.c [_LIBC] (convert_mbs_to_wcs): Use __mbrtowc
235 instead of mbrtowc.
236 [_LIBC]: Use __iswctype instead of iswctype, __wcslen instead of
237 wcslen, and __wcscoll instead of wcscoll.
238
f080c76d
DD
2392001-08-22 Matt Kraai <kraai@alumni.carnegiemellon.edu>
240
4e55c4b6
DD
241 * fibheap.c (fibheap_init, fibnode_init): Remove.
242 (fibheap_new, fibnode_new): Use xcalloc to allocate and
243 initialize memory.
244 (fibheap_insert): Remove check for node allocation failure.
f080c76d 245
f01b59ed
DD
2462001-08-21 Richard Henderson <rth@redhat.com>
247
248 * Makefile.in (fibheap.o): Depend on config.h.
249 * fibheap.c: Tidy formatting. Use config.h.` Rearrange some
250 functions for inlining.
251
252Tue Aug 21 12:35:04 2001 Christopher Faylor <cgf@cygnus.com>
253
254 * configure.in: Need to set HAVE_SYS_ERRLIST and HAVE_SYS_NERR whenever
255 hosting on cygwin.
256 * configure: Regenerate.
257
eb828599
AC
2582001-08-20 Andrew Cagney <ac131313@redhat.com>
259
260 * floatformat.c (floatformat_m88110_ext): Remove #ifdef
261 HARRIS_FLOAT_FORMAT.
262 (floatformat_ia64_spill_little, floatformat_ia64_quad_little)
263 (floatformat_ia64_spill_big, floatformat_ia64_quad_big)
264 (floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
265 (floatformat_m88110_harris_ext): New float formats.
266
4e55c4b6
DD
2672001-08-20 Daniel Berlin <dan@cgsoftware.com>
268
269 * fibheap.c: New file. Fibonacci heap.
270
271 * Makefile.in (CFILES): Add fibheap.c.
272 (REQUIRED_OFILES): Add fibheap.o.
273 (fibheap.o): Add dependencies for fibheap.o.
274
68a41de7
DD
2752001-08-17 Christopher Faylor <cgf@cygnus.com>
276
277 * configure.in: Always set HAVE_SYS_ERRLIST when targetting cygwin.
278 * configure: Regenerate.
279
8fc34799
DD
2802001-08-16 Richard Henderson <rth@redhat.com>
281
282 * hashtab.c (htab_hash_string): New.
283
16bad250
AC
2842001-08-13 Andrew Cagney <ac131313@redhat.com>
285
286 * floatformat.c (floatformat_ieee_double_littlebyte_bigword): Fix
287 name.
288
a9022147
DD
2892001-08-12 Isamu Hasegawa <isamu@yamato.ibm.com>
290
291 * regex.c (wcs_regex_compile): Use appropriate string
292 to compare with collating element.
293 Fix the padding for the alignment.
294
8aefe91a 2952001-08-10 Andrew Cagney <ac131313@redhat.com>
3ea71002
AC
296
297 * lbasename.c (lbasename): Change function definition to return a
298 const char pointer.
299
e7e9b069
DD
3002001-08-07 Jason Merrill <jason_merrill@redhat.com>
301
302 * cp-demangle.c (demangle_special_name): "GR" -> "reference temporary
303 for".
304
cc5144f8
DD
3052001-08-03 Richard Henderson <rth@redhat.com>
306
307 * Makefile.in (concat.o): Depend on config.h.
308
8aefe91a
DD
3092001-07-30 Andreas Jaeger <aj@suse.de>
310
311 * concat.c: Include "config.h".
312
86710ce2
DD
3132001-07-30 Andreas Jaeger <aj@suse.de>
314
315 * regex.c: Declare wcs functions only if compiling with
316 MBS_SUPPORT.
317 Don't use #elif for traditional C.
318
3192001-07-23 Ulrich Drepper <drepper@redhat.com>
320
321 * regex.c: Revamp memory allocation for WCHAR functions to
322 not use too much stack.
323
3242001-07-30 Andreas Jaeger <aj@suse.de>
325
326 * regex.c: Declare wcs functions only if compiling with
327 MBS_SUPPORT.
328 Don't use #elif for traditional C.
329
a5d8f731
DD
3302001-07-25 Daniel Jacobowitz <drow@mvista.com>
331
332 * Makefile.in (regex.o): Add dependency on config.h.
333
6ad8a379
DD
3342001-07-18 Andreas Schwab <schwab@suse.de>
335
336 * regex.c (WORDCHAR_P) [WCHAR]: Also return true for the
337 underscore character.
338
3392001-07-18 Ulrich Drepper <drepper@redhat.com>
340
341 * regex.c: Limit string length printed in debug messages to 100
342 chars.
343
3442001-07-18 Andreas Jaeger <aj@suse.de>
345
346 * regex.c: Place under LGPL version 2.1.
347
2a6ef469
DD
3482001-07-10 Jeff Johnston <jjohnstn@redhat.com>
349
350 * Makefile.in: Add support for regex code.
351 * regex.c: New file.
352
7b78baae
DD
3532001-07-05 Mark Klein <mklein@dis.com>
354
355 * Makefile.in: Add ffs.c dependency.
356 * configure.in: Add ffs.c.
357 * ffs.c: New file.
358
926150e2
DD
3592001-06-18 Richard Henderson <rth@redhat.com>
360
361 * concat.c: Include <sys/types.h>.
362
11f6f21d
DD
3632001-06-11 Loren J. Rittle <ljrittle@acm.org>
364
365 bootstrap/3106
366 * strerror.c (sys_nerr): Hide the OS header version.
367 * strsignal.c (sys_nsig): Likewise.
368
d42dae6c
DD
3692001-06-10 Richard Henderson <rth@redhat.com>
370
371 * concat.c: Include string.h. Fix int vs size_t usage.
372 Simplify the iteration loops. Use memcpy.
373
e05c6d27
DD
3742001-05-16 Matt Kraai <kraai@alumni.carnegiemellon.edu>
375
376 * partition.c: Fix misspelling of `implementation'.
377
b50c4073
DD
3782001-05-09 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
379
380 * md5.c (md5_init_ctx): Declare constants as unsigned.
381 (md5_process_block): Likewise.
382
457161bf
DD
3832001-05-07 Zack Weinberg <zackw@stanford.edu>
384
385 * cp-demangle.c (demangle_v3_with_details,
386 is_gnu_v3_mangled_ctor, is_gnu_v3_mangled_dtor): Use K+R style
387 function definition.
388 * ternary.c: Use K+R style function definitions. Use PTR, not
389 void *. Make arguments constant where possible.
390
e00bc6a7
DD
3912001-05-07 Mark Mitchell <mark@codesourcery.com>
392
393 * splay-tree.h (splay_tree_max): New function.
394 (splay_tree_min): Likewise.
395
400ee7e1
DB
3962001-04-15 Daniel Berlin <dan@cgsoftware.com>
397
398 * ternary.c: New file - Ternary search tree implementation.
a5dd804e
DB
399
400 * Makefile.in: Add ternary.o, and ternary.c dependencies.
400ee7e1 401
d9697354
DD
4022001-04-03 Zack Weinberg <zackw@stanford.edu>
403
404 * make-temp-file.c (try): Inline.
405
a7bf099b
DD
4062001-02-28 Richard Henderson <rth@redhat.com>
407
408 * Makefile.in (make-temp-file.o): Depend on config.h.
409
30a1def2
DD
4102001-03-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
411
412 * memchr.c (memchr): Adjust condition to avoid infinite loop.
413
079c672a
DD
4142001-03-23 Jakub Jelinek <jakub@redhat.com>
415
416 * cp-demangle.c (demangle_discriminator): `_0' is discriminator #1,
417 `_' not followed by a digit is invalid.
418
a88e356a
JB
4192001-03-22 Jim Blandy <jimb@redhat.com>
420
421 * cp-demangle.c (string_list_delete): Use dyn_string_delete
422 instead of free, to free the contents as well as the string
423 structure.
424
1dffcc66
DD
4252001-03-21 Zack Weinberg <zackw@stanford.edu>
426
427 * make-temp-file.c: Always default DIR_SEPARATOR to '/'.
428 Don't default P_tmpdir to anything. Try /var/tmp before
429 /usr/tmp.
430
4312001-03-20 Zack Weinberg <zackw@stanford.edu>
432
433 * choose-temp.c: Split off make_temp_file, and the code
434 duplicated between it and choose_temp_base, into...
435 * make-temp-file.c: ... here; new file.
436
437 * Makefile.in (CFILES): Add make-temp-file.c.
438 (REQUIRED_OFILES): Add make-temp-file.o.
439
e61231f1
JB
4402001-03-20 Jim Blandy <jimb@redhat.com>
441
442 * cp-demangle.c (struct demangling_def): New fields:
443 is_constructor and is_destructor.
444 (demangling_new): Initialize them.
445 (demangle_ctor_dtor_name): Set them, if we detect a constructor
446 or destructor.
447 (demangle_v3_with_details, is_gnu_v3_mangled_ctor,
448 is_gnu_v3_mangled_dtor): New functions.
449
a9cbbe6d
DD
4502001-03-20 Jason Merrill <jason@redhat.com>
451
452 * cplus-dem.c (main): Skip initial $.
453
b1e51b3c
DD
4542001-03-15 Michael Meissner <meissner@redhat.com>
455
456 * hashtab.c (higher_prime_number): Silence warning that 4294967291
457 might be a signed integer under pre-ISO C systems.
458
8aa30e60 4592001-03-10 Neil Booth <neil@daikokuya.demon.co.uk>
fa03f0a7 460 John David Anglin <dave@hiauly1.hia.nrc.ca>
8aa30e60 461
8aa30e60
DD
462 * libiberty/lbasename.c: New file.
463 * libiberty/Makefile.in: Update for lbasename.
8aefe91a 464
30673bf5
DD
4652001-03-06 Zack Weinberg <zackw@stanford.edu>
466
467 * aclocal.m4 (libiberty_AC_FUNC_C_ALLOCA): New.
468 * configure.in: Replace all alloca logic with a simple use of
469 the above new macro.
470 * config.table: Kill *-*-beos* entry.
471 * config/mh-beos: Delete.
472 * configure, config.in: Regenerate.
fa03f0a7 473
30673bf5
DD
474 * Makefile.in (ALLOCA, HFILES): Kill.
475 (REQUIRED_OFILES): Add alloca.o.
476 (alloca.o): Depend on libiberty.h.
477 (argv.o): Don't depend on alloca-conf.h.
478 * alloca-conf.h: Delete.
479 * alloca.c: Include libiberty.h. Kill all #ifdef emacs
480 blocks. Provide the C alloca unconditionally. Use PTR where
481 appropriate. Make i00afunc static.
482 * argv.c: Don't include alloca-conf.h.
fa03f0a7 483
5810f394
DD
4842001-03-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
485
486 * cplus-dem.c (main): Cast enum style to int.
fa03f0a7 487
a9db032a
DD
4882001-02-16 Loren J. Rittle <ljrittle@acm.org>
489
490 * cplus-dem.c (main): Initialize style.
fa03f0a7 491
8aefe91a
DD
4922001-02-02 Phil Edwards <pme@sources.redhat.com>
493
494 * COPYING.LIB: Update to LGPL 2.1 from the FSF.
495
bc9bf259
DD
4962001-01-31 Bryce McKinlay <bryce@albatross.co.nz>
497
498 Add support for Java demangling under the v3 ABI:
499 * cp-demangle.c (NAMESPACE_SEPARATOR): New define.
500 (struct demangling_def): Add `style' field.
501 (demangling_new): New parameter `style'. Set it in demangling_t.
502 (demangle_prefix): Use NAMESPACE_SEPARATOR.
503 (demangle_type_ptr): Don't emit pointer symbol if doing Java output.
504 (cp_demangle): New parameter `style'. Pass it to demangling_new().
505 (main): Call cp_demangle with extra parameter.
506 (java_demangle_v3): New function.
507 (java_builtin_type_names): New. Table of primitive type names used
508 for Java demangling.
509 (demangle_builtin_type): Look up in java_builtin_type_names if doing
510 Java output.
511 * cplus-dem.c (cplus_demangle): Use java_demangle_v3 to do Java
512 demangling.
513 (long_options): Remove obsolete `java' option.
514 (main): Remove explicit handling of `java' option. Instead, pass style
515 parameter in cplus_demangle flags as gdb does.
516 * testsuite/demangle.expected: Add some Java test cases.
fa03f0a7 517
f6528837
DD
5182000-12-29 DJ Delorie <dj@redhat.com>
519
520 * fnmatch.c: Make the note about the origins of this file more
521 accurate, at least until we can sync with glibc.
522 * getopt.c: Ditto.
523 * getopt1.c: Ditto.
524 * md5.c: Ditto.
525 * obstack.c: Ditto.
9d969b59 526
c6da642e
DD
5272000-12-26 Michael Sokolov <msokolov@ivan.Harhan.ORG>
528
529 * bsearch.c: New file.
530 * configure.in (funcs): Add bsearch.
531 (AC_CHECK_FUNCS): Likewise.
532 * configure, config.in: Regenerate.
533
ae7d06ad 5342000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
535
536 * safe-ctype.c: #include "ansidecl.h".
537 * strtod.c: Likewise.
538
ae7d06ad 5392000-12-13 Michael Sokolov <msokolov@ivan.Harhan.ORG>
f021637a
DD
540
541 * strtoul.c: Include safe-ctype.h, not ctype.h.
542
ac424eb3
DD
5432000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
544
545 * safe-ctype.c: New file.
546 * Makefile.in (CFILES): Add safe-ctype.c.
547 (REQUIRED_OFILES): Add safe-ctype.o.
548
549 * argv.c: Define ISBLANK and use it, not isspace.
550 * basename.c, cplus-dem.c, fnmatch.c, pexecute.c, strtod.c,
551 strtol.c, strtoul.c: Include safe-ctype.h, not ctype.h. Use
552 uppercase ctype macros. Don't test ISUPPER(c)/ISLOWER(c)
553 before calling TOLOWER(c)/TOUPPER(c).
554
4415a860
DD
5552000-12-07 Mike Stump <mrs@wrs.com>
556
557 * Makefile.in (distclean): When cleaning, remove testsuite.
558
849ee224
DD
5592000-12-05 Jason Merrill <jason@redhat.com>
560
561 * cp-demangle.c (cplus_demangle_v3): Check that it's a v3 mangled
562 name before allocating the dyn_string.
563
ae7d06ad 5642000-12-04 Jason Merrill <jason@redhat.com>
e49a569c
DD
565
566 * cp-demangle.c: s/new_abi/v3/.
567 * cplus-dem.c: Likewise.
568 (current_demangling_style): Now auto_demangling.
569 (cplus_demangle): Try v3 demangling if AUTO_DEMANGLING.
ae7d06ad 570 (main): Use standard symbol chars for auto_demangling.
e49a569c 571
ae7d06ad 5722000-11-26 Mark Mitchell <mark@codesourcery.com>
5ca0f83d
DD
573
574 * hashtab.c (higher_prime_number): Use a table, rather than a
575 seive, to find the next prime.
ae7d06ad
NC
576
5772000-11-22 H.J. Lu <hjl@gnu.org>
578
579 * cplus-dem.c (main): Handle gnat_demangling.
580
5812000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
2ea7befd
DD
582
583 * aclocal.m4 (LIB_AC_PROG_CC): Moved here from configure.in.
584 (AC_DEFINE_NOAUTOHEADER): New - work around bug in autoheader.
585 * configure.in: Call AC_C_INLINE and AC_C_CONST. Use three
586 argument form of AC_DEFINE in dummy definitions block. Use
587 AC_DEFINE_NOAUTOHEADER for real definitions of things defined
588 in dummy block. Preload cache variables instead of bypassing
589 tests, where possible.
590 * acconfig.h: Removed.
ae7d06ad 591
2ea7befd
DD
592 * xmalloc.c (xmalloc_failed): New function, does error
593 reporting on failed allocation.
594 (xmalloc, xcalloc, xrealloc): Use it.
9c26dc82 595
f1775526
HPN
5962000-11-21 Hans-Peter Nilsson <hp@bitrange.com>
597
598 * cplus-dem.c (cplus_demangle): Fix formatting.
599 (grow_vect): Ditto.
600 (ada_demangle): Ditto.
601 (internal_cplus_demangle): Ditto.
602 (mop_up): Ditto.
603
6042000-11-21 H.J. Lu <hjl@gnu.org>
605
606 * cplus-dem.c (main): Handle java_demangling.
607
ae7d06ad 6082000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
f1775526
HPN
609
610 * cplus-dem.c (grow_vect): Prototype.
611 (ada_demangle): Cast the arg of ctype macros to unsigned char.
612
5dd42ef4
HPN
6132000-11-15 Hans-Peter Nilsson <hp@bitrange.com>
614
615 * cplus-dem.c (ada_demangle): Add back ATTRIBUTE_UNUSED for
616 parameter `option'.
617
296731c1
DD
6182000-11-15 Kenneth Block <kenneth.block@compaq.com>
619
8944fb9d 620 * cplus-dem.c: Eliminate use of DEFUN, it is obsolete and cannot
296731c1
DD
621 be used in GCC.
622
6e53a714 6232000-11-15 Kenneth Block <kenneth.block@compaq.com>
16e85745 624
5dd42ef4 625 * cplus-dem.c: Add gnat demangler. Add java to demangle style
16e85745
HPN
626 list.
627
99a4c1bd
HPN
6282000-11-04 Hans-Peter Nilsson <hp@bitrange.com>
629
630 * hashtab.c (htab_expand): Change to return int. Use calloc or
8aefe91a
DD
631 xcalloc depending on htab->return_allocation_failure. Return zero
632 if calloc fails.
99a4c1bd
HPN
633 (htab_create): Update comment to cover memory allocation.
634 (htab_try_create): New.
635 (htab_find_slot_with_hash): Return NULL if htab_expand fails.
8aefe91a 636 Update comment to cover this.
99a4c1bd 637
e0f3df8f
HPN
6382000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
639
640 * hashtab.c: Change void * to PTR where necessary.
641 (htab_create, htab_expand): Correct formatting of comment before
642 function.
643
ae7d06ad 6442000-10-22 Alex Samuel <samuel@codesourcery.com>
59666b35
DD
645
646 * cp-demangle.c (string_list_def): Add caret_position and comments.
647 (result_caret_pos): New macro.
648 (result_append_string): Rename to...
649 (result_add_string): ... this, and insert at caret position.
ae7d06ad 650 Rename throughout.
59666b35
DD
651 (result_append): Rename to...
652 (result_add): ... this, and insert at caret position. Rename
ae7d06ad 653 throughout.
59666b35
DD
654 (result_append_char): Rename to...
655 (result_add_char): ... this, and insert at caret position. Rename
ae7d06ad 656 throughout.
59666b35
DD
657 (result_append_space): Remove.
658 (string_list_new): Initialize caret position.
659 (result_add_separated_char): Use caret position.
660 (result_get_caret): New funtion.
661 (result_set_caret): Likewise.
662 (result_shift_caret): Likewise.
663 (result_previous_char_is_space): Likewise.
664 (substitution_start): Use caret position.
665 (substitution_add): Likewise.
666 (demangling_new): Initialize caret position.
667 (demangle_encoding): Use caret position.
ae7d06ad 668 (demanglin_nested_name): Put CV qualifiers after name.
59666b35
DD
669 (demangle_type_ptr): Use switch statement. Handle pointers to
670 arrays. Don't use result_append_space. Use caret position.
671 (demangle_type): Emit CV qualifiers after underlying type. Adjust
ae7d06ad
NC
672 call to demangle_array_type.
673 (demangle_array_type): Add parameter to handle pointers to arrays.
74bcd529 674
ae7d06ad 6752000-10-01 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
676
677 * splay-tree.c (splay_tree_insert): Fix formatting.
ae7d06ad
NC
678
6792000-09-16 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
680
681 * splay-tree.c (splay_tree_predecessor): Fix typo in comment.
ae7d06ad
NC
682
6832000-09-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
684
685 * splay-tree.c: #include <stdio.h>.
686
6872000-09-14 Hans-Peter Nilsson <hp@axis.com>
688
689 * testsuite/demangle-expected: Add two tests for anonymous
690 namespaces.
691 * cplus-dem.c (gnu_special): Handle anonymous namespaces.
692
6932000-09-10 Mark Mitchell <mark@codesourcery.com>
74bcd529
DD
694
695 * splay-tree.c (splay_tree_predecessor): New function.
696 (splay_tree_successor): Likewise.
ae7d06ad
NC
697
6982000-09-10 Hans-Peter Nilsson <hp@axis.com>
699
700 * testsuite/demangle-expected: Add four tests for type_info
701 mangling.
702 * cplus-dem.c (gnu_special): Use do_type, not demangle_fund_type,
703 for a non-template non-qualified type_info function or node.
704
7052000-09-08 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
706
707 * cp-demangle.c: Fix copyright banner.
ae7d06ad
NC
708
7092000-09-07 Michael Sokolov <msokolov@ivan.Harhan.ORG>
710
711 * md5.c: #include "ansidecl.h".
712
7132000-09-06 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
714
715 * cp-demangle.c (status_allocation_failed): Rearrange whitespace.
716 (demangle_type): Handle substitution candidates correctly in the
717 face of special substitutions.
ae7d06ad
NC
718
7192000-09-05 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
720
721 * cp-demangle.c (demangle_encoding): Rename variable.
722 (demangle_name): Rename parameter. Handle return type
723 suppression.
724 (demangle_nested_name): Rename parameter.
725 (demangle_prefix): Likewise. Change return type suppression.
726 (demangle_unqualified_name): Add parameter. Flag constructors and
727 conversion operators.
728 (demangle_special_name): Fix comment.
729 (demangle_type): Rename variable.
730 (demangle_bare_function_type): Check for missing return type and
731 parameter.
732 (demangle_class_enum_type): Rename parameter.
733 (demangle_discriminator): Fix misspelling in comment.
ae7d06ad
NC
734
7352000-08-31 DJ Delorie <dj@redhat.com>
736
737 * configure.in (Cygwin): special case cygwin only when we're
738 building cygwin, not when we're hosting cygwin.
739
7402000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
741
742 * cp-demangle.c (demangle_template_arg): Eat an `E' after an
743 <expression>.
ae7d06ad
NC
744
7452000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
746
747 * cp-demangle.c (demangle_type_ptr): Increment position past
748 pointer and reference characters.
ae7d06ad
NC
749
7502000-09-04 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
751
752 * cp-demangle.c (demangle_nv_offset): New function.
753 (demangle_v_offset): Likewise.
754 (demangle_call_offset): Likewise.
755 (demangle_special_name): Update thunk demangling to comply with
756 ABI changes.
ae7d06ad
NC
757
7582000-09-03 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
759
760 * cp-demangle.c (ANONYMOUS_NAMESPACE_PREFIX): New macro.
761 (substitution_def): Remove template_parm_number.
762 (NOT_TEMPLATE_PARM): Remove.
763 (result_insert_string): New macro.
764 (result_insert): Likewise.
765 (result_insert_char): Likewise.
766 (substitution_add): Remove last parameter. Don't store template
767 parm number.
768 (BFT_NO_RETURN_TYPE): Define as NULL.
769 (demangle_encoding): Adjust call to demangle_bare_function_type.
770 (demangle_name): Adjust substitution. Adjust call to
771 substitution_add.
772 (demangle_prefix): Adjust call to substitution_add.
773 (demangle_identifier): Handle anonymous namespaces.
774 (demangle_operator_name): Change demangling of vendor-extended
775 operator to match ABI changes.
776 (demangle_type_ptr): Change parameters. Make recursive. Handle
777 substitutions here.
778 (demangle_type): Adjust calls to demangle_template_param,
779 substitution_add, and demangle_type_ptr. Fix substitution of
780 templated types.
781 (demangle_function_type): Change parameter to a pointer.
782 (demangle_bare_function_type): Likewise. Adjust insertion point.
783 (demangle_template_param): Remove last parameter.
784 (demangle_expr_primary): Remove unused variable. Adjust call to
785 demangle_template_param.
786 (is_mangled_char): Accept `$' and `.'.
787 * cplus-dem.c (gnu_new_abi_symbol_characters): Add '$' and '.'.
788 * dyn-string.c (dyn_string_insert_char): New function.
ae7d06ad
NC
789
7902000-08-31 Hans-Peter Nilsson <hp@axis.com>
791
792 * testsuite/demangle-expected: Add nine tests for
793 underscore-after-number followed by five tests for name-signature
794 delimiter.
795
7962000-08-28 Richard Henderson <rth@cygnus.com>
74bcd529
DD
797
798 * Makefile.in (md5.o): Depend on config.h.
ae7d06ad
NC
799
8002000-08-28 Jason Merrill <jason@redhat.com>
801
802 * Makefile.in (REQUIRED_OFILES): Add md5.o.
803 (CFILES): Add md5.c.
804 * md5.c: New file.
805
8062000-08-27 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
807
808 * cp-demangle.c (demangle_name): Initialize template_p in local
809 name case. Don't re-add substitutions as candidates.
810 (demangle_nested_name): Use <unqualified-name>.
811 (demangle_prefix): Likewise. Don't add template names as
812 substitution candidates twice, or re-add a substitution or the
813 last prefix component.
814 (demangle_local_name): Adjust output format.
ae7d06ad
NC
815
8162000-08-25 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
817
818 * cp-demangle.c (result_add_separated_char): Change parameter to
819 int.
820 (substitution_add): Don't check for duplicates. Check if
821 previously allocated size is zero.
822 (demangle_name): Remove duplicate check for std substitution.
823 Clear template flag appropriately.
824 (demangle_prefix): Remove argument to demangle_substitution.
825 Don't check that template flag is already set.
826 (demangle_operator_name): Add pt operator.
827 (demangle_type): Don't treat r as built-in type. Remove argument
828 to demangle_substitution. Fix substitution candidate mechanics.
829 Handle <template-template-parm>s. Improve comments.
830 (demangle_template_param): Don't handle template arg lists here.
831 (demangle_substitution): Remove parameter.
832 (print_usage): Remove extra fprintf option.
ae7d06ad
NC
833
8342000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
835
836 * libiberty/random.c (end_ptr): Revert previous change.
ae7d06ad
NC
837
8382000-08-24 Greg McGary <greg@mcgary.org>
74bcd529
DD
839
840 * libiberty/cplus-dem.c (cplus_demangle_opname, cplus_mangle_opname,
841 demangle_expression, demangle_function_name): Use ARRAY_SIZE.
842 * libiberty/random.c (end_ptr): Likewise.
ae7d06ad
NC
843
8442000-08-23 Alex Samuel <samuel@codesourcery.com>
74bcd529
DD
845
846 * cp-demangle.c (result_close_template_list): Remove function.
847 (result_add_separated_char): New function.
848 (result_open_template_list): New macro.
849 (result_close_template_list): Likewise.
850 (demangle_prefix): Don't set template_p if the
851 prefix ends with a ctor name.
852 (demangle_type_ptr): Remove duplicate RETURN_IF_ERROR.
853 (demangle_type): Check for template args after substitution.
854 (demangle_template_args): Use result_open_template_list.
d3e85005 855
ae7d06ad 8562000-08-02 Zack Weinberg <zack@wolery.cumb.org>
64e3a659 857
ae7d06ad 858 * pexecute.c: Don't use vfork. Initialize 'pid' before retry loop.
050823ca 859
ae7d06ad 8602000-07-26 Dave Pitts <dpitts@cozx.com>
d6e83f5f
JL
861
862 * config/mh-openedition.h: Added -DLE370 definition.
863
a9f34fb6
JL
8642000-07-26 Mark Elbrecht <snowball3@bigfoot.com>
865
866 * pexecute.c (pexecute) [__MSDOS__]: Change __GO32__ to
867 __DJGPP__. Use P_WAIT instead of constant in the spawnv* call.
868 Cast program to 'char *' in errmsg_arg assignment.
869 (PWAIT_ERROR): Define.
870 (pwait): Use PWAIT_ERROR. Adjust DJGPP's status code to conform
871 to DJGPP's WIF* macros.
872
90aaccd1 8732000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
ae7d06ad 874 Jeff Law <law@cygnus.com>
90aaccd1 875
ae7d06ad 876 * getcwd.c: Include string.h, stdlib.h for prototypes
443519c1 877
90aaccd1 878 * Makefile.in (rename.o, waitpid.o): Depend on config.h
ae7d06ad
NC
879 * rename.c: Include config.h, unistd.h
880 * waitpid.c: Include config.h, sys/wait.h
90aaccd1 881
6ef554e3
HPN
8822000-07-24 Hans-Peter Nilsson <hp@axis.com>
883
884 * cplus-dem.c (work_stuff_copy_to_from): New.
885 (delete_non_B_K_work_stuff): New.
886 (delete_work_stuff): New.
887 (mop_up): Break out work_stuff partly destruction to
888 delete_non_B_K_work_stuff.
889 (iterate_demangle_function): New.
890 (demangle_prefix): Call iterate_demangle_function instead of
891 demangle_function_name. Leave handling of name-signature
892 __-delimiters to iterate_demangle_function.
893 (demangle_integral_value): Strip an optional
894 following underscore cautiously. Handle negative numbers.
895
ae7d06ad 8962000-07-24 Daniel Berlin <dberlin@redhat.com>
e8865c28 897
ae7d06ad 898 * cplus-dem.c (demangle_signature): Change if (GNU_DEMANGLING) to
e8865c28
DB
899 if (AUTO_DEMANGLING || GNU_DEMANGLING)
900
ae7d06ad
NC
9012000-07-21 Alex Samuel <samuel@codesourcery.com>
902
903 * cp-demangle.c (demangle_ctor_dtor_name): Remove not-in-charge
904 allocating ctor mangling.
905 (demangle_array_type): Handle empty and non-constant array length.
906
b1233257 9072000-07-23 Michael Sokolov <msokolov@ivan.Harhan.ORG>
62df2065
JL
908 Jeff Law <law@cygnus.com>
909
910 * configure.in (AC_CHECK_HEADERS): Add time.h.
911 (AC_HEADER_TIME): Add check.
912 * configure, config.in: Regenerate.
913 * getruntime.c: Portably #include <sys/time.h> and/or <time.h>.
914
915 * configure.in (AC_CHECK_HEADERS): Add limits.h.
916 * configure, config.in: Regenerate.
917 * sort.c: Portably #include <limits.h> and/or <sys/param.h>.
918 * strtol.c, strtoul.c: #include "config.h". Portably #include
919 <limits.h> and/or <sys/param.h>.
920 * Makefile.in (strtol.o, strtoul.o): Update dependencies.
b1233257 921
7d3ffcaf
JL
922 * aclocal.m4 (libiberty_AC_DECLARE_ERRNO): New macro.
923 * configure.in (libiberty_AC_DECLARE_ERRNO): Add check.
924 * configure, config.in: Regenerate.
925 * pexecute.c, strtol.c, strtoul.c: Declare errno if necessary.
926
b1233257
JL
927 * cp-demangle.c, mkstemps.c: #include <sys/types.h>.
928
ae7d06ad
NC
9292000-07-21 Mike Stump <mrs@wrs.com>
930
931 * Makefile.in (xexit.o): Add dependency for config.h in xexit.c.
932 * (vasprintf.o): Add dependency for config.h in vasprintf.c.
933
9342000-07-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
935
936 * cp-demangle.c (cp_demangle_type): Wrap in IN_LIBGCC2.
937
938 * setenv.c (setenv): Initialize variable `ep'.
939
940 * sigsetmask.c (abort): Prototype.
941
942 * vasprintf.c: Include config.h. Check ANSI_PROTOTYPES, not
943 __STDC__ for stdarg.h include.
944 (int_vasprintf): Prototype.
945 (checkit): Prototype. Use VPARAMS/ANSI_PROTOTYPES/VA_START in
946 definition. Cast `global_total_width' in comparison.
947 (main): Prototype. Return a value.
948
949 * vfork.c (fork): Prototype.
950
951 * xexit.c: Include config.h.
952
9adf30b2
JL
9532000-07-20 Joseph S. Myers <jsm28@cam.ac.uk>
954
955 * cplus-dem.c (demangle_fund_type): Make 'dec' an unsigned int,
956 and print it with %u.
957
2ed78d1b
HPN
9582000-07-17 Hans-Peter Nilsson <hp@axis.com>
959
960 * testsuite/regress-demangle (failed test): Show result and
961 expected output.
962
0473bdf7
AH
9632000-07-07 Andrew Haley <aph@cygnus.com>
964
965 * cplus-dem.c (main): fflush() after emitting last char before
966 waiting for input.
967
03d5f569
JM
9682000-06-28 Alex Samuel <samuel@codesourcery.com>
969
970 * cp-demangle.c (demangle_encoding): Accept no substitutions.
971 (demangle_name): Handle <substitution> followed by
972 <unqualified-template-name>.
973 (demangle_type): Follow special substitutions with
974 <class-enum-type>
975 (demangle_subtitution): Set template_p for special substitutions.
976 (main): Fix typos.
ae7d06ad 977
03d5f569
JM
9782000-06-27 Alex Samuel <samuel@codesourcery.com>
979
980 * cp-demangle.c (demangle_special_name): Swap base and derived
981 class when demangling construction vtables.
982
9832000-06-21 Alex Samuel <samuel@codesourcery.com>
984
985 * cp-demangle.c: Don't include ctype.h.
986 (IS_DIGIT): New macro.
987 (IS_ALPHA): Likewise. Use IS_DIGIT and IS_ALPHA throughout
988 instead of isdigit and isalpanum.
989 (demangling_def): Make name and next const pointers.
990 (STATUS_ALLOCATION_FAILED): New status code.
991 (dyn_string_append_space): Handle failure in
992 dyn_string_append_char.
993 (int_to_dyn_string): Likewise. Change return value to status_t.
994 (string_list_new): Handle failure of dyn_string_init.
995 (result_close_template_list): Change return type to status_t.
996 Handle failure in dyn_string_append.
997 (result_push): Change return value to status_t. Handle failure in
998 string_list_new. Handle failure of result_push throughout.
999 (substitution_add): Change return value to status_t. Handle
1000 dyn_string failures. Handle failure of substitution_add
1001 throughout.
1002 (template_arg_list_new): Return NULL on allocation failure.
1003 (result_append_string): Return STATUS_ALLOCATION_FAILED on error.
1004 Handle error result throughout.
1005 (result_append): Likewise.
1006 (result_append_char): Likewise.
1007 (result_append_space): Likewise.
1008 (demangling_new): Make argument a const pointer. Handle
1009 allocation failures.
1010 (demangle_template_args): Handle failure in template_arg_list_new
1011 and result_close_template_list.
1012 (demangle_discriminator): Return if int_to_dyn_string fails.
1013 (cp_demangle): Likewise.
1014 (cp_demangle_type): New function.
1015 (cplus_demangle_new_abi): Don't call dyn_string_delete. Abort on
1016 memory allocation failure.
1017 (main): Likewise.
1018 * dyn-string.c (RETURN_ON_ALLOCATION_FAILURE): Define if
1019 IN_LIBGCC2.
1020 (dyn_string_init): Change return value to int. Handle
1021 RETURN_ON_ALLOCATION_FAILURE case.
1022 (dyn_string_new): Handle RETURN_ON_ALLOCATION_FAILURE case.
1023 (dyn_string_release): Delete the dyn_string.
1024 (dyn_string_resize): Handle RETURN_ON_ALLOCATION_FAILURE case.
1025 (dyn_string_copy): Change return type to int.
1026 (dyn_string_copy_cstr): Likewise.
1027 (dyn_string_prepend): Likewise.
1028 (dyn_string_prepend_cstr): Likewise.
1029 (dyn_string_insert): Likewise.
1030 (dyn_string_insert_cstr): Likewise.
1031 (dyn_string_append): Likewise.
1032 (dyn_string_append_cstr): Likewise.
1033 (dyn_string_append_char): Likewise.
1034 (dyn_string_substring): Likewise.
ae7d06ad 1035
eb383413 10362000-06-09 Zack Weinberg <zack@wolery.cumb.org>
9cc28cc8 1037
eb383413
L
1038 * cp-demangle.c (demangle_operator_name): Add spaces before
1039 names beginning with a letter: delete, delete[], new, new[],
1040 sizeof.
1041 (demangle_special_name): Handle TF <type> and TJ <type>.
9cc28cc8 1042
eb383413
L
1043Thu Jun 8 18:52:24 2000 Philippe De Muyter <phdm@macqel.be>
1044
1045 * cp-demangle.c (template_arg_list_new): Revert previous PARAMS patch.
1046
1047Thu Jun 8 09:25:54 2000 Philippe De Muyter <phdm@macqel.be>
1048
1049 * cp-demangle.c (stdio.h): File included unconditionaly.
1050 (template_arg_list_new): Parameter list is PARAMS ((void)), not ().
1051 * dyn-string.c (stdio.h): File included.
1052 * partition.c (partition_print): No `&' needed to take the address of
1053 a function.
1054
10552000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1056
1057 * configure.in (ac_libiberty_warn_cflags): Add -pedantic.
ae7d06ad 1058
eb383413
L
1059 * choose-temp.c (try, choose_temp_base, make_temp_file): Constify.
1060
1061 * cp-demangle.c (demangle_char): Change parameter from char to int.
1062 (demangle_expression, demangle_expr_primary): Remove extra
1063 semi-colon in prototype.
1064
1065 * dyn-string.c (dyn_string_append_char): Change parameter from
1066 char to int.
1067
1068 * memcmp.c (memcmp): Constify.
1069
1070 * mkstemps.c (gcc_uint64_t): Mark GNUC `long long' case with
1071 __extension__.
1072
1073 * partition.c (elem_compare): Prototype. Don't cast away
1074 const-ness.
1075
1076 * setenv.c (setenv): Use braces to avoid ambiguous `else'.
ae7d06ad 1077
eb383413
L
10782000-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1079
1080 * Makefile.in (cp-demangle.o): Depend on $(INCDIR)/demangle.h.
1081
1082 * cp-demangle.c: Include demangle.h.
1083 (template_arg_list_new): DeANSIfy.
1084 (cp_demangle): Make static and add prototype.
1085 (operator_code, operators): Constify.
1086 (demangle_operator_name): Likewise for variables `p1', `p2' and `p'.
1087
10882000-06-05 Alex Samuel <samuel@codesourcery.com>
1089
1090 * cp-demangle.c (demangle_prefix): Cast argument to isdigit to
1091 unsigned char.
1092 (demangle_unqualified_name): Likewise.
1093 (demangle_number_literally): Likewise.
1094 (demangle_type): Likewise.
1095 (demangle_substitution): Likewise.
1096 (is_mangled_char): Likewise, for isalnum.
1097
10982000-06-04 Alex Samuel <samuel@codesourcery.com>
1099
1100 * Makefile.in (CFILES): Add cp-demangle.c and dyn-string.c.
1101 (REQUIRED_OFILES): Add cp-demangle.o and dyn-string.o.
1102 (cp-demangle.o): New dependency.
1103 (dyn-string.o): Likewise.
1104
1105 * dyn-string.c: Move here from gcc/dyn-string.c. Add new functions.
1106
1107 * cplus-dem.c (libiberty_demanglers): Add initializer for new-ABI
1108 demangler.
1109 (cplus_demangle): Call cplus_demangle_new_abi if in new-ABI
1110 demangling mode.
1111 (gnu_new_abi_symbol_characters): New function.
1112 (main): Use gnu_new_abi_symbol_characters. * cp-demangle.c: New
1113 file.
1114 * cp-demangle.c: New file.
ae7d06ad 1115
f03aa80d
AC
1116Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
1117
1118 * floatformat.c: Add name to each floatformat field.
1119
77bfb694
JL
1120Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
1121
1122 * Makefile.in (objalloc.o): Depend on config.h
1123
5c82d20a
ZW
11242000-05-29 Zack Weinberg <zack@wolery.cumb.org>
1125
eb383413 1126 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
5c82d20a
ZW
1127 if HAVE_STRING_H.
1128 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
1129 * objalloc.c: Include config.h. Include stdlib.h and don't
1130 declare malloc or free if HAVE_STDLIB_H.
1131 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
1132 else declare malloc without prototype. Include string.h if
1133 HAVE_STRING_H, else declare memset without prototype. Don't
1134 include stddef.h.
1135
eb383413
L
11362000-05-23 Mike Stump <mrs@wrs.com>
1137
1138 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
8aefe91a 1139 -j3.
eb383413
L
1140
11412000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
1142
1143 * xmalloc.c: Include config.h for HAVE_SBRK definition.
1144
11452000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
1146
ae7d06ad 1147 * hashtab.c (hash_pointer): Delete low-order bits which are
eb383413
L
1148 probably zero, also eliminate a warning on alpha.
1149
11502000-05-15 David Edelsohn <edelsohn@gnu.org>
1151
1152 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
1153 on $(enable_shared).
1154
11552000-05-10 Jakub Jelinek <jakub@redhat.com>
1156
1157 * config.table: Use mh-sparcpic for sparc*-*-*.
1158
11592000-05-08 Nick Clifton <nickc@cygnus.com>
1160
1161 * Makefile.in (CFILES): Add strncmp.c.
1162 (NEEDED): Add strncmp.
1163
11642000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5c82d20a 1165
eb383413
L
1166 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
1167 Cast the arguments to `islower' to `unsigned char'.
1168 (print_demangler_list): Prototype.
1169
1170Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
1171
1172 * sort.c (UCHAR_MAX): Provide fallback definition.
1173
11742000-04-29 Alexandre Oliva <aoliva@cygnus.com>
010c70e1
AO
1175
1176 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
1177 SUBDIRS.
1178
eb383413
L
11792000-04-28 Kenneth Block <block@zk3.dec.com>
1180 Jason Merrill <jason@casey.cygnus.com>
1181
ae7d06ad
NC
1182 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
1183 (cplus_demangle_set_style): New function for setting style.
1184 (cplus_demangle_name_to_style): New function to translate name.
eb383413
L
1185
11862000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1187
1188 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
1189
1190 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
1191 (libiberty_AC_FUNC_STRNCMP): Invoke.
1192
1193 * strncmp.c: New file.
1194
1195Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
1196
1197 * hashtab.c (htab_expand): Add prototype.
1198 (find_empty_slot_for_expand): Likewise.
1199
12002000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1201
1202 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
1203 match prototype.
1204 (htab_expand): Cast the return value of xcalloc.
1205
12062000-04-24 Mark Mitchell <mark@codesourcery.com>
1207
1208 * hashtab.c (hash_pointer): New function.
1209 (eq_pointer): Likewise.
1210 (htab_hash_pointer): New variable.
1211 (htab_eq_pointer): Likewise.
1212
12132000-04-23 Mark Mitchell <mark@codesourcery.com>
1214
1215 * sort.c (sort_pointers): Fix endianness bugs.
1216
1217 * sort.c: New file.
1218 * Makefile.in (CFILES): Add sort.c
1219 (REQUIRED_OFILES): Add sort.o.
1220 (sort.o): New target.
1221
19be4303
JL
12222000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
1223
1224 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
1225 4.3BSD systems.
1226
eb383413
L
1227Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1228
1229 * hashtab.c: Various minor cleanups.
1230 (htab_find_slot_with_hash): INSERT is now enum insert_option.
1231 (htab_find_slot): Likewise.
1232
12332000-04-16 Dave Pitts <dpitts@cozx.com>
1234
1235 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
ae7d06ad 1236
afe36a78
RH
12372000-04-05 Richard Henderson <rth@cygnus.com>
1238
1239 * splay-tree.c (splay_tree_remove): New.
1240
eb383413
L
12412000-03-30 Mark Mitchell <mark@codesourcery.com>
1242
1243 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
1244 codes.
1245 (htab_find_with_hash): Likewise.
1246 (htab_find_slot_with_hash): Likewise.
ae7d06ad 1247
eb383413
L
12482000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1249
1250 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
1251 unless it will be used. Rearrange loop for better
1252 optimization.
1253 (higher_prime_number): Add static prototype.
1254
b4fe2683
JM
1255Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
1256
1257 * Makefile.in (partition.o): Depend on config.h
1258
12592000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
1260
1261 * hashtab.c (find_empty_slot_for_expand): New function.
1262 (htab_expand): Use it instead of htab_find_slot.
1263 (htab_find_with_hash): Renamed from htab_find; now accepts extra
1264 argument HASH.
1265 (htab_find_slot_with_hash): Likewise for htab_find_slot.
1266 (htab_find): New wrapper function.
1267 (htab_find_slot): Likewise.
1268 (htab_traverse): Pass slot, not entry, to called function.
1269
12702000-03-09 Alex Samuel <samuel@codesourcery.com>
1271
1272 * Makefile.in (CFILES): Add partition.c.
1273 (REQUIRED_OFILES): Add partition.o.
1274 (partition.o): New rule.
1275 * partition.c: New file.
ae7d06ad 1276
b4fe2683
JM
12772000-03-09 Zack Weinberg <zack@wolery.cumb.org>
1278
1279 * hashtab.c (htab_create): Set del_f.
1280 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
1281 Use it.
1282
12832000-03-08 Zack Weinberg <zack@wolery.cumb.org>
1284
1285 * hashtab.c: Remove debugging variables (all_searches,
1286 all_collisions, all_expansions). Delete
1287 all_hash_table_collisions.
1288 (create_hash_table, delete_hash_table, empty_hash_table,
1289 find_hash_table_entry, remove_element_from_hash_table_entry,
1290 clear_hash_table_slot, traverse_hash_table, hash_table_size,
1291 hash_table_elements_number, hash_table_collisions): Rename to:
1292 htab_create, htab_delete, htab_empty, htab_find_slot,
1293 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
1294 htab_elements, htab_collisions.
1295 (htab_find): New function, handles common case where you don't
1296 plan to add or delete an entry.
1297 (htab_expand): Don't create a whole new table, just a new
1298 entry vector.
1299 (htab_find_slot): Simplify logic.
1300
08372f14
ILT
13011999-08-03 Ian Lance Taylor <ian@zembu.com>
1302
1303 * floatformat.c: Add casts to avoid signed/unsigned warnings.
1304 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
1305
1306 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
1307 $(TARGETLIB)n so it works on MSDOS.
1308 (install_to_tooldir): Likewise.
1309
9c8ac5a9
ILT
13101999-07-21 Ian Lance Taylor <ian@zembu.com>
1311
1312 From Mark Elbrecht:
1313 * makefile.dos: Remove; obsolete.
8f36e47c 1314 * configure.bat: Remove; obsolete.
9c8ac5a9 1315
0c0a36a4
ILT
13161999-07-11 Ian Lance Taylor <ian@zembu.com>
1317
1318 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1319 warning.
1320
13212000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
1322
1323 * pexecute.c: Conditionally include string.h.
b4fe2683 1324 (fix_argv): Handle embedded whitespace in args for Mingw32.
0c0a36a4
ILT
1325
13262000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1327
1328 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
1329 we're using gcc.
1330
1331 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
1332
13331999-12-27 Geoff Keating <geoffk@cygnus.com>
1334
1335 * vasprintf.c (int_vasprintf): Don't re-read the format character
1336 as this mishandles strings like '%%s'.
1337
13381999-12-05 Mark Mitchell <mark@codesourcery.com>
1339
1340 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
1341 rather than struct splay_tree_node.
1342 (splay_tree_insert): Use struct splay_tree_s rather than struct
1343 splay_tree.
1344
1345Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
1346
1347 * hashtab.c (sys/types.h): File included.
1348
13491999-11-22 Jason Merrill <jason@casey.cygnus.com>
1350
1351 * strtoul.c, strtol.c, random.c: Remove advertising clause from
1352 BSD license, pursuant with
1353
1354 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
1355
1356Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
1357
1358 * hashtab.c: Include stdio.h.
1359
1360Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
1361
1362 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
1363
1364Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
1365
1366 * xstrdup (sys/types.h): Include this file.
1367
13681999-10-28 Nathan Sidwell <nathan@acm.org>
1369
1370 * Makefile.in (SUBDIRS): New macro.
1371 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
1372 avoid multiple subdirectory cleaning.
1373 (*-subdir): Use SUBDIRS.
1374
13751999-10-25 Jim Kingdon <http://developer.redhat.com/>
1376
1377 * cplus-dem.c: Move declarations of standard_symbol_characters and
1378 hp_symbol_characters inside #ifdef MAIN to avoid compiler
1379 warnings.
1380
13811999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
1382
1383 * hashtab.c (find_hash_table_entry): When returning a
1384 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
1385 (clear_hash_table_slot): New function which deletes an entry
1386 by its position in the table, not its value.
1387 (traverse_hash_table): New function which calls a hook
1388 function for every live entry in the table.
1389
13901999-10-19 Mark Mitchell <mark@codesourcery.com>
1391
1392 * cplus-dem.c (INTBUF_SIZE): New macro.
1393 (string_append_template_idx): New function.
1394 (demangle_expression): Likewise.
1395 (demangle_integral_value): Use it.
1396 (demangle_real_value): New function, split out from ...
1397 (demangle_template_value_parm): ... here. Use
1398 string_append_template_idx. Use demangle_real_value.
1399 (demangle_template): Use string_append_template_idx.
1400 (demangle_qualified): Use consume_count_with_underscores.
1401 (get_count): Tweak formatting.
1402 (do_type): Use string_append_template_idx.
b4fe2683 1403
0c0a36a4
ILT
14041999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1405
1406 * calloc.c: Add a public domain notice.
1407
1408Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
1409
1410 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
1411
1412Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
1413
1414 * Makefile.in (CFILES): Add hashtab.c
1415 (REQUIRED_OFILES): Add hashtab.o
1416 (hashtab.o): Add dependencies.
1417 * hashtab.c: New file
1418
1419Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
1420
1421 * basename.c (DIR_SEPARATOR): New macro.
1422 (DIR_SEPARATOR_2): Likewise.
1423 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
1424 (IS_DIR_SEPARATOR): Likewise.
1425 (main): Handle MSDOS style pathname.
1426
14271999-10-11 Mark Mitchell <mark@codesourcery.com>
1428
1429 * cplus-dem.c (do_type): Handle pointer to member types whose
1430 enclosing classes have namespace scope.
1431
1432Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
1433
1434 * config.table: Provide a backup shell for executing move-if-change.
1435
14361999-10-02 Mark Mitchell <mark@codesourcery.com>
1437
1438 * xmalloc.c (xmalloc): Fix spelling error.
1439 (xcalloc, xrealloc): Likewise.
1440
14411999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1442
1443 * cplus-dem.c (fancy_abort, demangle_integral_value,
1444 demangle_arm_hp_template, recursively_demangle,
1445 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
1446 (program_name, program_version, fatal): Constify a char*.
1447 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
1448 (main): Call return, not exit.
1449
14501999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1451
1452 * choose-temp.c: Remove obsolete comment about gcc.
1453 (make_temp_file): Constify a char*.
1454
1455Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1456
1457 * xmemdup.c: Include sys/types.h.
1458
14591999-09-07 Jeff Garzik <jgarzik@pobox.com>
1460
1461 * xmemdup.c: New xmemdup function.
1462 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
1463
1464Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
1465
b4fe2683 1466 * config.table: Add openedition target.
0c0a36a4
ILT
1467 * config/mh-openedition: New file.
1468
1469Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
1470
1471 * pexecute.c (pexecute): Fill in temp_base when needed.
1472
14731999-08-31 Richard Henderson <rth@cygnus.com>
1474
1475 * getpwd.c: Check HAVE_GETCWD before defining it away.
1476
14771999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1478
1479 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
1480 (REQUIRED_OFILES): Add getpwd.o.
1481 (getpwd.o): Add target.
1482
1483 * configure.in (AC_PREREQ): Bump to 2.13.
1484 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
1485
1486 * getpwd.c: New file, moved here from gcc.
1487
14881999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1489
1490 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
1491 comparing against a signed quantity.
1492 (arm_special): Likewise.
1493 (demangle_fund_type): Likewise.
1494 (do_hpacc_template_const_value): Mark parameter `work' with
b4fe2683 1495 ATTRIBUTE_UNUSED.
0c0a36a4
ILT
1496 (main): Constify variable `valid_symbols'.
1497
1498Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
1499
1500 * strtoul.c (strtoul): Add parentheses around && within ||.
1501
1502Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1503
1504 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1505 libdir, libsubdir and tooldir.
1506
15071999-08-01 Mark Mitchell <mark@codesourcery.com>
1508
1509 * splay-tree.c (splay_tree_insert): Return the new node.
1510
35ca97ea
RH
15111999-07-14 Richard Henderson <rth@cygnus.com>
1512
b4fe2683 1513 * argv.c: Include stdlib.h and string.h instead of
35ca97ea
RH
1514 prototyping directly.
1515 * choose-temp.c: Conditionally include string.h.
1516
0c0a36a4
ILT
15171999-07-12 Jason Merrill <jason@yorick.cygnus.com>
1518
1519 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
1520
af32ff69
ILT
15211999-07-11 Ian Lance Taylor <ian@zembu.com>
1522
1523 * splay-tree.c (splay_tree_insert): Add initialization to avoid
1524 warning.
1525
0c0a36a4
ILT
15261999-07-07 Jason Merrill <jason@yorick.cygnus.com>
1527
1528 * Makefile.in (needed-list): Only include stuff we actually need
1529 for libstdc++.
1530
15311999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1532
1533 * configure.in (checkfuncs): Add gettimeofday.
1534 * config.in, configure: Regenerated.
1535
1536Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1537
1538 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
1539 the test fails.
1540 * configure: Regenerate.
1541
15421999-06-10 Mike Stump <mrs@wrs.com>
1543
1544 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
1545 parallel builds.
1546
15471999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1548
1549 * putenv.c: Include ansidecl.h to define `const'.
1550 * setenv.c: Likewise.
1551
1552Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
1553
1554 * Makefile.in (CFILES): Add putenv.c and setenv.c.
1555 * configure.in (funcs): Add putenv and setenv.
1556 (AC_CHECK_FUNCS): Check for putenv and setenv.
1557 * configure: Rebuilt.
1558 * putenv.c setenv.c: New files.
1559
1560 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
1561 bytes of space using malloc.
1562
1563Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1564
1565 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
1566 the *mangled pointer beyond the end of the string. Clean up code to
1567 match prevailing coding style.
1568
15691999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1570
1571 * tmpnam.c (L_tmpnam): Fix typo.
1572
1573Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
1574
1575 * cplus-dem.c (standard_symbol_characters): Renamed from
1576 standard_symbol_alphabet. No longer modify TABLE.
1577 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
1578 modify TABLE.
1579 (main): Corresponding changes. Use strchr to determine if a
1580 character is valid.
1581
e9868447
JB
15821999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
1583
1584 * cplus-dem.c (main): Use table lookup to distinguish identifier
1585 characters from non-identifier characters.
1586 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
1587
33fbbfbc
RH
1588Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
1589
1590 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
1591 * getruntime.c: Only attempt to include sys/resource.h and
1592 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
1593 are defined.
1594
0c0a36a4
ILT
1595Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
1596
1597 * configure.in (alloca detection): Handle alloca directly for interix.
1598 * configure: Rebuilt.
1599
1600Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
1601
1602 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
1603
252b5132
RH
16041999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
1605
1606 Fix from Dale Hawkins:
b4fe2683 1607 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
252b5132
RH
1608 reallocated properly if we use it again.
1609
1610 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
1611 stricter about syntax. Always null-terminate string.
1612
c1687039
ILT
1613Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
1614
1615 * configure.in (checkfuncs): Check for sbrk.
1616 * config.in: Rebuilt.
1617 * configure: Likewise.
1618 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
1619
0c0a36a4
ILT
16201999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
1621
1622 Fix from Marcus Daniels:
1623 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
1624 identifier looking for another underscore.
1625
1626Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
1627
1628 * pexecute.c: Change all references to __UWIN__ to _UWIN.
1629 * xmalloc.c: Likewise.
1630 (xcalloc): UWIN has sbrk.
1631 (xrealloc): Fix guard macro.
1632
252b5132
RH
16331999-04-11 Richard Henderson <rth@cygnus.com>
1634
1635 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
1636 or <alloca.h>.
1637 * clock.c (GNU_HZ): New definition.
1638 (clock): Use it.
1639 * getruntime.c: Likewise.
1640
1641 * config.table: Use mh-beos.
1642 * config/mh-beos: New file.
1643
0c0a36a4
ILT
16441999-04-11 Mark Mitchell <mark@codesourcery.com>
1645
1646 * cplus-dem.c (demangle_template_value_parm): Handle
1647 pointers-to-members.
1648 (do_type): Handle template parameters as qualifiers.
1649
252b5132
RH
16501999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1651
1652 * cplus-dem.c: Attempt to handle overflows in counts with some
1653 semblance of grace.
1654 (consume_count): Detect overflows. Return -1 to indicate errors,
1655 instead of zero.
1656 (demangle_template_value_parm, demangle_template): Handle change
1657 to consume_count's return convention.
1658
0c0a36a4
ILT
16591999-04-05 Tom Tromey <tromey@cygnus.com>
1660
1661 * testsuite/regress-demangle: New file.
1662 * testsuite/demangle-expected: New file.
252b5132 1663
0c0a36a4
ILT
1664 * Makefile.in (all, check, installcheck, info, install-info,
1665 clean-info, dvi, install, etags, tags, mostlyclean, clean,
1666 distclean, maintainer-clean, realclean): Depend on corresponding
1667 `-subdir' target.
1668 (all-subdir check-subdir installcheck-subdir info-subdir
1669 install-info-subdir clean-info-subdir dvi-subdir
1670 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
1671 distclean-subdir maintainer-clean-subdir): New target.
1672 * testsuite/Makefile.in: New file.
1673 * configure: Rebuilt.
1674 * configure.in: Create testsuite/Makefile.
252b5132
RH
1675
16761999-04-02 Mark Mitchell <mark@codesourcery.com>
1677
1678 * splay-tree.h (splay_tree_compare_pointers): Define.
1679
16801999-03-30 Mark Mitchell <mark@codesourcery.com>
1681
1682 * splay-tree.c (splay_tree_compare_ints): Define.
1683
16841999-03-30 Tom Tromey <tromey@cygnus.com>
1685
1686 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
1687 don't advance input pointer.
1688 (demangle_class_name): If consume_count didn't find a count, do
1689 nothing. Don't bother with `strlen' sanity check; consume_count
1690 does it for us.
1691
16921999-03-16 Stan Shebs <shebs@andros.cygnus.com>
1693
1694 From Art Haas <ahaas@neosoft.com>:
1695 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
1696 when doing arm or hp style.
1697 (demangle_nested_args): Decr forgetting_types field when done.
b4fe2683 1698
252b5132
RH
1699Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
1700
1701 * pexecute.c (__CYGWIN32__): Rename to
1702 (__CYGWIN__): this.
1703 * xmalloc.c: Likewise.
1704
1705 Changes to support i386-pc-uwin.
1706 * configure.in (*-*-uwin*): Workaround for vfork bug.
1707 * configure: Regenerate.
1708 * pexecute.c (pexecute): Be like standard Unix.
1709 (pwait): Likewise.
1710 * xmalloc.c (first_break): Define.
1711 (xmalloc_set_program_name): Use.
1712 (xmalloc): Use.
1713
1714Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1715
1716 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
1717
1718Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
1719
1720 * config.table: Check cygwin*, not cygwin32*.
1721
1722Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
1723
1724 * Makefile.in: Change mkstemp -> mkstemps.
1725
1726Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
1727
1728 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
1729 * configure.in (funcs): Check for and conditionally add mkstemps to
1730 the list of functions libiberty will provide.
1731 * configure: Rebuilt.
b4fe2683 1732
252b5132
RH
1733Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
1734
b4fe2683 1735 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
252b5132
RH
1736 platforms that don't have HZ.
1737 * getruntime.c (HZ): Likewise.
1738
1739Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
1740
1741 * Makefile.in (xstrdup.o): Depend on config.h.
1742
1743Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
1744
1745 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
1746 freeing it.
1747
1748Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1749
1750 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
1751
1752Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1753
1754 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
1755 splay-tree.o.
1756
17571999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
1758
1759 * configure.in: Require autoconf 2.12.1 or higher.
1760
17611998-12-30 Michael Meissner <meissner@cygnus.com>
1762
1763 * random.c (NULL): Don't redefine NULL if it is already defined.
1764
1765Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1766
1767 * argv.c (buildargv): Cast the result of alloca in assignment.
1768
1769 * choose-temp.c: Include stdlib.h.
1770
1771 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
8aefe91a
DD
1772 (snarf_numeric_literal): Constify first parameter.
1773 (code_for_qualifier): Avoid a gcc extension, make the parameter an
1774 int, not a char.
252b5132
RH
1775 (demangle_qualifier): Likewise.
1776 (demangle_signature): Cast the argument of a ctype function to
1777 unsigned char.
1778 (arm_pt): Add parens around assignment used as truth value.
1779 (demangle_arm_hp_template): Constify variable `args'.
1780 (do_hpacc_template_const_value): Cast the argument of a ctype
1781 function to unsigned char.
1782 (do_hpacc_template_literal): Remove unused variable `i'.
1783 (snarf_numeric_literal): Constify parameter `args'.
1784 Cast the argument of a ctype function to unsigned char.
1785
1786 * floatformat.c (floatformat_to_double): Add explicit braces to
8aefe91a 1787 avoid ambiguous `else'.
252b5132
RH
1788
1789 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
8aefe91a
DD
1790 `cstart' and `cend' to unsigned char. Cast the argument of macro
1791 `FOLD', which uses ctype functions, to unsigned char.
252b5132
RH
1792
1793 * objalloc.c (free): Add prototype.
1794
1795Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
1796
1797 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
1798
1799Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
1800
1801 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
8aefe91a 1802 doesn't exist.
252b5132 1803 (do_hpacc_template_literal): remove unused variable `i'.
b4fe2683 1804
252b5132
RH
1805Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1806
1807 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
1808 bumping the pointer we read from. Also prepend these codes,
1809 as we do in other places.
1810
18111998-12-18 Nick Clifton <nickc@cygnus.com>
1812
1813 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
1814 'const char *' in order to match its usage when calling siblings.
1815 (snarf_numeric_literal): Make first arg 'const char **' in order
1816 to match usage.
1817
1818Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1819
1820 * choose-temp.c: Don't check IN_GCC anymore.
1821
1822 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
1823 * memchr.c (memchr): Likewise.
1824 * memcpy.c (memcpy): Likewise.
1825 * memmove.c (memmove): Likewise.
1826
1827 * mkstemp.c: Don't check IN_GCC anymore.
1828 * pexecute.c: Likewise.
1829 * splay-tree.c: Likewise.
1830
1831 * strchr.c (strchr): Use `const', not `CONST'.
1832 * strrchr.c (strrchr): Likewise.
1833 * strtol.c (strtol): Likewise.
1834 * strtoul.c (strtoul): Likewise.
1835
1836Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
1837 Elena Zannoni <ezannoni@cygnus.com>
1838 Stan Shebs <shebs@cygnus.com>
1839 Edith Epstein <eepstein@cygnus.com>
1840 Andres MacLeod <amacleod@cygnus.com>
1841 Satish Pai <pai@apollo.hp.com>
1842
1843 * HP aCC demangling support.
1844 * cplus-dem.c
1845 (main): Remove default to HP style demangling, set to EDG
8aefe91a
DD
1846 demangling correctly when -edg specified; set the demangling style
1847 when user specifies 'edg'. Set strip_underscore to
1848 prepends_underscore, if not HPUXHPPA. Set
1849 current_demangling_style to hp_demangling if HPUXHPPA. Set
1850 current demangling style correctly if the switch is hp. Read
1851 label correctly also in the HP style case.
252b5132 1852 (work_stuff): add temp_start field; add field for volatile member
8aefe91a 1853 function.
252b5132 1854 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
8aefe91a 1855 style for this case is the same as ARM.
252b5132
RH
1856 (demangle_args): handle EDG_DEMANGLING style; support HP style.
1857 (demangle_arm_hp_template): new function. (It was
8aefe91a
DD
1858 demangle_arm_pt.); check and set value of temp_start field in
1859 multiple places. Also, when ceching for end of template args,
1860 check to see if at end of static member of template class.
252b5132 1861 (demangle_class): new local variable : save_class_name_end Don't
8aefe91a 1862 include template args in string defining class.
252b5132
RH
1863 (demangle_class_name): use demangel_arm_hp_template.
1864 (demangle_function_name): handle case where demangling style is
8aefe91a
DD
1865 HP_DEMANGLING and currently point at an 'X' in the mangled name.
1866 Handle EDG_DEMANGLING style. Handle constructor and destructor
1867 ops for HP style.
252b5132 1868 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
8aefe91a
DD
1869 styles. global destructor and constructor for HP style are same
1870 as for ARM style. Same for local variables.
252b5132
RH
1871 (demangle_qualified): handle EDG_DEMANGLING style.
1872 (demangle_signature): add case for volatile member function. For
8aefe91a
DD
1873 cases '1' - '9' : initialize the temp_start field to -1 and handle
1874 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
1875 and AUTO_DEMANGLING styles. If expecting a function and managed
1876 to demangle the funct args, then handle the LUCID_DEMANGLING,
1877 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
1878 class name after "Lnnn_ in HP style case. HP style too needs to
1879 forget types. _nnn is OK for HP style, so don't report failure.
252b5132 1880 (do_hpacc_template_const_value): new function. Handle template's
8aefe91a 1881 value param for HP/aCC.
252b5132 1882 (do_hpacc_template_literal): new function. Handle a template's
8aefe91a 1883 literal parameter for HP aCC.
252b5132
RH
1884 (recursively_demangle): new function
1885 (snarf_numeric_literal): new function.
1886 (usage): add 'edg' to the list of demangling styles; add hp switch
8aefe91a 1887 to message.
252b5132
RH
1888
1889Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
1890
1891 * pexecute.c: Remove obsolete ifdefed cygwin code.
1892
1893Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1894
1895 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
1896 * cplus-dem.c: Likewise. Conform to libiberty.h.
1897 * pexecute.c: Likewise.
1898 * splay-tree.c: Likewise.
1899
19001998-11-25 Mike Stump <mrs@wrs.com>
1901
1902 * Makefile.in (splay-tree.o): Add config.h dependency.
1903
1904Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1905
1906 * configure.in: Use AC_PREREQ(2.12.1).
1907
19081998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
1909
b4fe2683 1910 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
252b5132
RH
1911
1912Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
1913
1914 * mpw.c (mpw_access): Add missing parens.
1915
1916Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1917
1918 * configure.in: Call AC_HEADER_SYS_WAIT.
1919
1920 * pexecute.c: Include sys/wait.h when !IN_GCC.
1921
1922Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
1923
1924 * pexecute.c: revert back to checking old Cygwin
1925 preprocessor symbol until some time has passed.
1926
1927Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
1928
1929 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
1930 since it will now support similar constructs.
1931
1932Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1933
1934 * configure.in: Check for calloc.
1935
1936 * calloc.c: New file.
1937
1938 * xmalloc.c (xcalloc): New function.
1939
1940Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
1941
1942 *cplus-dem.c (demangle_prefix): Use the last "__"
1943 in the mangled name when looking for the signature. This allows
1944 template names to begin with "__".
1945
19461998-11-08 Mark Mitchell <mark@markmitchell.com>
1947
1948 * cplus-dem.c (type_kind_t): Add tk_reference.
1949 (demangle_template_value_parm): Handle it.
1950 (do_type): Use it for references, instead of tk_pointer.
1951
1952 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
1953 not internal_cplus_demangle.
1954
1955Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1956
1957 * choose-temp.c: Don't include gansidecl.h.
1958 * mkstemp.c: Likewise.
1959 * pexecute.c: Likewise.
1960
1961Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
1962
b4fe2683
JM
1963 * configure.in: detect cygwin* instead of cygwin32*
1964 * configure: regenerate
252b5132
RH
1965
1966Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1967
1968 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
8aefe91a
DD
1969 whether to include config.h. Possibly include unistd.h in the
1970 !IN_GCC case. Define VFORK_STRING as a printable function call
1971 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
1972 defined, include vfork.h. If VMS is defined, define vfork()
1973 appropriately. Remove vfork check on USG, we're using autoconf.
1974 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
1975 locally what string to use.
252b5132
RH
1976
19771998-10-26 Mark Mitchell <mark@markmitchell.com>
1978
1979 * splay-tree.c: Tweak include directives to make sure declarations of
1980 xmalloc and free are available.
1981
19821998-10-25 Mark Mitchell <mark@markmitchell.com>
1983
1984 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
1985 anonymous namespaces.
1986
19871998-10-23 Mark Mitchell <mark@markmitchell.com>
1988
1989 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
1990 with type_quals.
1991 (TYPE_UNQUALIFIED): New macro.
1992 (TYPE_QUAL_CONST): Likewise.
1993 (TYPE_QUAL_VOLATILE): Likewise.
1994 (TYPE_QUAL_RESTRICT): Likewise.
1995 (code_for_qualifier): New function.
1996 (qualifier_string): Likewise.
1997 (demangle_qualifier): Likewise.
1998 (internal_cplus_demangle): Use them.
1999 (demangle_signature): Likewise.
2000 (demangle_template_value_parm): Likewise.
2001 (do_type): Likewise.
2002 (demangle_fund_type)): Likewise.
2003
2004Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2005
2006 * splay-tree.c (splay_tree_foreach_helper): Make definition static
2007 to match prototype.
2008
20091998-10-21 Mark Mitchell <mark@markmitchell.com>
2010
2011 * splay-tree.c: New file.
2012 * Makefile.in (CFILES): Add it.
2013 (REQUIRED_OFILES): Likewise.
2014 (splay-tree.o): Add dependencies.
2015
2016Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2017
2018 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
2019 range of 'K' index.
2020
2021Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2022
2023 * choose-temp.c: Prototype mkstemps() when IN_GCC.
2024
2025 * cplus-dem.c (consume_count): Cast argument of ctype macro to
2026 `unsigned char'.
2027 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
2028 comparing against one.
2029 (cplus_mangle_opname): Likewise.
2030 (demangle_integral_value): Cast argument of ctype macro to
2031 `unsigned char'.
2032 (demangle_template_value_parm): Likewise.
2033 (demangle_template): Initialize variable `bindex'. Cast the
2034 result of `strlen' to (int) when comparing against one. Remove
2035 unused variable `start_of_value_parm'.
2036 (demangle_class_name): Cast the result of `strlen' to (int) when
2037 comparing against one.
2038 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
2039 (gnu_special): Likewise. Cast the result of `strlen' to (int)
2040 when comparing against one.
2041 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
2042 (get_count): Likewise.
2043 (do_type): Likewise. Cast the result of `strlen' to (int) when
2044 comparing against one.
2045 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
2046 (demangle_function_name): Cast the result of `strlen' to (int)
2047 when comparing against one.
2048
2049 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
2050 comparing against one.
2051
2052Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
2053
b4fe2683
JM
2054 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
2055 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
2056 * config.in, configure: Rebuilt.
252b5132
RH
2057
2058 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
2059 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
2060 * config.in, configure: Rebuilt.
2061
2062Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
2063
b4fe2683 2064 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
252b5132
RH
2065
2066Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
2067
2068 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
2069
2070Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
2071
2072 * Merge egcs & devo libiberty.
2073