* xmalloc.c: Control all uses of SBRK with a single define,
[binutils-gdb.git] / libiberty / ChangeLog
1 1999-08-05 Ian Lance Taylor <ian@zembu.com>
2
3 * xmalloc.c: Control all uses of SBRK with a single define,
4 USE_SBRK. Don't define it if __INTERIX.
5
6 1999-08-03 Ian Lance Taylor <ian@zembu.com>
7
8 * floatformat.c: Add casts to avoid signed/unsigned warnings.
9 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
10
11 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
12 $(TARGETLIB)n so it works on MSDOS.
13 (install_to_tooldir): Likewise.
14
15 1999-07-21 Ian Lance Taylor <ian@zembu.com>
16
17 From Mark Elbrecht:
18 * makefile.dos: Remove; obsolete.
19 * configure.bat: Remove; obsolete.
20
21 1999-07-14 Richard Henderson <rth@cygnus.com>
22
23 * argv.c: Include stdlib.h and string.h instead of
24 prototyping directly.
25 * choose-temp.c: Conditionally include string.h.
26
27 1999-07-11 Ian Lance Taylor <ian@zembu.com>
28
29 * splay-tree.c (splay_tree_insert): Add initialization to avoid
30 warning.
31
32 1999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
33
34 * cplus-dem.c (main): Use table lookup to distinguish identifier
35 characters from non-identifier characters.
36 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
37
38 Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
39
40 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
41 * getruntime.c: Only attempt to include sys/resource.h and
42 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
43 are defined.
44
45 1999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
46
47 Fix from Dale Hawkins:
48 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
49 reallocated properly if we use it again.
50
51 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
52 stricter about syntax. Always null-terminate string.
53
54 Fix from Marcus Daniels:
55 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
56 identifier looking for another underscore.
57
58 1999-04-11 Richard Henderson <rth@cygnus.com>
59
60 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
61 or <alloca.h>.
62 * clock.c (GNU_HZ): New definition.
63 (clock): Use it.
64 * getruntime.c: Likewise.
65
66 * config.table: Use mh-beos.
67 * config/mh-beos: New file.
68
69 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
70
71 * cplus-dem.c: Attempt to handle overflows in counts with some
72 semblance of grace.
73 (consume_count): Detect overflows. Return -1 to indicate errors,
74 instead of zero.
75 (demangle_template_value_parm, demangle_template): Handle change
76 to consume_count's return convention.
77
78 Thu Apr 8 14:43:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
79
80 * xmalloc.c, pexecute.c: Define __CYGWIN__ when being compiled
81 with old __CYGWIN32__ compiler.
82
83 1999-04-02 Mark Mitchell <mark@codesourcery.com>
84
85 * splay-tree.h (splay_tree_compare_pointers): Define.
86
87 1999-03-30 Mark Mitchell <mark@codesourcery.com>
88
89 * splay-tree.c (splay_tree_compare_ints): Define.
90
91 1999-03-30 Tom Tromey <tromey@cygnus.com>
92
93 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
94 don't advance input pointer.
95 (demangle_class_name): If consume_count didn't find a count, do
96 nothing. Don't bother with `strlen' sanity check; consume_count
97 does it for us.
98
99 1999-03-16 Stan Shebs <shebs@andros.cygnus.com>
100
101 From Art Haas <ahaas@neosoft.com>:
102 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
103 when doing arm or hp style.
104 (demangle_nested_args): Decr forgetting_types field when done.
105
106 Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
107
108 * pexecute.c (__CYGWIN32__): Rename to
109 (__CYGWIN__): this.
110 * xmalloc.c: Likewise.
111
112 Changes to support i386-pc-uwin.
113 * configure.in (*-*-uwin*): Workaround for vfork bug.
114 * configure: Regenerate.
115 * pexecute.c (pexecute): Be like standard Unix.
116 (pwait): Likewise.
117 * xmalloc.c (first_break): Define.
118 (xmalloc_set_program_name): Use.
119 (xmalloc): Use.
120
121 Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
122
123 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
124
125 Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
126
127 * config.table: Check cygwin*, not cygwin32*.
128
129 Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
130
131 * Makefile.in: Change mkstemp -> mkstemps.
132
133 Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
134
135 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
136 * configure.in (funcs): Check for and conditionally add mkstemps to
137 the list of functions libiberty will provide.
138 * configure: Rebuilt.
139
140 Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
141
142 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
143 platforms that don't have HZ.
144 * getruntime.c (HZ): Likewise.
145
146 Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
147
148 * Makefile.in (xstrdup.o): Depend on config.h.
149
150 Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
151
152 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
153 freeing it.
154
155 Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
156
157 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
158
159 Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
160
161 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
162 splay-tree.o.
163
164 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
165
166 * configure.in: Require autoconf 2.12.1 or higher.
167
168 1998-12-30 Michael Meissner <meissner@cygnus.com>
169
170 * random.c (NULL): Don't redefine NULL if it is already defined.
171
172 Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
173
174 * argv.c (buildargv): Cast the result of alloca in assignment.
175
176 * choose-temp.c: Include stdlib.h.
177
178 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
179 (snarf_numeric_literal): Constify first parameter.
180 (code_for_qualifier): Avoid a gcc extension, make the parameter an
181 int, not a char.
182 (demangle_qualifier): Likewise.
183 (demangle_signature): Cast the argument of a ctype function to
184 unsigned char.
185 (arm_pt): Add parens around assignment used as truth value.
186 (demangle_arm_hp_template): Constify variable `args'.
187 (do_hpacc_template_const_value): Cast the argument of a ctype
188 function to unsigned char.
189 (do_hpacc_template_literal): Remove unused variable `i'.
190 (snarf_numeric_literal): Constify parameter `args'.
191 Cast the argument of a ctype function to unsigned char.
192
193 * floatformat.c (floatformat_to_double): Add explicit braces to
194 avoid ambiguous `else'.
195
196 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
197 `cstart' and `cend' to unsigned char. Cast the argument of macro
198 `FOLD', which uses ctype functions, to unsigned char.
199
200 * objalloc.c (free): Add prototype.
201
202 Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
203
204 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
205
206 Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
207
208 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
209 doesn't exist.
210 (do_hpacc_template_literal): remove unused variable `i'.
211
212 Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
213
214 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
215 bumping the pointer we read from. Also prepend these codes,
216 as we do in other places.
217
218 1998-12-18 Nick Clifton <nickc@cygnus.com>
219
220 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
221 'const char *' in order to match its usage when calling siblings.
222 (snarf_numeric_literal): Make first arg 'const char **' in order
223 to match usage.
224
225 Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
226
227 * choose-temp.c: Don't check IN_GCC anymore.
228
229 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
230 * memchr.c (memchr): Likewise.
231 * memcpy.c (memcpy): Likewise.
232 * memmove.c (memmove): Likewise.
233
234 * mkstemp.c: Don't check IN_GCC anymore.
235 * pexecute.c: Likewise.
236 * splay-tree.c: Likewise.
237
238 * strchr.c (strchr): Use `const', not `CONST'.
239 * strrchr.c (strrchr): Likewise.
240 * strtol.c (strtol): Likewise.
241 * strtoul.c (strtoul): Likewise.
242
243 Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
244 Elena Zannoni <ezannoni@cygnus.com>
245 Stan Shebs <shebs@cygnus.com>
246 Edith Epstein <eepstein@cygnus.com>
247 Andres MacLeod <amacleod@cygnus.com>
248 Satish Pai <pai@apollo.hp.com>
249
250 * HP aCC demangling support.
251 * cplus-dem.c
252 (main): Remove default to HP style demangling, set to EDG
253 demangling correctly when -edg specified; set the demangling style
254 when user specifies 'edg'. Set strip_underscore to
255 prepends_underscore, if not HPUXHPPA. Set
256 current_demangling_style to hp_demangling if HPUXHPPA. Set
257 current demangling style correctly if the switch is hp. Read
258 label correctly also in the HP style case.
259 (work_stuff): add temp_start field; add field for volatile member
260 function.
261 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
262 style for this case is the same as ARM.
263 (demangle_args): handle EDG_DEMANGLING style; support HP style.
264 (demangle_arm_hp_template): new function. (It was
265 demangle_arm_pt.); check and set value of temp_start field in
266 multiple places. Also, when ceching for end of template args,
267 check to see if at end of static member of template class.
268 (demangle_class): new local variable : save_class_name_end Don't
269 include template args in string defining class.
270 (demangle_class_name): use demangel_arm_hp_template.
271 (demangle_function_name): handle case where demangling style is
272 HP_DEMANGLING and currently point at an 'X' in the mangled name.
273 Handle EDG_DEMANGLING style. Handle constructor and destructor
274 ops for HP style.
275 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
276 styles. global destructor and constructor for HP style are same
277 as for ARM style. Same for local variables.
278 (demangle_qualified): handle EDG_DEMANGLING style.
279 (demangle_signature): add case for volatile member function. For
280 cases '1' - '9' : initialize the temp_start field to -1 and handle
281 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
282 and AUTO_DEMANGLING styles. If expecting a function and managed
283 to demangle the funct args, then handle the LUCID_DEMANGLING,
284 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
285 class name after "Lnnn_ in HP style case. HP style too needs to
286 forget types. _nnn is OK for HP style, so don't report failure.
287 (do_hpacc_template_const_value): new function. Handle template's
288 value param for HP/aCC.
289 (do_hpacc_template_literal): new function. Handle a template's
290 literal parameter for HP aCC.
291 (recursively_demangle): new function
292 (snarf_numeric_literal): new function.
293 (usage): add 'edg' to the list of demangling styles; add hp switch
294 to message.
295
296 Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
297
298 * pexecute.c: Remove obsolete ifdefed cygwin code.
299
300 Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
301
302 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
303 * cplus-dem.c: Likewise. Conform to libiberty.h.
304 * pexecute.c: Likewise.
305 * splay-tree.c: Likewise.
306
307 1998-11-25 Mike Stump <mrs@wrs.com>
308
309 * Makefile.in (splay-tree.o): Add config.h dependency.
310
311 Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
312
313 * configure.in: Use AC_PREREQ(2.12.1).
314
315 1998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
316
317 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
318
319 Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
320
321 * mpw.c (mpw_access): Add missing parens.
322
323 Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
324
325 * configure.in: Call AC_HEADER_SYS_WAIT.
326
327 * pexecute.c: Include sys/wait.h when !IN_GCC.
328
329 Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
330
331 * pexecute.c: revert back to checking old Cygwin
332 preprocessor symbol until some time has passed.
333
334 Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
335
336 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
337 since it will now support similar constructs.
338
339 Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
340
341 * configure.in: Check for calloc.
342
343 * calloc.c: New file.
344
345 * xmalloc.c (xcalloc): New function.
346
347 Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
348
349 *cplus-dem.c (demangle_prefix): Use the last "__"
350 in the mangled name when looking for the signature. This allows
351 template names to begin with "__".
352
353 1998-11-08 Mark Mitchell <mark@markmitchell.com>
354
355 * cplus-dem.c (type_kind_t): Add tk_reference.
356 (demangle_template_value_parm): Handle it.
357 (do_type): Use it for references, instead of tk_pointer.
358
359 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
360 not internal_cplus_demangle.
361
362 Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363
364 * choose-temp.c: Don't include gansidecl.h.
365 * mkstemp.c: Likewise.
366 * pexecute.c: Likewise.
367
368 Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
369
370 * configure.in: detect cygwin* instead of cygwin32*
371 * configure: regenerate
372
373 Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
374
375 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
376 whether to include config.h. Possibly include unistd.h in the
377 !IN_GCC case. Define VFORK_STRING as a printable function call
378 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
379 defined, include vfork.h. If VMS is defined, define vfork()
380 appropriately. Remove vfork check on USG, we're using autoconf.
381 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
382 locally what string to use.
383
384 1998-10-26 Mark Mitchell <mark@markmitchell.com>
385
386 * splay-tree.c: Tweak include directives to make sure declarations of
387 xmalloc and free are available.
388
389 1998-10-25 Mark Mitchell <mark@markmitchell.com>
390
391 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
392 anonymous namespaces.
393
394 1998-10-23 Mark Mitchell <mark@markmitchell.com>
395
396 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
397 with type_quals.
398 (TYPE_UNQUALIFIED): New macro.
399 (TYPE_QUAL_CONST): Likewise.
400 (TYPE_QUAL_VOLATILE): Likewise.
401 (TYPE_QUAL_RESTRICT): Likewise.
402 (code_for_qualifier): New function.
403 (qualifier_string): Likewise.
404 (demangle_qualifier): Likewise.
405 (internal_cplus_demangle): Use them.
406 (demangle_signature): Likewise.
407 (demangle_template_value_parm): Likewise.
408 (do_type): Likewise.
409 (demangle_fund_type)): Likewise.
410
411 Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
412
413 * splay-tree.c (splay_tree_foreach_helper): Make definition static
414 to match prototype.
415
416 1998-10-21 Mark Mitchell <mark@markmitchell.com>
417
418 * splay-tree.c: New file.
419 * Makefile.in (CFILES): Add it.
420 (REQUIRED_OFILES): Likewise.
421 (splay-tree.o): Add dependencies.
422
423 Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
424
425 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
426 range of 'K' index.
427
428 Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
429
430 * choose-temp.c: Prototype mkstemps() when IN_GCC.
431
432 * cplus-dem.c (consume_count): Cast argument of ctype macro to
433 `unsigned char'.
434 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
435 comparing against one.
436 (cplus_mangle_opname): Likewise.
437 (demangle_integral_value): Cast argument of ctype macro to
438 `unsigned char'.
439 (demangle_template_value_parm): Likewise.
440 (demangle_template): Initialize variable `bindex'. Cast the
441 result of `strlen' to (int) when comparing against one. Remove
442 unused variable `start_of_value_parm'.
443 (demangle_class_name): Cast the result of `strlen' to (int) when
444 comparing against one.
445 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
446 (gnu_special): Likewise. Cast the result of `strlen' to (int)
447 when comparing against one.
448 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
449 (get_count): Likewise.
450 (do_type): Likewise. Cast the result of `strlen' to (int) when
451 comparing against one.
452 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
453 (demangle_function_name): Cast the result of `strlen' to (int)
454 when comparing against one.
455
456 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
457 comparing against one.
458
459 Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
460
461 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
462 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
463 * config.in, configure: Rebuilt.
464
465 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
466 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
467 * config.in, configure: Rebuilt.
468
469 Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
470
471 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
472
473 Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
474
475 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
476
477 Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
478
479 * Merge egcs & devo libiberty.
480
481 1998-09-08 Martin von Löwis <loewis@informatik.hu-berlin.de>
482
483 * cplus-dem.c (demangle_arm_pt): Demangle anonymous namespaces.
484
485 Mon Sep 7 23:29:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
486
487 * mkstemp.c: Include config.h even when not IN_GCC. Wrap header
488 inclusions inside HAVE_*_H macros. Include ansidecl.h when not
489 IN_GCC.
490
491 * vasprintf.c: Include stdarg.h/varargs.h first.
492
493 * vprintf.c: Likewise.
494
495 Sat Sep 5 03:24:49 1998 Jeffrey A Law (law@cygnus.com)
496
497 * pexecute.c: Updates from gcc. Copy in gcc has been removed. This
498 is the canonical copy. Define ISSPACE if !IN_GCC.
499 * alloca.c, vfprintf.c, choose-temp.c, mkstemp.c, getopt.c: Similarly.
500 * getopt1.c, obstack.c: Similarly.
501 * Makefile.in: Build mkstemp.o
502
503 Tue Sep 1 23:12:47 1998 Christopher Faylor <cgf@cygnus.com>
504
505 * configure.in: Include asprintf in list of functions known not
506 to be in newlib.
507 * configure: Rebuild.
508
509 Wed Aug 19 14:05:01 1998 Mumit Khan <khan@xraylith.wisc.edu>
510
511 * cplus-dem.c (work_stuff): Add dllimported.
512 (demangled_prefix): Mark symbols imported from PE DLL.
513 (internal_cplus_demangled): Handle.
514
515 1998-08-17 Jason Merrill <jason@yorick.cygnus.com>
516
517 * cplus-dem.c (do_type): Fix simple array handling. If we fail,
518 stay failed.
519
520 Mon Aug 17 10:40:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
521
522 * cplus-dem.c: Include config.h if it exists. Also, only
523 prototype malloc/realloc if we can't get stdlib.h.
524
525 Sat Aug 15 16:15:01 1998 Ian Lance Taylor <ian@cygnus.com>
526
527 * configure.in: Switch back to checking --with-target-subdir when
528 deciding whether to check for newlib, undoing part of July 15
529 change.
530 * configure: Rebuild.
531
532 Thu Aug 13 16:47:38 1998 Mark Mitchell <mark@markmitchell.com>
533
534 * cplus-dem.c (type_kind_t): New type.
535 (demangle_template_value_parm): Add type_kind_t parameter. Rely
536 on this paramter, rather than demangling the type again.
537 (demangle_integral_value): Pass tk_integral.
538 (demangle_template_: Pass the value returned from do_type.
539 (do_type): Return a type_kind_t. Pass tk_integral to
540 demangle_template_value_parm for array bounds.
541 (demangle_fund_type): Likewise.
542
543 Also incorporate from GCC version:
544
545 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
546
547 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
548
549 Thu Aug 13 16:47:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
550
551 * cplus-dem.c (demangle_nested_args): Make function definition
552 static to match the prototype.
553
554 Tue Jul 28 11:33:09 1998 Mark Mitchell <mark@markmitchell.com>
555
556 * cplus-dem.c (type_kind_t): New type.
557 (demangle_template_value_parm): Add type_kind_t parameter. Rely
558 on this paramter, rather than demangling the type again.
559 (demangle_integral_value): Pass tk_integral.
560 (demangle_template_: Pass the value returned from do_type.
561 (do_type): Return a type_kind_t. Pass tk_integral to
562 demangle_template_value_parm for array bounds.
563 (demangle_fund_type): Likewise.
564
565 Also incorporate from GCC version:
566
567 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
568
569 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
570
571 Mon Jul 27 12:16:08 1998 Ian Lance Taylor <ian@cygnus.com>
572
573 * Makefile.in (ALLOCA): New variable.
574 ($(TARGETLIB)): Add $(ALLOCA) to library.
575 (needed-list): Add $(ALLOCA).
576 ($(ALLOCA)): Depend upon stamp-picdir.
577
578 Sun Jul 19 08:23:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
579
580 * cplus-dem.c (demangle_nested_args): Make function definition
581 static to match the prototype.
582
583 Wed Jul 15 00:12:58 1998 Ian Lance Taylor <ian@cygnus.com>
584
585 * configure.in: Check --with-cross-host rather than
586 --with-target-subdir when deciding whether build uses a cross
587 compiler, and when deciding where to install the library.
588 * configure: Rebuild.
589
590 Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
591
592 * cplus-dem.c (demangle_nested_args): Return a value.
593
594 Sat Jul 11 16:19:48 1998 Mark Mitchell <mark@markmitchell.com>
595
596 * cplus-dem.c (string): Move definition before work_stuff.
597 (work_stuff): Add volatile_type, forgetting_types,
598 previous_argument, and nrepeats fields.
599 (SCOPE_STRING): New macro.
600 (demangle_template): Add `remember' parameter. Add comment.
601 Register the `B' code type here, if remembering. Tidy. Fix crash
602 on NULL tmpl_argvec. Be consistent with use of tname/trawname.
603 (demangle_nested_args): New function.
604 (internal_cplus_demangle): Handle volatile-qualified member
605 functions.
606 (mop_up): Delete the previous_argument string if present.
607 (demangle_signature): Tidy. Handle volatile-qualified member
608 functions. Handle back-references using the `B' code. Use extra
609 parameter to demangle_template and SCOPE_STRING where appropriate.
610 (demangle_template_value_parm): Fix thinko; 'B' is not an integral
611 code.
612 (demangle_class): Use SCOPE_STRING.
613 (gnu_special): Pass additional argument to demangle_template.
614 Use SCOPE_STRING.
615 (demangle_qualified): Save qualified types for later
616 back-references. Handle constructors and destructors for template
617 types correctly.
618 (do_type): Tidy. Use SCOPE_STRING. Pass extra argument to
619 demangle_template. Use demangled_nested_args. Don't remember
620 qualified types here; that's now done in demangle_qualified.
621 Similarly for templates.
622 (do_arg): Improve commment. Handle 'n' repeat code.
623 (remember_type): Check forgetting_types.
624 (demangle_args): Deal with 'n' repeat codes. Tidy.
625
626 Thu Jul 2 16:26:24 1998 Ian Lance Taylor <ian@cygnus.com>
627
628 * config.table: Only use mh-fbsd21 on *-*-freebsd2.2.[012], not on
629 *-*-freebsd2.2.*. From Dmitrij Tejblum <tejblum@arc.hq.cti.ru>.
630
631 Mon Jun 15 16:29:01 1998 Ian Lance Taylor <ian@cygnus.com>
632
633 * configure.in (setobjs): Correct quoting error in cygwin32 case.
634 From Chris Faylor <cgf@cygnus.com>.
635
636 Mon Jun 1 13:47:55 1998 Jason Molenda (crash@bugshack.cygnus.com)
637
638 * obstack.c: Update to latest FSF version.
639
640 Mon Jun 1 14:17:36 1998 Mike Stump <mrs@wrs.com>
641
642 * Makefile.in: Add a dependency on stamp-picdir for the
643 objects, so that we can do a parallel build.
644
645 Sat May 30 22:17:13 1998 Mumit Khan <khan@xraylith.wisc.edu>
646
647 * configure.in (checkfuncs): Add missing "'".
648
649 Fri May 29 12:40:41 1998 Jason Molenda (crash@bugshack.cygnus.com)
650
651 * obstack.c (_obstack_memory_used): Elide this function if we're
652 on a system with GNU libc.
653
654 Tue May 26 18:28:43 1998 Ian Lance Taylor <ian@cygnus.com>
655
656 * Makefile.in (distclean): Remove config.log.
657
658 Tue May 26 15:01:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
659
660 * Makefile.in (distclean): Don't remove alloca-conf.h.
661
662 Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
663
664 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
665
666 1998-05-21 Mark Mitchell <mmitchell@usa.net>
667
668 * cplus-dem.c (do_type): Handle volatile qualification.
669
670 1998-05-21 Manfred Hollstein <manfred@s-direktnet.de>
671
672 * configure.in: Check for unistd.h as well.
673 * configure: Rebuild.
674 * config.in: Rebuild.
675 * getpagesize.c (GNU_OUR_PAGESIZE): Use sysconf only if _SC_PAGESIZE
676 is defined in unistd.h. Reformat conditional block for easier reading.
677
678 * config.table (shared): Default to no if ${enable_shared}
679 is unset or empty; this logic is used by the toplevel
680 configure scripts, too.
681
682 Sat May 16 14:01:26 1998 Jeffrey A Law (law@cygnus.com)
683
684 * config.table: Add line to set enable_shared in the Makefile
685 as needed.
686
687 Wed May 13 14:24:38 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
688
689 * cplus-dem.c (squangle_mop_up): Change return type to void.
690 (internal_cplus_demangle): Remove unused parameter `options'.
691 All callers changed.
692 (cplus_demangle_opname): Remove function wide variable `int i' and
693 replace with `size_t i' at each location where it is used.
694 (cplus_mangle_opname): change type of `i' from int to size_t.
695
696 Wed May 13 13:39:38 1998 Ian Lance Taylor <ian@cygnus.com>
697
698 * alloca-conf.h: Include config.h. Check HAVE_ALLOCA_H rather
699 than sparc or sun.
700 * Makefile.in (argv.o): Depend upon config.h and alloca-conf.h.
701
702 Fri May 8 00:23:51 1998 Ian Lance Taylor <ian@cygnus.com>
703
704 * configure.in: Set libiberty_topdir correctly when srcdir is
705 "." and with_target_subdir is not set.
706 * configure: Rebuild.
707
708 Thu May 7 13:01:44 1998 Ian Lance Taylor <ian@cygnus.com>
709
710 * configure.in: Add *-*-mingw32* case.
711 * configure: Rebuild.
712
713 Wed May 6 11:33:51 1998 Ian Lance Taylor <ian@cygnus.com>
714
715 * config.table: Never use a PIC file for *-*-cygwin32*.
716
717 * Makefile.in (config.status): Depend upon config.table.
718
719 * configure.in: On a cygwin32 host, always compile random, and
720 don't test for sys_siglist, strsignal, or psignal.
721 * configure: Rebuild.
722
723 * clock.c: Check HAVE_SYS_PARAM_H rather than NO_SYS_PARAM_H.
724 * getcwd.c: Likewise.
725 * getpagesize.c: Likewise.
726 * getruntime.c: Likewise.
727
728 Tue May 5 18:08:32 1998 Ian Lance Taylor <ian@cygnus.com>
729
730 Use autoconf tests rather than the old dummy.c test:
731 * configure.in: Add AC_ARG_WITH calls for --with-target-subdir and
732 --with-newlib. Add AC_CONFIG_HEADER. Use AC_REPLACE_FUNCS for
733 most functions. Add special cases to handle newlib and VxWorks.
734 Remove target_makefile_frag. Create stamp-h in AC_OUTPUT if
735 CONFIG_HEADERS is set. Only call config-ml.in in AC_OUTPUT if
736 CONFIG_FILES is set; set ac_file before calling it.
737 * config.table (arm-*-riscix*, *-*-cygwin32): Remove.
738 (*-*-hpux*, *-*-hiux*, *-*-irix4*, *-*-solaris2*): Remove.
739 (*-*-sysv4*, *-*-go32, *-*-vxworks5*, *-*-vxworks): Remove
740 (i[3456]-*-mingw32*): Remove.
741 * Makefile.in (ERRORS_CC, CONFIG_H, NEEDED_LIST): Remove.
742 (LIBOBJS): New variable.
743 (HOST_OFILES, DO_ALSO, STAGESTUFF): Remove.
744 (all): Depend upon needed-list. Don't check RULE1.
745 (@target_makefile_frag@): Remove.
746 (COMPILE.c): Include @DEFS@.
747 (HFILES): Add alloca-conf.h.
748 (REQUIRED_OFILES): Remove basename.o.
749 ($(TARGETLIB)): New target.
750 (stamp-needed, lneeded-list, needed.awk, stamp-config): Remove.
751 (lconfig.h, needed2.awk, dummy.o, errors): Remove.
752 (needed-list, config.h): Rewrite.
753 (RULE1, $(RULE1), RULE2, $(RULE2)): Remove.
754 (.always.): Remove.
755 (Makefile): Set CONFIG_FILES and CONFIG_HEADERS.
756 (stamp-h): New target.
757 (atexit.o, clock.o, getcwd.o, getpagesize.o): New targets.
758 (basename.o): Don't depend upon config.h.
759 (getruntime.o): Depend upon config.h.
760 * atexit.c: Include config.h. Check HAVE_ON_EXIT rather than
761 NEED_on_exit.
762 * basename.c: Don't include config.h. Don't check NEED_basename.
763 * clock.c: Include config.h.
764 * getcwd.c: Likewise.
765 * getpagesize.c: Likewise.
766 * getruntime.c: Likewise. Fix checks which set HAVE_GETRUSAGE and
767 HAVE_TIMES.
768 * strerror.c: Change uses of NEED_sys_errlist to
769 HAVE_SYS_ERRLIST. Likewise for NEED_strerror and HAVE_STRERROR.
770 * strsignal.c: Likewise for NEED_sys_siglist and HAVE_SYS_SIGLIST,
771 and for NEED_strsignal and HAVE_STRSIGNAL and for NEED_psignal and
772 HAVE_PSIGNAL.
773 * acconfig.h: New file.
774 * dummy.c: Remove.
775 * functions.def: Remove.
776 * config/mh-cxux7 (HDEFINES): Remove -DHAVE_SYSCONF.
777 * config/mh-windows (HDEFINES): Remove.
778 * config/mh-cygwin32: Remove.
779 * config/mh-go32: Remove.
780 * config/mh-irix4: Remove.
781 * config/mh-riscix: Remove.
782 * config/mh-sysv4: Remove.
783 * config/mt-mingw32: Remove.
784 * config/mt-vxworks5: Remove.
785 * config.in: New file, generated using autoheader.
786 * configure: Rebuild.
787
788 Mon May 4 13:00:28 1998 Ian Lance Taylor <ian@cygnus.com>
789
790 * configure.in: Rewrite to use autoconf.
791 * configure: Generate using autoconf.
792 * config/mh-a68bsd: Remove.
793 * config/mh-apollo68: Remove.
794 * config/mh-hpbsd: Remove.
795 * config/mh-ncr3000: Remove.
796 * config/mh-sysv: Remove.
797 * config/mh-aix (RANLIB, INSTALL): Don't define.
798 * config/mh-cxux7 (RANLIB, INSTALL): Don't define.
799 * config/mh-irix4 (CC, RANLIB, INSTALL): Don't define.
800 * config/mh-sysv4 (RANLIB, INSTALL): Don't define.
801 * config.table: Change config_shell to CONFIG_SHELL, and use
802 libiberty_topdir to find move-if-change.
803 (m68k-apollo-bsd*, m68k-apollo-sysv*): Remove.
804 (i[3456]86-ncr-sysv4*, *-*-dgux*, hppa*-hp-bsd*): Remove.
805 (*-*-irix*, *-*-m88kbcs*, *-*-sysv*): Remove.
806 * Makefile.in (srcdir): Set to @srcdir@.
807 (VPATH): Likewise.
808 (prefix, exec_prefix, bindir, libdir): Set to autoconf variables.
809 (SHELL, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Likewise.
810 (CC, CFLAGS, RANLIB)): Likewise.
811 (datadir, man*dir, infodir, includedir, MAKEINFO): Remove.
812 (target_makefile_frag, host_makefile_frag): Add substitutions.
813 (INSTALL_DEST): Set to @INSTALL_DEST@.
814 (Makefile): Depend upon config.status. Don't depend upon
815 $(host_makefile_frag) or $(target_makefile_frag).
816 (config.status): New target.
817
818 Sun May 3 17:58:49 1998 Ian Lance Taylor <ian@cygnus.com>
819
820 * config/mt-sunos4: Remove. Should be handled by --with-headers
821 and --with-libraries options at top level.
822 * config.table: Never use mt-sunos4.
823
824 * alloca-conf.h: New file, combining alloca-norm.h and
825 alloca-botch.h.
826 * alloca-norm.h: Remove.
827 * alloca-botch.h: Remove.
828 * configure.in: Set shell variables files and links to empty.
829 * config.table: Don't set shell variable files.
830 * configure.bat: Don't create alloca-conf.h.
831 * makefile.vms: Likewise.
832 * mpw-config.in: Likewise.
833 * vmsbuild.com: Likewise.
834
835 Fri May 1 11:41:42 1998 Ian Lance Taylor <ian@cygnus.com>
836
837 * Makefile.in ($(HOST_OFILES) $(REQUIRED_OFILES)): Remove old
838 target depending upon config.h.
839 (alloca.o): Add target depending upon config.h
840 (basename.o, choose-temp.o, fnmatch.o): Likewise.
841 (getopt.o, getopt1.o, pexecute.o, strerror.o): Likewise.
842 (strsignal.o, xstrerror.o): Likewise.
843
844 Fri May 1 04:26:25 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
845
846 * cplus-dem.c (cplus_demangle_opname): Initialize work.
847
848 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
849
850 * cplus-dem.c (demangle_qualified): Replace missing else.
851
852 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
853
854 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
855 length in the name of a virtual table.
856
857 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
858
859 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
860 (cplus_demangle_opname): Call mop_up_squangle.
861 (cplus_demangle): Initialize squangle info, then call
862 internal_cplus_demangle. (Most code moved there as well)
863 (internal_cplus_demangle): New function, performs most of what use
864 to be done in cplus_demangle, but is only called with this file.
865 (squangle_mop_up): New function to clean up B and K code data.
866 (mop_up): set pointers to NULL after freeing.
867 (demangle_signature, demangle_template, demangle_class): Add
868 switch elements to handle K and B codes.
869 (demangle_prefix, gnu_special, demangle_qualified): Add
870 code to handle K and B codes.
871 (do_type, demangle_fund_type): Handle B and K codes.
872 (remember_Ktype): New function to store K info.
873 (register_Btype, remember_Btype): New functions for B codes.
874 (forget_B_and_K_types): New function to destroy B and K info.
875
876 Fri Apr 10 01:49:10 1998 Jeffrey A Law (law@cygnus.com)
877
878 * COPYING.LIB, choose-temp.c, cplus-dem.c: Sync with egcs & gcc.
879
880 Thu Mar 5 09:23:28 1998 Manfred Hollstein <manfred@s-direktnet.de>
881
882 * config.table: Make locating frag files failsafe even for the
883 special case if configuring and building in srcdir.
884
885 Mon Feb 23 14:33:15 1998 Ian Lance Taylor <ian@cygnus.com>
886
887 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
888
889 Sun Feb 22 18:03:23 1998 Jeffrey A Law (law@cygnus.com)
890
891 * choose-temp.c: Sync with copy in gcc.
892
893 Thu Feb 12 16:29:49 1998 Ian Lance Taylor <ian@cygnus.com>
894
895 * getopt.c: Update to latest FSF version.
896 * getopt1.c: Likewise.
897
898 Tue Feb 10 16:58:33 1998 Stan Shebs <shebs@andros.cygnus.com>
899
900 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
901 strings that are not actually lengths.
902
903 Fri Feb 6 01:35:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
904
905 * Makefile.in (FLAGS_TO_PASS): Don't pass PICFLAG.
906 (.c.o): Check value of enable_shared, not PICFLAG.
907 (stamp-picdir): Dito.
908
909 Thu Feb 5 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
910
911 * config/mh-cygwin32: remove vasprintf.o from EXTRA_OFILES
912 since it gets built automatically
913
914 Sun Feb 1 02:52:32 1998 Mike Stump <mrs@wrs.com>
915
916 * config.table (vxworks configs): Default to VxWorks 5.x, as that is
917 the currently shipping OS.
918
919 Tue Jan 27 16:08:20 1998 Pat Rankin <rankin@eql.caltech.edu>
920
921 * vmsbuild.com [REQUIRE_OFILES]: Synchronized with Makefile.in:
922 Add fnmatch.o and objalloc.o; remove vasprintf.o.
923 [config.h]: Define NEED_strsignal.
924
925 Mon Jan 19 12:20:01 1998 Ian Lance Taylor <ian@cygnus.com>
926
927 * functions.def: Correct argument types for strerror and
928 strsignal. Reported by Alex Gutman <agutman@emc.com>.
929
930 Sun Jan 18 15:57:28 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
931
932 * vasprintf.c (int_vasprintf): Increase buffer size for float/double
933 values.
934
935 Sat Jan 17 22:28:38 1998 Mumit Khan <khan@xraylith.wisc.edu>
936 J.J. VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
937
938 Add mingw32 support.
939 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
940 (pwait): New function for mingw32.
941
942 * config.table (i[3456]86-*-mingw32*): Support for i386-mingw32.
943 * config/mt-mingw32: New file.
944 * xmalloc.c (first_break): Not used for mingw32.
945 (xmalloc_set_program_name): Don't use sbrk on mingw32.
946 (xmalloc): Likewise.
947 (xrealloc): Likewise.
948
949 Sat Jan 17 22:28:05 1998 Jeffrey A Law (law@cygnus.com)
950
951 * choose-temp.c: Sync with gcc version.
952
953 Tue Jan 13 18:34:39 1998 Jim Wilson <wilson@cygnus.com>
954
955 * Makefile.in (install_to_libdir, install_to_tooldir): Add MULTISUBDIR
956 to all filenames in libdir and tooldir.
957 (distclean): Do MULTICLEAN before deleting Makefile.
958 (stamp-needed, stamp-config): Add MULTISRCTOP to
959 pathname for move-if-change.
960
961 Thu Dec 4 17:25:19 1997 Jeffrey A Law (law@cygnus.com)
962
963 * strsignal.c (sys_nsig): Try NSIG and _NSIG.
964
965 Wed Nov 19 13:37:06 1997 Michael Meissner <meissner@cygnus.com>
966
967 * alloca-norm.h (alloca, GCC case): Don't redefine alloca if it
968 was already defined previously.
969
970 Mon Nov 10 12:48:03 1997 Philippe De Muyter <phdm@macqel.be>
971
972 * Makefile.in (INSTALL): Use ../install-sh, not install.
973
974 Tue Oct 28 23:41:15 1997 Judy Goldberg <jodyg@idt.net>
975
976 * Makefile.in (CFILES): Add pexecute.c.
977
978 Wed Oct 15 19:13:48 1997 Ian Lance Taylor <ian@cygnus.com>
979
980 * asprintf.c: Consistently use either stdarg or varargs.
981
982 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
983
984 * cplus-dem.c (demangle_signature): Don't look for return types on
985 constructors. Handle member template constructors.
986
987 Fri Oct 3 17:53:30 1997 Ian Lance Taylor <ian@cygnus.com>
988
989 * README: Fix configuration instructions.
990
991 Mon Sep 29 12:28:41 1997 Ian Lance Taylor <ian@cygnus.com>
992
993 * pexecute.c: Update to current version from /gd/gnu/lib:
994
995 Mon Sep 29 12:27:59 1997 Ian Lance Taylor <ian@cygnus.com>
996
997 * pexecute.c: Use spawn if __CYGWIN32__.
998
999 1997-08-08 Paul Eggert <eggert@twinsun.com>
1000
1001 * pexecute.c: Include "config.h" first, as per autoconf manual.
1002
1003 Fri Jun 27 15:20:29 1997 Scott Christley <scottc@net-community.com>
1004
1005 * pexecute.c (fix_argv): New function.
1006 (pexecute): Win32 but not Cygwin32 needs its arguments fixed.
1007 Add underscore to cwait function call.
1008
1009 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
1010
1011 * cplus-dem.c (demangle_template): Add new parameter. Handle new
1012 template-function mangling.
1013 (consume_count_with_underscores): New function.
1014 (demangle_signature): Handle new name-mangling scheme.
1015
1016 Wed Sep 24 00:31:59 1997 Felix Lee <flee@yin.cygnus.com>
1017
1018 * asprintf.c: stdarg.h when ALMOST_STDC
1019 * config/mh-windows (EXTRA_OFILES): add asprintf.o and
1020 strncasecmp.o.
1021
1022 Thu Aug 28 14:27:15 1997 Andrew Cagney <cagney@b1.cygnus.com>
1023
1024 * vasprintf.c (vasprintf): Allow for _BSD_VA_LIST_.
1025
1026 * config.table: Add case for FreeBSD 2.1 and 2.2, needs mh-fbsd21.
1027
1028 * config/mh-fbsd21 (EXTRA_OFILES): Force vasprintf.o
1029
1030 Wed Sep 10 12:43:10 1997 Jason Merrill <jason@yorick.cygnus.com>
1031
1032 * cplus-dem.c (demangle_fund_type): Change "complex" to "__complex".
1033
1034 Fri Sep 5 16:34:42 1997 Andrew Cagney <cagney@b1.cygnus.com>
1035
1036 * asprintf.c (asprintf): New file.
1037 * Makefile.in (CFILES): Add asprintf.c
1038 * functions.def: Ditto.
1039
1040 Thu Aug 28 18:53:34 1997 Andrew Cagney <cagney@b1.cygnus.com>
1041
1042 * argv.c (dupargv): New function, duplicate an argument vector.
1043
1044 Tue Aug 19 20:28:45 1997 Geoffrey Noer <noer@cygnus.com>
1045
1046 * config/mh-cygwin32: also build random.o
1047
1048 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
1049
1050 * cplus-dem.c: Add 'extern' to prepends_underscore.
1051
1052 Wed Jul 30 11:42:19 1997 Per Bothner <bothner@cygnus.com>
1053
1054 * cplus-dem.c: Various changes to produce Java output when passed
1055 DMGL_JAVA. Thus "::" becomes "." and "JArray<Foo>" becomes "Foo[]".
1056 (main): Support --java and -j flags to set DMGL_JAVA.
1057
1058 Tue Jul 22 19:05:23 1997 Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>
1059
1060 * config/mh-go32 (CC, AR, RANLIB): Don't define.
1061
1062 Tue Jul 22 17:49:54 1997 Ian Lance Taylor <ian@cygnus.com>
1063
1064 * Makefile.in (REQUIRED_OFILES): Add pexecute.o.
1065 (pexecute.o): New target.
1066
1067 * Makefile.in (stamp-needed): New target, replacing needed-list.
1068 (needed-list): Just depend upon stamp-needed.
1069 (stamp-config): New target, replacing config.h.
1070 (config.h): Just depend upon stamp-config.
1071 (mostlyclean): Remove stamp-*.
1072
1073 Thu Jun 12 11:00:18 1997 Angela Marie Thomas (angela@cygnus.com)
1074
1075 * Makefile.in (FLAGS_TO_PASS): pass INSTALL, INSTALL_PROGRAM and
1076 INSTALL_DATA for multilibbed installs
1077
1078 Tue Jun 3 13:21:05 1997 Doug Evans <dje@canuck.cygnus.com>
1079
1080 Tue Dec 10 09:44:57 1996 Paul Eggert <eggert@twinsun.com>
1081
1082 * choose-temp.c (choose_temp_base): Don't dump core if TMPDIR is empty.
1083
1084 * choose-temp.c (try): Insist that temp dir be searchable.
1085
1086 Wed Oct 23 17:36:39 1996 Doug Rupp (rupp@gnat.com)
1087
1088 * choose-temp.c (choose_temp_base): On VMS, use proper syntax
1089 for current directory.
1090
1091 Sat Feb 15 19:03:48 1997 Geoffrey Noer (noer@cygnus.com)
1092
1093 * pexecute.c: Remove special cases for cygwin32.
1094 (pwait): Remove local definition of `pid'.
1095
1096 Tue Nov 12 18:26:15 1996 Doug Rupp (rupp@gnat.com)
1097
1098 * pexecute.c (vfork): Supply new definition for VMS.
1099 (pwait): Use waitpid instead of wait for VMS.
1100
1101 Tue May 20 14:02:20 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
1102
1103 * cplus-dem.c (do_type): Handle `J'.
1104 (demangle_fund_type): Print "complex" for it.
1105
1106 Wed Apr 30 12:15:45 1997 Jason Merrill <jason@yorick.cygnus.com>
1107
1108 * configure.in: Don't turn on multilib here.
1109
1110 Mon Apr 28 19:04:31 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
1111
1112 * obstack.c: move _obstack_memory_used outside of ifdef. Cannot be
1113 elided; needed by gdb and not present in libc.
1114
1115 Thu Apr 24 19:33:47 1997 Ian Lance Taylor <ian@cygnus.com>
1116
1117 * Makefile.in (clean): Remove tmpmulti.out.
1118
1119 Tue Apr 22 10:25:15 1997 Fred Fish <fnf@cygnus.com>
1120
1121 * floatformat.c (floatformat_ieee_double_littlebyte_bigword):
1122 Add new floatformat, mainly for ARM doubles.
1123
1124 Mon Apr 14 12:11:16 1997 Ian Lance Taylor <ian@cygnus.com>
1125
1126 * config.table: Use ${config_shell} with ${moveifchange}. From
1127 Thomas Graichen <graichen@rzpd.de>.
1128
1129 Fri Apr 4 03:09:24 1997 Ulrich Drepper <drepper@cygnus.com>
1130
1131 * configure.in: Enable multilibing by default.
1132 Update multilib template to read config-ml.in.
1133
1134 Tue Apr 1 16:26:39 1997 Klaus Kaempf <kkaempf@progis.de>
1135
1136 * makefile.vms: Add objalloc.
1137
1138 Mon Mar 31 23:57:51 1997 H.J. Lu <hjl@gnu.ai.mit.edu>
1139
1140 * cplus-dem.c (demangle_it): Add prototype declaration.
1141 (usage, fatal): Likewise.
1142
1143 * xexit.c (_xexit_cleanup): Add prototype.
1144
1145 * strerror.c (init_error_tables): Declare.
1146
1147 Fri Mar 28 11:43:20 1997 H.J. Lu <hjl@lucon.org>
1148
1149 * functions.def: Add DEF of vasprintf, and DEFFUNC of strsignal.
1150 * strsignal.c: Only define strsignal if NEED_strsignal.
1151 * Makefile.in (REQUIRED_OFILES): Remove vasprintf.o.
1152 * configure.in: Add NEED_strsignal to xconfig.h. Add vasprintf.o
1153 to xneeded-list.
1154 * config/mh-cygwin32 (HDEFINES): Add -DNEED_strsignal.
1155 (EXTRA_OFILES): Define to vasprintf.o.
1156 * config/mh-windows (HDEFINES): Add -DNEED_strsignal.
1157 (EXTRA_OFILES): Add vasprintf.o.
1158 * config/mt-vxworks5 (vxconfig.h): Define NEED_strsignal.
1159 (vxneeded-list): Add vasprintf.o.
1160
1161 Thu Mar 20 17:02:09 1997 Ian Lance Taylor <ian@cygnus.com>
1162
1163 * objalloc.c: Include <stdio.h>.
1164
1165 Mon Mar 17 19:23:11 1997 Ian Lance Taylor <ian@cygnus.com>
1166
1167 * objalloc.c: New file.
1168 * Makefile.in (CFILES): Add objalloc.c
1169 (REQUIRED_OFILES): Add objalloc.o.
1170 (objalloc.o): New target.
1171
1172 Sat Mar 15 18:49:41 1997 Ian Lance Taylor <ian@cygnus.com>
1173
1174 * obstack.c: Update to current FSF version.
1175
1176 Fri Mar 14 14:18:47 1997 Ian Lance Taylor <ian@cygnus.com>
1177
1178 * cplus-dem.c: Add prototypes for all static functions.
1179 (mystrstr): Make static. Make arguments and result const.
1180 (cplus_match): Remove; not used.
1181
1182 Tue Mar 11 14:20:31 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
1183
1184 * cplus-dem.c (gnu_special): Call demangled_fund_type for other
1185 __t* symbols.
1186
1187 Tue Mar 11 15:41:21 1997 H.J. Lu <hjl@lucon.org>
1188
1189 * spaces.c: Declare malloc and free properly.
1190 * strsignal.c (init_signal_tables): Add prototype.
1191 * xatexit.c (_xexit_cleanup): Add parameter declarations.
1192
1193 Wed Feb 19 15:43:24 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
1194
1195 * Makefile.in (lneeded-list): If alloca.o is needed, xexit.o is
1196 also required because of xmalloc.o.
1197
1198 Fri Feb 14 13:43:38 1997 Ian Lance Taylor <ian@cygnus.com>
1199
1200 * strsignal.c: Unconditionally redefine sys_siglist around the
1201 inclusion of the system header files.
1202
1203 Thu Feb 13 22:01:04 1997 Klaus Kaempf <kkaempf@progis.de>
1204
1205 * makefile.vms: Remove 8 bit characters. Update to latest
1206 gcc release.
1207
1208 Tue Feb 4 11:52:19 1997 Ian Lance Taylor <ian@cygnus.com>
1209
1210 * strsignal.c: Use NEED_sys_siglist instead of
1211 LOSING_SYS_SIGLIST.
1212 * config.table: Don't use mh-lynxos.
1213 * config/mh-lynxos: Remove.
1214
1215 Thu Jan 16 14:51:03 1997 Bob Manson <manson@charmed.cygnus.com>
1216
1217 * cplus-dem.c: Fix indenting; make identical to the copy
1218 in GCC.
1219 (do_type, case 'M'): Check for a template as well as a class.
1220
1221 Thu Dec 19 13:51:33 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
1222
1223 * config/mt-vxworks5 (vxneeded-list): Remove sigsetmask.o, since
1224 vxworks 5.[0-3] all have sigsetmask in them; the one provided by
1225 libiberty is incorrect, as well.
1226
1227 Mon Dec 2 15:03:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1228
1229 * alloca.c (alloca): When compiled with an ANSI/ISO compiler,
1230 alloca takes a size_t argument, not just unsigned.
1231
1232 Mon Nov 18 15:42:08 1996 Jason Merrill <jason@yorick.cygnus.com>
1233
1234 * cplus-dem.c: Note that this file also lives in GCC.
1235
1236 Mon Nov 18 15:19:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
1237
1238 * alloca.c: Remove include of libiberty.h for hpux.
1239 * argv.c: Replace defs from libiberty.h.
1240 * spaces.c: Put back externs from removed from libiberty.h.
1241 * vasprintf.c: Remove include of libiberty.h for hpux.
1242
1243 Mon Nov 18 14:08:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
1244
1245 * cplus-dem.c: Checking in again; last checkin filed due to sticky tag.
1246
1247 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
1248
1249 * cplus-dem.c: Revert last two commits due to conflicts with
1250 hpux system headers.
1251
1252 Wed Nov 13 08:22:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
1253
1254 * alloca.c, argv.c, spaces.c, strcasecmp.c, vasprintf.c, vprintf.c:
1255 Revert last commit due to conflicts with hpux system headers.
1256
1257 Wed Nov 13 10:36:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1258
1259 * cplus-dem.c (x{m,re}alloc): Make declarations compatibile with
1260 libiberty.h when compiled with a standard compiler.
1261
1262 Tue Nov 12 16:31:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
1263
1264 * alloca.c: Include libiberty.h for definition of xmalloc.
1265 Don't redefine NULL.
1266 * argv.c: Move prototypes to libiberty.h.
1267 * cplus-dem.c: Include libiberty.h for definition of xmalloc.
1268 Don't redefine NULL.
1269 Use casts to eliminate compiler warnings.
1270 * spaces.c: Remove prototypes for malloc and free which are
1271 already in libibrty.h.
1272 * strcasecmp.c: Use casts to eliminate compiler warnings.
1273 * vasprintf.c: Include libiberty.h for definition of malloc.
1274 Don't redefine NULL.
1275 * vprintf.c: Include stdarg.h if __STDC__.
1276
1277 Fri Oct 11 15:42:12 1996 Stu Grossman (grossman@critters.cygnus.com)
1278
1279 * config/mh-windows: Add strcasecmp.o to EXTRA_OFILES.
1280
1281 Fri Oct 11 11:16:31 1996 Stan Shebs <shebs@andros.cygnus.com>
1282
1283 * mpw.c (mpwify_filename): Rewrite to simplify, and to handle
1284 upward components correctly.
1285
1286 Tue Oct 8 08:55:34 1996 Stu Grossman (grossman@critters.cygnus.com)
1287
1288 * config.table, config/mh-windows: Add support for building under
1289 MSVC (the Microsoft build environment).
1290
1291 Mon Oct 7 10:50:27 1996 Ian Lance Taylor <ian@cygnus.com>
1292
1293 * fnmatch.c: Undef const if not __STDC__.
1294
1295 Thu Oct 3 13:46:39 1996 Ian Lance Taylor <ian@cygnus.com>
1296
1297 * fnmatch.c: New file.
1298 * Makefile.in (CFILES): Add fnmatch.c.
1299 (REQUIRED_OFILES): Add fnmatch.o.
1300 (fnmatch.o): New target.
1301
1302 Wed Sep 18 14:49:13 1996 Jason Merrill <jason@yorick.cygnus.com>
1303
1304 * cplus-dem.c (demangle_template): Fix handling of address args.
1305 (gnu_special): Handle type_info stuff.
1306
1307 Fri Sep 13 17:52:55 1996 Stan Shebs <shebs@andros.cygnus.com>
1308
1309 * mpw.c (DebugPI): Make settable from the env var DEBUG_PATHNAMES.
1310 (mpwify_filename): Handle "::/" case.
1311
1312 Thu Sep 12 13:30:40 1996 Geoffrey Noer <noer@cygnus.com>
1313
1314 * config/mh-cygwin32: new file (need -DNEED_basename and
1315 -DNEED_sys_siglist for native NT rebuilding)
1316 * config.table (*-*-cygwin32): new entry
1317 * choose-temp.c: bring in sync with gcc (revert Aug 17 change)
1318
1319 Thu Aug 29 16:48:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1320
1321 * config.table (i[345]86-*-*): Recognize i686 for pentium pro.
1322
1323 Tue Aug 27 13:47:58 1996 Stan Shebs <shebs@andros.cygnus.com>
1324
1325 * pexecute.c (pexecute) [MPW]: Remove old bogus code that
1326 messed with arguments that included a '/', add escape chars
1327 to double quotes, remove const decl from arg that Mac
1328 compilers don't seem to like.
1329
1330 Sat Aug 17 04:44:27 1996 Geoffrey Noer <noer@cygnus.com>
1331
1332 * pexecute.c: Update test for win32 (&& ! cygwin32).
1333 * choose-temp.c: fix WIN32 preprocessor defines
1334
1335 Thu Aug 15 12:26:48 1996 Stan Shebs <shebs@andros.cygnus.com>
1336
1337 * mpw-make.sed: Add @DASH_C_FLAG@ and @SEGMENT_FLAG({Default})@
1338 to editing of default makefile rule.
1339
1340 Sun Aug 11 21:03:27 1996 Stu Grossman (grossman@critters.cygnus.com)
1341
1342 * alloca-norm.h: Include <malloc.h> if _WIN32.
1343 * argv.c: Include non-prototyped decls for malloc and string
1344 functions if ! _WIN32 or if __GNUC__.
1345
1346 Thu Aug 8 12:42:40 1996 Klaus Kaempf <kkaempf@progis.de>
1347
1348 * config.h-vms: New file.
1349 * makefile.vms: Use it.
1350
1351 Wed Aug 7 17:16:12 1996 Stu Grossman (grossman@critters.cygnus.com)
1352
1353 * getopt.c (_getopt_internal): If argc is 0, just return (before
1354 we reference *argv and segfault).
1355
1356 Mon Aug 5 01:29:08 1996 Jason Merrill <jason@yorick.cygnus.com>
1357
1358 * Makefile.in (distclean): Add multilib.out.
1359
1360 Thu Jul 18 17:40:55 1996 Ian Lance Taylor <ian@cygnus.com>
1361
1362 * alloca-norm.h: Change #ifdef sparc to #if defined (sparc) &&
1363 defined (sun). From Andrew Gierth <ANDREWG@microlise.co.uk>.
1364
1365 Mon Jul 1 13:40:44 1996 Ken Raeburn <raeburn@cygnus.com>
1366
1367 Tue May 28 15:29:03 1996 Pat Rankin <rankin@eql.caltech.edu>
1368
1369 * vmsbuild.com (REQUIRD_OFILES): Add choose-temp.o and xstrdup.o.
1370
1371 Thu Jan 25 18:20:04 1996 Pat Rankin <rankin@eql.caltech.edu>
1372
1373 * vmsbuild.com: Changes to handle DEFFUNC(on_exit).
1374 (do_ofiles): Allow nonexistent source file in pass 3.
1375 (chk_deffunc): New routine.
1376
1377 Tue Jun 25 19:24:43 1996 Doug Evans <dje@canuck.cygnus.com>
1378
1379 * pexecute.c (PEXECUTE_VERBOSE): Define.
1380 (MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.
1381
1382 Tue Jun 25 23:11:48 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1383
1384 * Makefile.in (docdir): Removed.
1385
1386 Tue Jun 25 23:01:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1387
1388 * Makefile.in (oldincludedir): Removed.
1389
1390 Tue Jun 25 22:50:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
1391
1392 * Makefile.in (datadir): Set to $(prefix)/share.
1393
1394 Thu Jun 20 21:17:52 1996 Ian Lance Taylor <ian@cygnus.com>
1395
1396 * cplus-dem.c (demangle_arm_pt): Reindent. Avoid endless loop by
1397 checking for errors from do_type.
1398
1399 Tue Jun 18 14:36:19 1996 Klaus Kaempf <kkaempf@progis.de>
1400
1401 * makefile.vms: New file.
1402 * xmalloc.c: If VMS, include <stdlib.h> and <unixlib.h> rather
1403 than declaring malloc, realloc, and sbrk.
1404
1405 Mon Jun 10 13:17:17 1996 Doug Evans <dje@canuck.cygnus.com>
1406
1407 * pexecute.c: New file.
1408
1409 Wed Jun 5 16:57:45 1996 Richard Henderson <rth@tamu.edu>
1410
1411 * xmalloc.c: Declare sbrk.
1412
1413 Sat May 4 05:08:45 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
1414
1415 * alloca-norm.h: Add SPARCworks cc compatible __builtin_alloca
1416 declaration.
1417
1418 Mon Apr 22 18:41:49 1996 Ian Lance Taylor <ian@cygnus.com>
1419
1420 * xstrerror.c: Include <stdio.h>.
1421
1422 Sun Apr 21 11:55:12 1996 Doug Evans <dje@canuck.cygnus.com>
1423
1424 * Makefile.in (CFILES): Add atexit.c.
1425
1426 Sun Apr 21 09:50:09 1996 Stephen L Moshier (moshier@world.std.com)
1427
1428 * choose-temp.c: Include sys/types.h before sys/file.h for sco3.2v5.
1429
1430 Wed Apr 17 11:17:55 1996 Doug Evans <dje@canuck.cygnus.com>
1431
1432 * choose-temp.c: Don't #include sys/file.h ifdef NO_SYS_FILE_H.
1433 #include <stdio.h>
1434 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_FILE_H.
1435
1436 Tue Apr 16 11:27:16 1996 Jeffrey A Law (law@cygnus.com)
1437
1438 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
1439 Reverts Feb 8, 1995 change.
1440
1441 Mon Apr 15 12:53:26 1996 Doug Evans <dje@canuck.cygnus.com>
1442
1443 * choose-temp.c: New file.
1444 * Makefile.in (CFILES): Add choose-temp.c.
1445 (REQUIRED_OFILES): Add choose-temp.o.
1446
1447 Sat Apr 13 14:19:30 1996 Stu Grossman (grossman@critters.cygnus.com)
1448
1449 * floatformat.c (floatformat_to_double): Don't bias exponent when
1450 handling zero's, denorms or NaNs.
1451
1452 Thu Apr 11 13:36:56 1996 Stu Grossman (grossman@critters.cygnus.com)
1453
1454 * floatformat.c (floatformat_to_double): Fix bugs with handling
1455 numbers with fractions < 32 bits.
1456
1457 Mon Apr 8 14:48:34 1996 Ian Lance Taylor <ian@cygnus.com>
1458
1459 * config.table: Permit --enable-shared to specify a list of
1460 directories.
1461
1462 Tue Mar 19 22:02:07 1996 Jason Merrill <jason@yorick.cygnus.com>
1463
1464 * cplus-dem.c (demangle_template): Fix for non-mangled pointer
1465 arguments.
1466
1467 Fri Mar 8 17:24:18 1996 Ian Lance Taylor <ian@cygnus.com>
1468
1469 * configure.in: If srcdir is `.' and with_target_subdir is not
1470 `.', then set MULTISRCTOP before calling config-ml.in.
1471
1472 Thu Mar 7 13:37:10 1996 Stan Shebs <shebs@andros.cygnus.com>
1473
1474 * mpw.c (mpw_open): Add debugging output option.
1475
1476 Wed Mar 6 17:36:03 1996 Jason Merrill <jason@yorick.cygnus.com>
1477
1478 * cplus-dem.c (demangle_template): Fix for address-of-extern arguments.
1479
1480 Tue Feb 27 12:00:50 1996 Raymond Jou <rjou@mexican.cygnus.com>
1481
1482 * mpw.c (mpwify_filename): Change 6 to 5 in
1483 strncmp (unixname, "/tmp/", 5).
1484
1485 Tue Feb 20 10:55:53 1996 Ian Lance Taylor <ian@cygnus.com>
1486
1487 * cplus-dem.c (demangle_template): Initialize is_bool. Correctly
1488 handle 0 as a pointer value parameter.
1489
1490 Mon Feb 5 16:41:44 1996 Ian Lance Taylor <ian@cygnus.com>
1491
1492 * Makefile.in (all): Depend upon required-list.
1493 (required-list): New target.
1494 (clean): Remove required-list.
1495
1496 Wed Jan 31 10:19:41 1996 Steve Chamberlain <sac@slash.cygnus.com>
1497
1498 * win32.c: Deleted.
1499 * config.table (i386-*-win32): Deleted.
1500 * config/mh-i386win32: Deleted.
1501
1502 Thu Jan 18 11:34:17 1996 Ian Lance Taylor <ian@cygnus.com>
1503
1504 * cplus-dem.c (cplus_demangle_opname): Change opname parameter to
1505 const char *.
1506 (cplus_mangle_opname): Change return type and opname parameter to
1507 const char *. Don't cast return value.
1508
1509 Tue Jan 16 12:13:11 1996 Stan Shebs <shebs@andros.cygnus.com>
1510
1511 * mpw.c: Include Timer.h, in order to get m68k Microseconds trap
1512 definition.
1513
1514 Wed Jan 3 13:15:04 1996 Fred Fish <fnf@cygnus.com>
1515
1516 * obstack.c: Update copyright to 1996.
1517 (_obstack_memory_used): Define new function. Called via
1518 obstack_memory_used macro.
1519
1520 Thu Dec 28 11:39:40 1995 Ian Lance Taylor <ian@cygnus.com>
1521
1522 * xstrdup.c: New file.
1523 * Makefile.in (CFILES): Add xstrdup.c.
1524 (REQUIRED_OFILES): Add xstrdup.o.
1525 (xstrdup.o): New target.
1526
1527 Mon Dec 11 18:18:52 1995 Mike Stump <mrs@cygnus.com>
1528
1529 * atexit.c: New stub to provide atexit on systems that have
1530 on_exit, like SunOS 4.1.x systems.
1531 * functions.def (on_exit, atexit): Ditto.
1532
1533 Mon Dec 11 15:42:14 1995 Stan Shebs <shebs@andros.cygnus.com>
1534
1535 * mpw.c (mpw_abort): Remove decl.
1536 (mpw_access): Move debugging printf.
1537
1538 Sat Dec 2 01:25:23 1995 Ian Lance Taylor <ian@cygnus.com>
1539
1540 * config.table: Consistently use ${host} rather than ${xhost} or
1541 ${target}.
1542 * configure.in: Don't bother to set ${xhost} before calling
1543 config.table.
1544
1545 Tue Nov 28 14:16:57 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
1546
1547 * Makefile.in (.c.o): Use test instead of the left bracket, to
1548 avoid problems with some versions of make.
1549
1550 Tue Nov 28 11:45:17 1995 Stan Shebs <shebs@andros.cygnus.com>
1551
1552 * mpw-make.sed: Fix INCDIR edit to work with Nov 14 change.
1553
1554 Tue Nov 21 11:26:34 1995 Fred Fish <fnf@rtl.cygnus.com>
1555
1556 * config/mh-hpux: Remove. It was only used to define EXTRA_OFILES,
1557 which was set to just alloca.o, which is now automatically marked
1558 as needed by the autoconfiguration process.
1559
1560 Tue Nov 21 14:15:06 1995 Ian Lance Taylor <ian@cygnus.com>
1561
1562 * config.table: Check ${with_cross_host} rather than comparing
1563 ${host} and ${target}.
1564
1565 Thu Nov 16 14:34:42 1995 Ian Lance Taylor <ian@cygnus.com>
1566
1567 * configure.in: If with_target_subdir is empty, set xhost to
1568 ${host} rather than ${target} before calling config.table.
1569
1570 Tue Nov 14 01:38:30 1995 Doug Evans <dje@canuck.cygnus.com>
1571
1572 * Makefile.in (MULTITOP): Deleted.
1573 (MULTISRCTOP, MULTIBUILDTOP): New.
1574 (FLAGS_TO_PASS): Delete INCDIR.
1575 (INCDIR): Add $(MULTISRCTOP).
1576 (install_to_libdir): Add $(MULTISUBDIR). Call $(MULTIDO).
1577 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
1578 instead of cfg-ml-pos.in.
1579 (cross-compile check): Change to test for with_target_subdir.
1580 (EXTRA_LINKS): Delete.
1581
1582 Sun Nov 12 12:13:04 1995 Stan Shebs <shebs@andros.cygnus.com>
1583
1584 * mpw-make.sed: Add getpagesize.c.o to needed-list.
1585 * mpw.c [USE_MW_HEADERS]: Conditionalize compiling of
1586 functions that are supplied by Metrowerks libraries.
1587 (fstat): Clean up descriptor->pointer conversion code.
1588 (InstallConsole, etc): Empty definitions, for when linking
1589 with SIOUX.
1590
1591 Sun Nov 5 19:25:27 1995 Per Bothner <bothner@kalessin.cygnus.com>
1592
1593 * Makefile.in (FLAGS_TO_PASS): Also pass PICFLAGS.
1594 (.c.o): Stylistic change.
1595
1596 Thu Nov 2 12:06:29 1995 Ian Lance Taylor <ian@cygnus.com>
1597
1598 * strtol.c, strtoul.c: Don't include <stdlib.h>. From
1599 phdm@info.ucl.ac.be (Philippe De Muyter).
1600
1601 Wed Nov 1 11:59:36 1995 Ian Lance Taylor <ian@cygnus.com>
1602
1603 * configure.in: Correct sed call.
1604
1605 Mon Oct 30 13:03:45 1995 Per Bothner <bothner@kalessin.cygnus.com>
1606
1607 * configure.in: Clean up / simplify for native.
1608
1609 * configure.in: Merge in stuff from ../xiberty/configure.in.
1610 * Makefile.in (CC): Add definition (so it can be overrridden
1611 by ../configure).
1612
1613 Tue Oct 24 17:57:27 1995 Stan Shebs <shebs@andros.cygnus.com>
1614
1615 * mpw-make.sed: Leave strerror.c.o in standard list of functions.
1616 * mpw.c (R_OK, ENOENT, EACCESS, ENOSYS): Remove.
1617 (link): Remove useless definition with error return.
1618 (last_microseconds, warn_if_spin_delay, record_for_spin_delay):
1619 Use UnsignedWide type for microsecond counts.
1620
1621 Thu Oct 19 10:52:07 1995 Michael Meissner <meissner@wogglebug.tiac.net>
1622
1623 * memcmp.c (memcmp): Argument types are const void *, not void
1624 *const.
1625
1626 * strncasecmp.c (strncasecmp): Include ansidecl.h/stdarg.h, not
1627 sys/types.h.
1628 * strcasecmp.c (strcasecmp): Ditto.
1629
1630 Tue Oct 10 11:03:24 1995 Fred Fish <fnf@cygnus.com>
1631
1632 * Makefile.in (BISON): Remove macro.
1633
1634 Tue Sep 26 15:06:46 1995 Stan Shebs <shebs@andros.cygnus.com>
1635
1636 * Makefile.in (HFILES): Add default empty definition.
1637 * mpw-config.in (config.h): Only update if changed.
1638 * mpw-make.in: Remove.
1639 * mpw-make.sed: New file, edits Makefile.in into MPW makefile.
1640 * mpw.c: Remove semi-clone of strerror code.
1641 (sys_nerr, sys_errlist): Define here.
1642 (Microseconds): Only define as A-line trap if m68k Mac.
1643
1644 Wed Sep 20 12:53:32 1995 Ian Lance Taylor <ian@cygnus.com>
1645
1646 * Makefile.in (maintainer-clean): New synonym for distclean.
1647
1648 Mon Aug 28 19:47:52 1995 Per Bothner <bothner@kalessin.cygnus.com>
1649
1650 * config.table: For host, generalize rs6000-ibm-aix*
1651 to *-ibm-aix* so we also include powerpc.
1652
1653 Tue Aug 22 03:18:05 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
1654
1655 Fri Jun 16 18:35:40 1995 Pat Rankin (rankin@eql.caltech.edu)
1656
1657 * xstrerror.c: New file.
1658 * Makefile.in, vmsbuild.com: Compile it.
1659
1660 Mon Jul 31 12:16:32 1995 steve chamberlain <sac@slash.cygnus.com>
1661
1662 * config.table (i386-*-win32): New.
1663
1664 Fri Jul 21 11:35:52 1995 Doug Evans <dje@canuck.cygnus.com>
1665
1666 * Makefile.in (MULTITOP): New variable.
1667 (MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): Likewise.
1668 (all): Add multilib support.
1669 (install_to_tooldir, *clean): Likewise.
1670
1671 Mon Jul 10 11:47:27 1995 Ken Raeburn <raeburn@cygnus.com>
1672
1673 * makefile.dos (OBJS): Add hex.o. From DJ Delorie.
1674
1675 Fri Jun 30 17:28:59 1995 Pat Rankin (rankin@eql.caltech.edu)
1676
1677 * vmsbuild.com: create "new-lib.olb", build libiberty under that
1678 name, and then make it become "liberty.olb" when done, so that an
1679 incomplete build attempt never leaves behind something which looks
1680 like a complete library.
1681
1682 Thu Jun 29 00:22:02 1995 Steve Chamberlain <sac@slash.cygnus.com>
1683
1684 * config/mh-i386pe: New file for PE hosts.
1685 * config.table: Understand PE hosts.
1686
1687 Wed Jun 28 19:13:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1688
1689 * cplus-dem.c: Update from gcc.
1690
1691 * argv.c, dummy.c: If __STDC__, #include "alloca-conf.h" after
1692 <stddef.h>.
1693 * alloca-norm.h: If __STDC__, declare alloca with its parameter.
1694
1695 Thu Jun 22 18:57:47 1995 Stan Shebs <shebs@andros.cygnus.com>
1696
1697 * mpw-make.in (ALL_CFLAGS): Define NEED_basename.
1698 * mpw.c: Only test DebugPI once whenever printing debug info.
1699 (mpwify_filename): If filename is /tmp/foo, change it into :_foo,
1700 also fix to not write on input filename buffer.
1701 (mpw_access): Use stat() instead of open(), works for directories
1702 as well as files.
1703
1704 Mon Jun 19 00:33:22 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1705
1706 * Makefile.in: Massage broken shells that require 'else true'.
1707
1708 Sat Jun 17 23:21:58 1995 Fred Fish <fnf@cygnus.com>
1709
1710 * alloca-norm.h: Declare alloca as type "PTR" to match functions.def.
1711 Declare __builtin_alloca in the sparc case, as argv.c did.
1712 * argv.c: Replace inline version of alloca-norm.h at start of file with
1713 a #include of alloca-conf.h. Precede it with an include of ansidecl.h
1714 because alloca-norm.h needs to declare alloca as "PTR".
1715
1716 Mon Jun 12 14:24:26 1995 Steve Chamberlain <sac@slash.cygnus.com>
1717
1718 * win32.c: New file.
1719
1720 Fri Jun 9 15:16:14 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1721
1722 * dummy.c: #include "alloca-conf.h".
1723
1724 Wed Jun 7 11:46:23 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1725
1726 * Makefile.in (mostlyclean): Remove stamp-picdir.
1727 (clean): Don't.
1728
1729 Mon Jun 5 18:46:06 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1730
1731 * config.table (frags): Use toplevel pic frags.
1732
1733 * Makefile.in (PICFLAG): New macro.
1734 (all): Depend on stamp-picdir.
1735 (needed-list): Ditto.
1736 (.c.o): Also build pic object.
1737 (stamp-picdir): New rule.
1738 (mostlyclean): Remove pic.
1739 (clean): Remove stamp-picdir.
1740
1741 Fri Mar 24 16:55:48 1995 Pat Rankin (rankin@eql.caltech.edu)
1742
1743 * vmsbuild.com (config.h): Add `#define NEED_basename'.
1744
1745 Tue May 23 10:12:46 1995 Per Bothner <bothner@kalessin.cygnus.com>
1746
1747 * clock.c, getopt.c, strtod.c, vsprintf.c: Change from using LGPL
1748 to libio-style copyright.
1749 * getpagesize.c: Remove FSF copyright.
1750
1751 Sat May 20 12:30:23 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
1752
1753 Added improved VMS support from Pat Rankin:
1754
1755 Fri Mar 17 18:40:36 1995 Pat Rankin (rankin@eql.caltech.edu)
1756
1757 * vmsbuild.com: new file.
1758
1759 * getpagesize.c (getpagesize): implement for VMS;
1760 * strerror.c (strerror, strerrno, strtoerrno): add rudimentary
1761 support for EVMSERR.
1762
1763 Thu May 18 17:01:42 1995 Ken Raeburn <raeburn@kr-laptop.cygnus.com>
1764
1765 Wed May 10 14:28:16 1995 Richard Earnshaw (rearnsha@armltd.co.uk)
1766
1767 * floatformat.c (floatformat_arm_ext): Define.
1768
1769 Tue May 16 13:30:59 1995 Per Bothner <bothner@kalessin.cygnus.com>
1770
1771 * basename.c, bcmp.c, getcwd.c, insque.c, rename.c, sigsetmask.c,
1772 strerror.c, strsignal.c: Remove FSF copyright.
1773 * sigsetmask.c: #include <sys/types.h> - seems to be needed by ISC.
1774
1775 Mon May 15 19:53:17 1995 Per Bothner <bothner@kalessin.cygnus.com>
1776
1777 * bcopy.c, bzero.c, memcmp.c, memcpy.c, memset.c, strchr.c,
1778 strrchr.c, strstr.c, vfork.c: Remove FSF Copyright, because this
1779 might contaminate libstdc++ with the LGPL. (OK'd by RMS 11 Oct 94.)
1780 * strchr.c, strrchr.c: Add cast to suppress const warning.
1781
1782 Thu May 4 14:36:42 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1783
1784 * cplus-dem.c: Use const instead of CONST. Don't include
1785 ansidecl.h directly.
1786
1787 Wed Apr 19 01:30:27 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1788
1789 * cplus-dem.c: Don't include libiberty.h. Do declare xmalloc and
1790 xrealloc.
1791 (-DMAIN): Don't rely on an externally-defined version number;
1792 instead, require the version number to be defined as a
1793 preprocessor macro. Handle the RS/6000 leading dot. Define
1794 xmalloc, xrealloc and fatal. Don't strip a leading underscore
1795 if we couldn't demangle the word.
1796
1797 Tue Apr 4 13:03:51 1995 Stan Shebs <shebs@andros.cygnus.com>
1798
1799 (Old mpw.c change descriptions retained for informational value.)
1800 * mpw.c (warning_threshold): Default to .4 sec.
1801 (overflow_count, current_progress): New globals.
1802 (warn_if_spin_delay): Include current progress type,
1803 such as program name, in message.
1804 (mpw_start_progress): Set current_progress variable from arg.
1805 (mpw_end_progress): Report spin delays by power-of-two-size
1806 buckets instead of constant-size buckets.
1807
1808 * mpw.c: Clean up formatting, types, returns, etc.
1809 (ENOSYS): Define.
1810 (mpw_fread, mpw_fwrite): Define.
1811 (sleep): Define correctly.
1812
1813 * mpw.c: New code to implement cursor spinning support.
1814 (umask): New function.
1815 (mpw_fopen, mpw_fseek, stat, fstat): Call PROGRESS.
1816
1817 * mpw.c (mpw_basename, mpw_mixed_basename): New functions, find
1818 basenames for MPW and MPW/Unix filenames.
1819 (mpw_special_init): New function, calls Macsbug if desired.
1820
1821 * mpw.c: Add GPL notice.
1822 (mpwify_filename): Add more transformations.
1823 (mpw_fopen): Call mpwify_filename on file names.
1824 (rename): Remove.
1825 (chdir, getcwd): Add simple definitions.
1826
1827 * mpw.c: Random cleanups, remove unused code bits.
1828 Added copy of strerror.c for gcc's use.
1829 (stat, fstat, _stat): New versions based on Guido van Rossum code.
1830
1831 * mpw.c (mpw_fseek): Make it work correctly when doing SEEK_CUR.
1832
1833 * mpw.c (stat): Remove hack definition, get from sys/stat.h.
1834 (fork, vfork, etc): Print error messages if called.
1835 (getrusage, sbrk, environ, isatty, link, utime, mkdir, rmdir,
1836 rename, chown): Define.
1837
1838 * mpw-config.in: New file, MPW version of configure.in.
1839 * mpw-make.in: New file, MPW version of Makefile.in.
1840 * mpw.c: New file, MPW compatibility routines.
1841
1842 Fri Mar 24 14:10:30 1995 Jim Kingdon (kingdon@lioth.cygnus.com)
1843
1844 * basename.c: Include config.h before checking for NEED_basename.
1845
1846 Thu Mar 23 19:09:54 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1847
1848 * functions.def: Add DEFFUNC for basename.
1849
1850 * basename.c: Only define basename if NEED_basename.
1851
1852 Thu Mar 16 13:36:05 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1853
1854 * config.table: Fix --enable-shared logic for native builds.
1855
1856 Mon Mar 13 11:05:11 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1857
1858 * cplus-dem.c (demangle_template): Demangle bool literals properly.
1859
1860 Mon Mar 6 23:57:28 1995 Stu Grossman (grossman@cygnus.com)
1861
1862 * strtol.c strtoul.c: Replace these with less buggy versions from
1863 NetBSD. (strtoul in particular couldn't handle base 16.)
1864
1865 Wed Mar 1 15:59:01 1995 Ian Lance Taylor <ian@cygnus.com>
1866
1867 * config/mt-vxworks5 (HDEFINES): Define NO_SYS_PARAM_H.
1868
1869 * clock.c: If NO_SYS_PARAM_H is defined, don't include
1870 <sys/param.h>.
1871 * getcwd.c, getpagesize.c, getruntime.c: Likewise.
1872
1873 Fri Feb 17 15:40:55 1995 Ian Lance Taylor <ian@cygnus.com>
1874
1875 * getruntime.c (get_run_time): Don't assume that CLOCKS_PER_SEC is
1876 a number; ANSI appears to permit any expression, including a
1877 function call.
1878
1879 * config.table (*-*-vxworks5*): Use mt-vxworks5 when configuring
1880 xiberty.
1881 * config/mt-vxworks5: New file.
1882
1883 Thu Feb 9 14:19:45 1995 Ian Lance Taylor <ian@cygnus.com>
1884
1885 * basename.c (basename): Change argument to be const.
1886
1887 Wed Feb 8 18:06:52 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1888
1889 * Makefile.in (lneeded-list): Don't worry about xmalloc.
1890
1891 Sun Jan 15 00:40:36 1995 Jeff Law (law@snake.cs.utah.edu)
1892
1893 * Makefile.in (distclean): Delete xhost-mkfrag.
1894
1895 Thu Jan 12 16:54:18 1995 Jason Merrill <jason@phydeaux.cygnus.com>
1896
1897 * Makefile.in (lneeded-list): If alloca.o is needed, so is xmalloc.o.
1898
1899 Wed Jan 11 22:39:56 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
1900
1901 * hex.c: New file.
1902 * Makefile.in (REQUIRED_OFILES, CFILES): List it.
1903 (hex.o): Add dependencies.
1904
1905 * cplus-dem.c (demangle_prefix): For GNU style constructor and
1906 destructor names, try demangling the remainder of the string.
1907
1908 Wed Dec 28 00:49:15 1994 Ian Lance Taylor <ian@tweedledumb.cygnus.com>
1909
1910 * vasprintf.c (int_vasprintf): New static function.
1911 (vasprintf): Use int_vasprintf. Removes assumption that va_list
1912 is assignment compatible.
1913
1914 Sat Nov 5 19:29:12 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1915
1916 * Makefile.in (LIBCFLAGS): New variable.
1917 (FLAGS_TO_PASS): Pass it.
1918 (.c.o): Use it.
1919
1920 Thu Nov 3 19:09:47 1994 Ken Raeburn <raeburn@cujo.cygnus.com>
1921
1922 * getopt.c, getopt1.c: Do compile these functions under Linux,
1923 since many native versions are based on glibc but are buggy.
1924
1925 Mon Oct 24 15:16:46 1994 Per Bothner <bothner@kalessin.cygnus.com>
1926
1927 * vasprintf.c: Make 'format' arg be const, to avoid a mismatch
1928 with prototype in GNU libc. Support stdarg.h as well as varargs.h.
1929
1930 Tue Oct 11 17:48:27 1994 Jason Merrill (jason@phydeaux.cygnus.com)
1931
1932 * Makefile.in (REQUIRED_OFILES): Add vasprintf.o.
1933 * functions.def: Remove vasprintf.
1934
1935 Wed Sep 14 17:04:55 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1936
1937 * xmalloc.c (first_break): New static variable.
1938 (xmalloc_set_program_name): Record sbrk (0) in first_break.
1939 (xmalloc): If memory allocation fails, try to report how much
1940 memory was allocated by the program up to this point.
1941 (xrealloc): Likewise.
1942
1943 Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
1944
1945 * Makefile.in (ERRORS_CC): New variable, defaulted to $(CC). Use it
1946 when linking dummy.
1947 * config.table: Add host RISCiX Makefile frag.
1948 * config/mh-riscix: New file.
1949
1950 Thu Aug 25 17:29:44 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1951
1952 * Makefile.in (FLAGS_TO_PASS): Define.
1953 ($(RULE1)): Use $(FLAGS_TO_PASS).
1954
1955 Wed Aug 24 17:08:47 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
1956
1957 * vasprintf.c: Include <string.h>.
1958 (vasprintf): Add casts to void for va_arg to avoid gcc warnings.
1959 * xatexit.c: Declare malloc.
1960
1961 Fri Aug 19 15:29:12 1994 Kung Hsu (kung@mexican.cygnus.com)
1962
1963 * cplus-dem.c (demangle_args): Fix a bug in previous patch (the
1964 one below).
1965
1966 Thu Aug 18 14:37:14 1994 Kung Hsu (kung@mexican.cygnus.com)
1967
1968 * cplus-dem.c (demangle args): Handle ARM repeat encoding where
1969 the type index is greater than 9.
1970
1971 Wed Aug 17 16:13:49 1994 Kung Hsu (kung@mexican.cygnus.com)
1972
1973 * cplus-dem.c (demangle_qualified): accept optional '_' between
1974 qualified name. This is baecause the template name may end with
1975 numeric and can mixed up with the length of next qualified name.
1976
1977 Wed Aug 3 05:52:14 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
1978
1979 * config/mt-sunos4: Use our standard location for cross-includes
1980 and cross-libs when the target is also a "host" environment (ie no
1981 newlib; includes and such don't belong to us). This is specific
1982 to the Cygnus Support environment.
1983
1984 Tue Aug 2 15:25:12 1994 Kung Hsu (kung@mexican.cygnus.com)
1985
1986 * cplus-dem.c (demangle_template): demangle as xxx<'Q'> not
1987 xxx<ch=81>.
1988
1989 Mon Aug 1 17:02:48 1994 Kung Hsu (kung@mexican.cygnus.com)
1990
1991 * cplus-dem.c (main): flush stdout to make pipe work.
1992
1993 Sat Jul 16 12:56:32 1994 Stan Shebs (shebs@andros.cygnus.com)
1994
1995 * config.table (*-*-cxux7*): Recognize.
1996 * floatformat.c (floatformat_m88110_ext) [HARRIS_FLOAT_FORMAT]:
1997 Harris-specific float format.
1998 * config/mh-cxux7: New file.
1999
2000 Wed Jun 29 00:26:17 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2001
2002 * cplus-dem.c (demangle_template): Make sure that the result of
2003 consume_count doesn't index beyond the end of the string.
2004
2005 Mon Jun 20 23:54:37 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2006
2007 * cplus-dem.c (gnu_special): Handle vtable mangling of gcc-2.4.5 and
2008 earlier. Improve test for new vtable mangling. Change output back
2009 to `virtual table'.
2010
2011 Mon Jun 20 11:37:30 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
2012
2013 * obstack.c: Always compile this code, even if using the GNU
2014 library. Avoids problems with relatively recent binary
2015 incompatibility.
2016
2017 Thu Jun 16 17:54:01 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2018
2019 * cplus-dem.c: Include libiberty.h.
2020 (xmalloc, xrealloc, free): Don't declare.
2021 (strstr): Don't declare parameters.
2022 (xmalloc, xrealloc): Don't define.
2023 (long_options): Add no-strip-underscores.
2024 (main): Call xmalloc_set_program_name. Pass n in short options to
2025 getopt_long. Handle option 'n' to not strip underscores.
2026 (usage): Mention -n and --no-strip-underscores.
2027
2028 Sun Jun 12 01:37:09 1994 Jason Merrill (jason@deneb.cygnus.com)
2029
2030 * cplus-dem.c (demangle_template): Separate consecutive >'s with a
2031 space.
2032 (gnu_special): Demangle template and qualified names in a vtable name.
2033
2034 Fri May 27 12:27:52 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2035
2036 From gas-2.3 and binutils-2.4 net releases:
2037
2038 Wed May 11 22:32:00 1994 DJ Delorie (dj@ctron.com)
2039
2040 * makefile.dos: [new] Makefile for dos/go32
2041 * configure.bat: update for latest files
2042 * msdos.c: remove some functions now in libc.a
2043
2044 Fri May 20 18:53:32 1994 Per Bothner (bothner@kalessin.cygnus.com)
2045
2046 * cplus-dem.c (gnu_special): Recognize thunks, as well as
2047 the new naming style for vtables (when -fvtable-thunks).
2048
2049 Wed May 18 13:34:06 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2050
2051 * Makefile.in (XTRAFLAGS): Don't define.
2052 (.c.o, dummy.o): Don't use XTRAFLAGS.
2053 ($(RULE1)): Don't pass XTRAFLAGS down in recursive call.
2054
2055 Fri May 13 16:02:12 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2056
2057 * vasprintf.c: New file.
2058 * Makefile.in, functions.def: Add it.
2059
2060 Fri May 13 16:20:28 1994 Jason Merrill (jason@deneb.cygnus.com)
2061
2062 * cplus-dem.c (demangle_fund_type): Grok bool.
2063
2064 Fri May 6 14:44:21 1994 Steve Chamberlain (sac@cygnus.com)
2065
2066 * config.table: Add go32
2067 * config/mh-go32: New template.
2068
2069 Fri May 6 11:01:59 1994 D. V. Henkel-Wallace (gumby@rtl.cygnus.com)
2070
2071 * config.table, config/mt-sunos4: config for when sun4 is cross target.
2072
2073 Mon Apr 11 00:54:33 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2074
2075 * getopt.c [not __GNU_LIBRARY__] [__GCC__] [not __STDC__]:
2076 Declare strlen to return int. Don't include stddef.h.
2077
2078 Fri Apr 1 00:38:17 1994 Jim Wilson (wilson@mole.gnu.ai.mit.edu)
2079
2080 * getopt.c: Delete use of IN_GCC to control whether
2081 stddef.h or gstddef.h is included.
2082
2083 Thu Apr 14 14:00:56 1994 Kung Hsu (kung@mexican.cygnus.com)
2084
2085 * cplus-dem.c (demangle_signature): Fix a bug in template function
2086 type numbering.
2087
2088 Wed Apr 13 17:23:03 1994 Kung Hsu (kung@mexican.cygnus.com)
2089
2090 * cplus-dem.c (demangle_signature): Fix template function with arm
2091 style argument type number, Tn.
2092
2093 Wed Apr 13 17:11:15 1994 Jason Merrill (jason@deneb.cygnus.com)
2094
2095 * cplus-dem.c (optable): Add new[] and delete[].
2096
2097 Fri Apr 8 11:21:42 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2098
2099 * argv.c (buildargv): Don't produce empty argument just because
2100 there is trailing whitespace.
2101
2102 Wed Apr 6 11:42:14 1994 Kung Hsu (kung@mexican.cygnus.com)
2103
2104 * cplus-dem.c (demangle_template): fix 'Q' qualified name bug.
2105 Handle 'p' same as 'P'.
2106 * cplus-dem.c (do_type): Handle 'p' same as 'P'.
2107
2108 Sat Mar 26 12:00:13 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2109
2110 * floatformat.c (get_field, put_field): Fix off by one error in
2111 little endian case.
2112
2113 Thu Mar 24 10:40:19 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2114
2115 * floatformat.c (floatformat_from_double): Pass unsigned char *,
2116 not char *, to put_field.
2117
2118 Fri Mar 18 12:34:33 1994 Per Bothner (bothner@kalessin.cygnus.com)
2119
2120 * memmove.c: Re-wrote; placed in public domain.
2121
2122 Wed Mar 16 10:33:07 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
2123
2124 * cplus-dem.c (demangle_prefix): If ARM demangling, don't treat
2125 __Q* as a constructor.
2126
2127 Mon Mar 14 12:26:02 1994 Ian Lance Taylor (ian@cygnus.com)
2128
2129 * ieee-float.c: Removed; no longer used.
2130 * Makefile.in: Changed accordingly.
2131
2132 Mon Mar 7 12:28:17 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2133
2134 * floatformat.c (get_field): Removed unused local variable i.
2135 (put_field): Removed unused local variable i.
2136
2137 Sun Feb 27 21:50:11 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
2138
2139 * floatformat.c: New file, intended to replace ieee-float.c.
2140 * Makefile.in: Change accordingly.
2141
2142 Thu Feb 24 11:51:12 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2143
2144 * getopt.c: Remove #ifdef GETOPT_COMPAT and #if 0 code.
2145 (_getopt_initialize): New function, broken out of _getopt_internal.
2146 (_getopt_internal):
2147 If long_only and the ARGV-element has the form "-f", where f is
2148 a valid short option, don't consider it an abbreviated form of
2149 a long option that starts with f. Otherwise there would be no
2150 way to give the -f short option.
2151
2152 Thu Feb 10 14:44:16 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2153
2154 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]:
2155 Test just __STDC__, not emacs.
2156
2157 Wed Feb 9 00:14:00 1994 Richard Stallman (rms@mole.gnu.ai.mit.edu)
2158
2159 * getopt.c [not __GNU_LIBRARY__] [__GNUC__] [not IN_GCC]
2160 [emacs] [not __STDC__]: Don't include stddef.h. Don't declare strlen.
2161
2162 Fri Dec 24 19:43:00 1993 Noah Friedman (friedman@nutrimat.gnu.ai.mit.edu)
2163
2164 * getopt.c (_NO_PROTO): Define before config.h is included.
2165
2166 Mon Sep 20 15:59:03 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2167
2168 * getopt.c, getopt1.c [emacs || CONFIG_BROKETS]: Include
2169 <config.h> only under these, else "config.h".
2170
2171 Thu Aug 12 18:16:49 1993 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
2172
2173 * getopt.c, getopt1.c [HAVE_CONFIG_H]: Include
2174 <config.h> instead of "config.h".
2175
2176 Sun Feb 20 17:17:01 1994 Ian Lance Taylor (ian@lisa.cygnus.com)
2177
2178 * concat.c: Check ANSI_PROTOTYPES rather than __STDC__ to decide
2179 whether to use prototypes or not.
2180 * strerror.c (const): Never undefine; let ansidecl.h handle it.
2181 * strsignal.c (const): Likewise.
2182
2183 Thu Feb 17 13:27:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2184
2185 * xatexit.c (_xexit_cleanup): Declare as extern; don't initialize.
2186 Merging common and initialized variables need not be supported by
2187 ANSI C compilers.
2188 (xatexit): Initialize _xexit_cleanup if not already set.
2189 * xexit.c: Comment fix.
2190
2191 Wed Feb 16 01:15:36 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2192
2193 * xmalloc.c: Don't declare xexit; it's declared in libiberty.h.
2194 (xrealloc): If oldmem is NULL, allocate with malloc, rather than
2195 assuming that realloc works correctly.
2196
2197 Tue Feb 15 09:26:16 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2198
2199 * concat.c, ieee-float.c: Replace inclusion of <string.h>
2200 with explicit function declarations, as recommended by Ian Taylor.
2201
2202 Sat Feb 12 10:31:11 1994 David J. Mackenzie (djm@rtl.cygnus.com)
2203
2204 * xmalloc.c (xmalloc, xrealloc): Use PTR and size_t throughout.
2205 (malloc, realloc): Declare.
2206
2207 Thu Feb 10 17:08:19 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2208
2209 * argv.c, basename.c: Include ansidecl.h and libiberty.h.
2210 * concat.c, fdmatch.c, getruntime.c, spaces.c: Likewise.
2211 * strerror.c, strsignal.c, xatexit.c, xexit.c: Likewise.
2212 * xmalloc.c: Likewise.
2213 * concat.c: Don't declare xmalloc. If __STDC__, use <stdarg.h>
2214 macros, not <varargs.h> macros.
2215 * spaces.c (spaces): Make return type const. Don't crash if
2216 malloc returns NULL.
2217 * strerror.c (struct error_info): Make name and msg fields const.
2218 (error_names): Make const.
2219 (strerrno): Make const.
2220 (strtoerrno): Make argument const.
2221 * strsignal.c (struct signal_info): Make name and msg fields
2222 const.
2223 (signal_names, sys_siglist): Make const.
2224 (strsignal, strsigno): Make const.
2225 (strtosigno): Make argument const.
2226 * xatexit.c: Declare parameter types.
2227 * xmalloc.c (name): Make const.
2228 (xmalloc_set_program_name): Make argument const.
2229 * Makefile.in (INCDIR): Define.
2230 (.c.o): Use $(INCDIR).
2231 (dummy.o): Likewise.
2232 (argv.o, basename.o): New targets; depend on libiberty.h.
2233 (concat.o, fdmatch.o, getruntime.o, spaces.o): Likewise.
2234 (strerror.o, strsignal.o, xatexit.o, xexit.o): Likewise.
2235 (xmalloc.o): Likewise.
2236 (cplus-dem.o): New target; depend on demangle.h.
2237 (getopt.o, getopt1.o): New targets; depend on getopt.h.
2238 (ieee-float.o): New target; depend on ieee-float.h.
2239 (obstack.o): New target; depend on obstack.h.
2240
2241 Tue Feb 8 05:29:08 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2242
2243 Handle obstack_chunk_alloc returning NULL. This allows
2244 obstacks to be used by libraries, without forcing them
2245 to call exit or longjmp.
2246 * obstack.c (_obstack_begin, _obstack_begin_1, _obstack_newchunk):
2247 If CALL_CHUNKFUN returns NULL, set alloc_failed, else clear it.
2248 (_obstack_begin, _obstack_begin_1): Return 1 if successful, 0 if not.
2249
2250 Tue Feb 8 00:32:28 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2251
2252 * concat.c, ieee-float.c: Include <string.h>.
2253
2254 Sun Feb 6 21:28:46 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2255
2256 * xmalloc.c (xmalloc_set_program_name): New function.
2257 (xmalloc, xrealloc): Include the name in the error message, if set.
2258
2259 * Replace atexit.c with xatexit.c.
2260 * Makefile.in (CFILES), functions.def: Change references.
2261
2262 Sat Feb 5 14:02:32 1994 Stan Shebs (shebs@andros.cygnus.com)
2263
2264 * getruntime.c (get_run_time): Use getrusage or times if
2265 HAVE_GETRUSAGE or HAVE_TIMES are defined.
2266
2267 Fri Feb 4 15:49:38 1994 David J. Mackenzie (djm@thepub.cygnus.com)
2268
2269 * atexit.c: New file.
2270 * Makefile.in (CFILES), functions.def: Add it.
2271 * xexit.c: New file.
2272 * Makefile.in (CFILES, REQUIRED_OFILES): Add it.
2273 * xmalloc.c (xmalloc, xrealloc): Call xexit instead of exit.
2274 Change request for 0 bytes into request for 1 byte.
2275
2276 Wed Feb 2 11:36:49 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2277
2278 * xmalloc.c (xmalloc, xrealloc): Print size using %lu, and cast to
2279 unsigned long, to avoid warnings.
2280
2281 Fri Jan 28 17:49:06 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
2282
2283 * dummy.c: Don't include time.h ever; always define clock_t as
2284 "unsigned long". Until gcc/fixincludes ensures that clock_t
2285 exists, __STDC__ isn't a sufficient test. And if clock() doesn't
2286 exist, clock_t probably doesn't either.
2287
2288 Mon Jan 24 11:52:31 1994 Stan Shebs (shebs@andros.cygnus.com)
2289
2290 * clock.c, getruntime.c: New files.
2291 * Makefile.in: Add to file lists.
2292 * functions.def (clock): Add to list.
2293 * dummy.c (time.h): Add if __STDC__.
2294 (clock_t): #define as "unsigned long" if not __STDC__.
2295
2296 Tue Jan 11 11:27:44 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2297
2298 * strtod.c: Declare atof. From edler@jan.ultra.nyu.edu (Jan
2299 Edler).
2300
2301 Tue Dec 28 14:17:30 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2302
2303 * Makefile.in (errors): Use CFLAGS as well as LDFLAGS when
2304 linking.
2305
2306 Fri Dec 17 12:26:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
2307
2308 * cplus-dem.c (demangle_arm_pt): New function. Common code
2309 for ARM template demangling.
2310 * cplus-dem.c (demangle_class_name): Use demangle_arm_pt.
2311 * cplus-dem.c (demangle_prefix): Likewise.
2312
2313 Tue Nov 30 15:47:48 1993 Jason Merrill (jason@deneb.cygnus.com)
2314
2315 * cplus-dem.c (cplus_demangle_opname): Add CONST to please gcc.
2316
2317 Sat Nov 27 11:05:50 1993 Fred Fish (fnf@cygnus.com)
2318
2319 Merge changes from tom@basil.icce.rug.nl (Tom R.Hageman)
2320 * strerror.c, strsignal.c: As a small space optimization, don't
2321 include messages when they aren't actually used.
2322
2323 Merge changes from takefive.co.at!joe (Josef Leherbauer)
2324 * cplus-dem.c (demangle_prefix, demangle_function_name,
2325 cplus_demangle_opname): Fixes for systems where cplus_marker
2326 is something other than '$'.
2327
2328 Fri Nov 26 13:51:11 1993 Per Bothner (bothner@kalessin.cygnus.com)
2329
2330 * waitpid.c: Simple-minded approcimation to waitpid
2331 using vanilla wait.
2332 * functions.def, Makefile.in: Update accordingly,
2333
2334 Thu Nov 18 18:01:15 1993 Kung Hsu (kung@cirdan.cygnus.com)
2335
2336 * cplus-dem.c(demangle_template): fix bug template instantiation
2337 with value of user defined type.
2338
2339 Wed Nov 17 18:30:21 1993 Kung Hsu (kung@cirdan.cygnus.com)
2340
2341 * cplus-dem.c(cplus_demangle_opname): add the subject new function
2342 to support unified search of operator in class.
2343
2344 Wed Nov 10 09:47:22 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2345
2346 gcc -Wall lint:
2347 * strtoul.c (strtoul): use "(digit = *s) != '\0'" not just
2348 "digit = *s" as condition in while loop.
2349
2350 Tue Nov 9 15:52:22 1993 Mark Eichin (eichin@cygnus.com)
2351
2352 * Makefile.in: pass SHELL to recursive make
2353
2354 Thu Nov 4 12:09:26 1993 Per Bothner (bothner@kalessin.cygnus.com)
2355
2356 * vfprintf.c, vprintf.c, vsprintf.c: Make format arg
2357 be (const char*), for ANSI (and gcc w/fixproto) consistency.
2358
2359 Thu Nov 4 08:29:04 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2360
2361 * config.table: Make *-*-hiux* use mh-hpux.
2362
2363 Fri Oct 22 07:53:15 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2364
2365 * config.table: Add * to end of all OS names.
2366
2367 Tue Oct 19 17:12:01 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
2368
2369 * Makefile.in (lneeded-list): ensure that object file names are
2370 not duplicated, as multiple instances of the same object file in
2371 a library causes problems on some machines
2372
2373 Mon Oct 18 21:59:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2374
2375 * strcasecmp.c, strncasecmp.c: Change u_char to unsigned char.
2376
2377 Fri Oct 15 22:17:11 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
2378
2379 * strncasecmp.c: new file, implements strncasecmp
2380 * strcasecmp.c: new file, implement strcasecmp
2381
2382 * Makefile.in (CFILES): list these two new source files
2383
2384 * functions.def: add strcasecmp and strncasecmp entries
2385
2386 Fri Oct 15 14:53:05 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2387
2388 * strtoul.c (strtoul), strtol.c (strtol): Handle overflow
2389 according to ANSI C.
2390
2391 Thu Oct 14 16:34:19 1993 Kung Hsu (kung@cirdan.cygnus.com)
2392
2393 * cplus-dem.c: add support of ARM global constructor/destructor,
2394 and 'G' for passing record or union in parameter.
2395
2396 Wed Oct 13 13:36:19 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2397
2398 * Makefile.in: Fix comment to clarify that stuff in REQUIRED_OFILES
2399 should not be in functions.def.
2400
2401 Wed Oct 13 13:13:38 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
2402
2403 * functions.def: Removed xmalloc. Stuff in REQUIRED_OFILES should
2404 not be in functions.def.
2405
2406 Mon Oct 4 18:26:39 1993 Kung Hsu (kung@cirdan.cygnus.com)
2407
2408 * cplus-dem.c: change globl constructor/destructor to proper name
2409
2410 Tue Sep 28 18:11:07 1993 Kung Hsu (kung@cirdan.cygnus.com)
2411
2412 * cplus-dem.c: fix bug in constructor/destructor
2413
2414 Tue Sep 28 16:20:49 1993 Kung Hsu (kung@cirdan.cygnus.com)
2415
2416 * cplus-dem.c: support both old and new _vt$... vtbl mangled names
2417
2418 Fri Sep 24 19:07:16 1993 Jason Merrill (jason@deneb.cygnus.com)
2419
2420 * cplus-dem.c: Fix demangle_template prototype
2421
2422 Fri Sep 24 17:32:55 1993 Kung Hsu (kung@cirdan.cygnus.com)
2423
2424 * cplus-dem.c: fix template demangling
2425 * cplus-dem.c: fix const type demangling
2426 * cplus-dem.c: fix constructor/destructor, virtual table,
2427 qualifier, global constructor/destructor demangling
2428
2429 Wed Sep 1 23:13:11 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2430
2431 * strsignal.c, strerror.c: Use fully-bracketed initializer to
2432 keep gcc -Wall happy.
2433
2434 Fri Aug 27 10:30:09 1993 Jason Merrill (jason@deneb.cygnus.com)
2435
2436 * cplus-dem.c (do_type): Add CONSTS to make gcc happy with last
2437 patch.
2438
2439 Fri Aug 27 11:24:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2440
2441 Patch from Paul Flinders:
2442 * cplus-dem.c (do_type): Deal with arrays.
2443
2444 Tue Aug 24 14:23:50 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2445
2446 * cplus-dem.c (demangle_qualified: Deal with GNU format for more
2447 than 9 classes.
2448
2449 Wed Aug 18 19:50:29 1993 Jason Merrill (jason@deneb.cygnus.com)
2450
2451 * Makefile.in (dummy.o): Redirect to /dev/null to avoid "variable
2452 not initialized" warnings under HP/UX
2453
2454 Sun Aug 15 20:42:40 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2455
2456 * strerror.c: Move include of stdio.h after sys_errlist #define.
2457 Also remove NULL definition (stdio.h always defines NULL, so it
2458 never did anything but clutter up the code).
2459
2460 Sat Aug 14 14:21:49 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
2461
2462 * Makefile.in, functions.def: handle xmalloc.c
2463
2464 * xmalloc.c: provide xmalloc and xrealloc functions
2465
2466 Thu Aug 12 17:38:57 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2467
2468 * cplus-dem.c: Fix a comment.
2469
2470 Sat Aug 7 13:56:35 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2471
2472 * getopt1.c: Declare const the way getopt.c does.
2473
2474 Fri Aug 6 17:03:13 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2475
2476 * obstack.c, alloca.c: Update from FSF.
2477 * getopt.c, getopt1.c: Update to current FSF version, which
2478 doesn't use alloca.
2479
2480 Tue Jul 27 14:03:57 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
2481
2482 * Makefile.in (demangle): Add the target with a message saying
2483 where demangle went.
2484
2485 Mon Jul 26 15:49:54 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2486
2487 * Makefile.in: Remove obsolete `demangle' target.
2488
2489 Thu Jul 22 08:31:01 1993 Fred Fish (fnf@deneb.cygnus.com)
2490
2491 * cplus-dem.c (arm_special): Apply patch from arg@lucid.com to
2492 avoid infinite loop on vtbl symbols with disambiguating "junk"
2493 tacked on the end.
2494
2495 Mon Jul 19 14:10:37 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
2496
2497 * strsignal.c: work around some systems losing definitions of
2498 sys_siglist
2499
2500 * config/mh-lynxos: this system has a losing definition of
2501 sys_siglist
2502
2503 * config.table: use mh-lynxos for *-*-lynxos
2504
2505 Mon Jul 19 17:08:52 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
2506
2507 * config.table: Add support for HPPA BSD hosts.
2508
2509 * config/mh-hpbsd: New file.
2510
2511 Mon Jul 12 18:00:40 1993 K. Richard Pixley (rich@cygnus.com)
2512
2513 * Makefile.in (TAGS): make work when srcdir != objdir.
2514
2515 Sun Jun 27 15:35:31 1993 David J. Mackenzie (djm@thepub.cygnus.com)
2516
2517 * cplus-dem.c (main): Add long options, including --help and
2518 --version.
2519 (usage): New function from code in main.
2520
2521 Tue Jun 22 11:37:38 1993 Per Bothner (bothner@deneb.cygnus.com)
2522
2523 * config.table: New shell scipt, sourced by both ./configure,in
2524 and ../xiberty/configure.in, to avoid maintainance lossages.
2525 * configure.in and ../xiberty/configure.in: Use config.table.
2526
2527 * configure.in: Don't use mh-aix for AIX 3.2, only for 3.1.
2528 * configure.in: Map *-*-irix* (except irix4) to mh-sysv.
2529 * ../xiberty/configure.in: Update from ./configure.in.
2530
2531 Tue Jun 15 17:05:31 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2532
2533 * Makefile.in: remove parentdir support
2534
2535 Wed May 26 12:59:09 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2536
2537 * cplus-dem.c (xrealloc): Match definition with prototype.
2538
2539 Tue May 25 14:27:51 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2540
2541 * cplus-dem.c (demangle_prefix): Demangle cfront
2542 local variables as an extension to ARM demangling.
2543
2544 Fri May 21 09:53:57 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
2545
2546 * ieee-float.c: Don't require pointers to double to be aligned.
2547
2548 Tue May 18 17:12:10 1993 Fred Fish (fnf@cygnus.com)
2549
2550 (merge changes from dlong@cse.ucsc.edu)
2551 * cplus-dem.c (consume_count): Simplify.
2552 * cplus-dem.c (arm_pt, demangle_class_name): New functions.
2553 * cplus-dem.c (various): Calls to arm_pt, demangle_class_name.
2554
2555 * cplus-dem.c (xmalloc, xrealloc, strstr): Make extern decls into
2556 full prototypes.
2557 * cplus-dem.c (free): Add prototype.
2558 * cplus-dem.c (optable): Fully bracketize initializer.
2559
2560 Fri May 14 17:13:05 1993 Per Bothner (bothner@cygnus.com)
2561
2562 * cplus-dem.c: Whether initial underscores are stripped
2563 depends on the external variable prepends_underscore
2564 (which is generated by the binutils Makefile).
2565
2566 Fri May 14 07:32:20 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
2567
2568 * cplus-dem.c (mop_up, arm_special): Remove some unused variables.
2569
2570 Tue May 4 20:31:59 1993 Fred Fish (fnf@cygnus.com)
2571
2572 * cplus-dem.c (consume_count): Return zero if arg does not
2573 start with digit, and don't consume any input.
2574
2575 Tue May 4 08:10:28 1993 Jim Kingdon (kingdon@cygnus.com)
2576
2577 * Makefile.in (demangle): Use ${srcdir} not $^.
2578
2579 * strtod.c: New file, needed at least for BSD 4.3.
2580
2581 Sun May 2 11:30:42 1993 Fred Fish (fnf@cygnus.com)
2582
2583 * strsignal.c (sys_siglist): For ANSI compilations, type is
2584 "const char *const". Also remove conditionalization on __STDC__
2585 since const is defined away for non-ANSI.
2586
2587 Wed Apr 28 19:29:55 1993 Ken Raeburn (raeburn@deneb.cygnus.com)
2588
2589 * configure.in: Recognize *-*-hpux.
2590 * config/mh-hpux: New file.
2591
2592 Tue Apr 27 15:22:19 1993 Per Bothner (bothner@cygnus.com)
2593
2594 * tmpnam.c: Added ANSI tmpnam() function.
2595 * functions.def, Makefile.in: Update accordingly.
2596
2597 Tue Apr 27 13:38:38 1993 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2598
2599 * cplus-dem.c (demangle_function_name): Get the demangling of
2600 stop__1A right.
2601
2602 Fri Apr 16 23:48:24 1993 Jim Kingdon (kingdon at calvin)
2603
2604 * cplus-dem.c: Declare strstr return type.
2605
2606 Fri Mar 26 12:01:26 1993 Jim Kingdon (kingdon@cygnus.com)
2607
2608 * strsignal.c: Add some AIX signals.
2609
2610 Thu Mar 25 15:17:23 1993 Ian Lance Taylor (ian@cygnus.com)
2611
2612 * Makefile.in (MAKEOVERRIDES): Define to be empty.
2613
2614 Wed Mar 24 01:59:25 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
2615
2616 * Makefile.in: add installcheck & dvi targets
2617
2618 Thu Mar 18 14:05:44 1993 Per Bothner (bothner@rtl.cygnus.com)
2619
2620 * ieee-float.c: New file, moved from ../gdb (since it is
2621 needed by ../opcode/m68k-dis.c).
2622
2623 Tue Mar 2 17:47:31 1993 Fred Fish (fnf@cygnus.com)
2624
2625 * cplus-dem.c: Replace all references to cfront with ARM.
2626
2627 Fri Feb 26 00:17:07 1993 Per Bothner (bothner@rtl.cygnus.com)
2628
2629 * cplus-dem.c: Fix main program (when compiled with -DMAIN)
2630 to be more useful as a filter.
2631
2632 Sat Feb 20 21:41:39 1993 Brendan Kehoe (brendan@lisa.cygnus.com)
2633
2634 * Makefile.in (install_to_libdir, install_to_tooldir): Go into the
2635 destination directory before running $(RANLIB), in case that
2636 program tries to create a file in the current directory as part of
2637 its work.
2638
2639 Thu Feb 18 23:00:19 1993 John Gilmore (gnu@cygnus.com)
2640
2641 * strsignal.c (sys_siglist): Remove yet another *%^&%&$# "const"
2642 because BSD 4.4 lacks one. Isn't this fun?
2643
2644 Thu Feb 18 11:24:25 1993 Fred Fish (fnf@cygnus.com)
2645
2646 * cplus-dem.c (demangle_signature): Set func_done after
2647 demangling a template.
2648 * cplus-dem.c (demangle_template): Fix several small bugs
2649 in demangling GNU style templates.
2650 * cplus-dem.c (demangle_prefix): Fix for templates in GNU
2651 style constructors.
2652 * cplus-dem.c (gnu_special): Fix for templates in GNU style
2653 static data members.
2654
2655 Tue Feb 16 17:28:35 1993 Fred Fish (fnf@cygnus.com)
2656
2657 * cplus-dem.c (demangle_signature): Modify to include type
2658 modifiers like static and const in remembered types.
2659
2660 Thu Feb 11 22:20:47 1993 Fred Fish (fnf@cygnus.com)
2661
2662 * cplus-dem.c (demangled_qualified): Add new parameter that tells
2663 whether to prepend or append the qualifiers.
2664 * cplus-dem.c (string_prepends): Used now, remove #if 0.
2665 * cplus-dem.c (demangle_signature): Call demangle_qualified
2666 with prepending.
2667 * cplus_dem.c (gnu_special): Recognize static data members that
2668 use qualified names.
2669 * cplus-dem.c (demangle_qualified): Accumulate qualifiers in a
2670 temporary buffer and the prepend or append them to the result,
2671 as specified by the new "append" flag.
2672 * cplus-dem.c (do_type): Call demangled_qualified with
2673 appending.
2674
2675 Mon Dec 28 10:47:19 1992 Ken Raeburn (raeburn@cygnus.com)
2676
2677 * strsignal.c (signal_table): Now const.
2678 (init_signal_tables): Variable eip now points to const.
2679
2680 * strerror.c (error_table): Now const.
2681 (init_error_tables): Variable eip now points to const.
2682
2683 Tue Dec 15 15:36:50 1992 Per Bothner (bothner@cygnus.com)
2684
2685 * memchr.c (memchr): New (ANSI standard) function.
2686 * Makefile.in, functions.def: Added memchr.
2687 * Makefile.in (AR_FLAGS): Use rc instad of non-standard cq.
2688
2689 Wed Dec 2 22:49:10 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2690
2691 * getopt.c: remove use of USG around <alloca.h>, which never meant
2692 anything anyway
2693
2694 * config/mh-{aix,apollo68,ncr3000,sysv,sysv4}: removed definitions
2695 of USG and USGr4
2696
2697 Thu Nov 19 03:09:33 1992 Brendan Kehoe (brendan@lisa.cygnus.com)
2698
2699 * cplus-dem.c (demangle_fund_type): Recognize `w', a wide character;
2700 it's now a type according to the ANSI X3J16 working paper; output
2701 "wchar_t" for it.
2702 (demangle_template): Accept `w' as an integral type.
2703 (xmalloc, xrealloc): Use `char *', not `PTR'. Cast calls to their
2704 counterparts malloc and realloc to `char *'.
2705 (main): Exit with a 0 status.
2706 * Makefile.in (demangle): Don't expect the user to define
2707 DEMANGLE, instead force to be cplus-dem.c. Look in $(srcdir)/../include
2708 for demangle.h. Pass it any HDEFINES or XTRAFLAGS.
2709
2710 Wed Nov 18 18:56:20 1992 John Gilmore (gnu@cygnus.com)
2711
2712 * Makefile.in (AR_FLAGS): Avoid verbosity.
2713 * config/mh-sysv4: Remove AR_FLAGS override, use INSTALL=cp,
2714 replace USGr4 with HAVE_SYSCONF.
2715 * config/mh-solaris: Remove; mh-sysv4 works now.
2716 * getpagesize.c: Replace USGr4 with HAVE_SYSCONF.
2717 * configure.in: Simplify host matching table, remove separate
2718 solaris config file.
2719
2720 Sun Nov 15 09:35:16 1992 Fred Fish (fnf@cygnus.com)
2721
2722 * configure.in (i[34]86-*-solaris2*): Add, use mh-sysv4.
2723
2724 Tue Nov 3 21:27:03 1992 Brendan Kehoe (brendan@cygnus.com)
2725
2726 * cplus-dem.c (xmalloc, xrealloc): Add decls.
2727 (remember_type): Don't cast xmalloc.
2728 (string_need): Likewise; don't cast xrealloc either.
2729
2730 Fri Oct 23 08:52:01 1992 Ian Lance Taylor (ian@cygnus.com)
2731
2732 * Makefile.in, functions.defs, rename.c: added simple
2733 implementation of rename, since some binutils programs use it.
2734
2735 Thu Oct 15 15:18:22 1992 Per Bothner (bothner@cygnus.com)
2736
2737 * strsignal.c: Add appropriate 'const' to sys_siglist
2738 extern declaration (if __STDC__). (Needed for Linux.)
2739 * strsignal.c (strsignal): Add cast to remove const-ness.
2740
2741 Fri Oct 9 03:22:55 1992 John Gilmore (gnu@cygnus.com)
2742
2743 * Makefile.in (needed.awk, needed2.awk): Remove erroneous \'s
2744 before "'s, diagnosed by BSD 4.4 awk.
2745
2746 Thu Oct 8 15:25:12 1992 Ian Lance Taylor (ian@cygnus.com)
2747
2748 * Makefile.in: create config.h and needed-list through $(CONFIG_H)
2749 and $(NEEDED_LIST), to give some hooks for xiberty.
2750
2751 Thu Oct 1 23:31:42 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2752
2753 * configure.in: use cpu-vendor-triple instead of nested cases
2754
2755 Wed Sep 30 11:26:59 1992 Per Bothner (bothner@rtl.cygnus.com)
2756
2757 * Makefile.in, argv.c, basename.c, bcmp.c, bcopy.c, bzero.c,
2758 concat.c, cplus-dem.c, fdmatch.c, getcwd.c, getopt.c, getopt1.c,
2759 getpagesize.c, insque.c, memcmp.c, memcpy.c, memmove.c, memset.c,
2760 obstack.c, sigsetmask.c, spaces.c, strchr.c, strerror.c,
2761 strrchr.c, strsignal.c, strstr.c, vfork.c, vsprintf.c:
2762 Convert from using GPL to LGPL.
2763
2764 Sat Sep 26 04:01:30 1992 John Gilmore (gnu@cygnus.com)
2765
2766 * Makefile.in (errors): Leave dummy.o and dummy around so that
2767 we can see how the needed list was generated (it's sometimes wrong).
2768 (mostlyclean): Remove them.
2769
2770 Mon Sep 21 14:50:42 1992 Ian Lance Taylor (ian@cygnus.com)
2771
2772 * getcwd.c: supply a default if MAXPATHLEN is not defined.
2773
2774 * config/mh-irix4: set EXTRA_OFILES to alloca.o, from WRS.
2775
2776 Wed Sep 9 12:41:48 1992 Ian Lance Taylor (ian@cygnus.com)
2777
2778 * Makefile.in: Use XTRAFLAGS when compiling, so that xiberty works
2779 when cross-compiling.
2780
2781 Thu Sep 3 13:29:39 1992 K. Richard Pixley (rich@sendai.cygnus.com)
2782
2783 * cplus-dem.c: (demangle_prefix): reduction in strength of strstr
2784 as a time optimization.
2785
2786 * cplus-dem.c (cplus_demangle): remove strpbrk test. Appears to
2787 be more expensive than simply demangling.
2788
2789 * cplus-dem.c (cplus_match): new function.
2790
2791 Tue Sep 1 15:24:04 1992 Per Bothner (bothner@rtl.cygnus.com)
2792
2793 * cplus-dem.c: #include <stdio.h>, to define NULL.
2794 Define current_demangling_style.
2795
2796 Sun Aug 30 17:58:19 1992 Per Bothner (bothner@rtl.cygnus.com)
2797
2798 * cplus-dem.c: New file, moved from ../gdb.
2799 * cplus-dem.c (set_cplus_marker_for_demangling): New exported
2800 function, to avoid compiling in target-dependency for CPLUS_MARKER.
2801 * cplus-dem.c (cplus_demangle): Allow demangling style option
2802 to be passed as a parameter, but using the global variable
2803 current_demangling_style as a default.
2804 * Makefile.in: Update for cplus-dem.c
2805
2806 Sat Aug 29 10:44:09 1992 Fred Fish (fnf@cygnus.com)
2807
2808 * obstack.c: Merge in comment changes from FSF version. Now
2809 matches the FSF version exactly.
2810
2811 Fri Aug 28 18:39:08 1992 John Gilmore (gnu@cygnus.com)
2812
2813 * obstack.c (CALL_FREEFUN): Can't use ?: with void values (at
2814 least on losing DECstations!); use if-then-else instead.
2815
2816 Wed Aug 19 14:40:34 1992 Ian Lance Taylor (ian@cygnus.com)
2817
2818 * Makefile.in: always create installation directories.
2819
2820 Mon Aug 10 17:33:40 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
2821
2822 * Makefile.in: clean up definition of CFILES, more comments
2823
2824 Sat Aug 8 23:10:59 1992 Fred Fish (fnf@cygnus.com)
2825
2826 * getopt.c (my_index): Make first arg const to match strchr,
2827 which it sometimes is remapped to.
2828
2829 Sat Aug 1 13:48:50 1992 Fred Fish (fnf@cygnus.com)
2830
2831 * obstack.c (DEFAULT_ALIGNMENT): Update to match FSF version.
2832 * obstack.c (_obstack_begin): Initialize use_extra_arg.
2833 * obstack.c (_obstack_begin_1): New, from FSF version.
2834
2835 Mon Jul 20 21:07:58 1992 Fred Fish (fnf@cygnus.com)
2836
2837 * obstack.c (CALL_CHECKFUN, CALL_FREEFUN): Use use_extra_arg and
2838 extra_arg.
2839 * obstack.c (_obstack_begin): Remove area_id and flags arguments
2840 (previously added for mmalloc support, interface has changed).
2841 Also convert flags usage to use use_extra_arg and maybe_empty_object.
2842
2843 Fri Jul 10 00:41:53 1992 Fred Fish (fnf@cygnus.com)
2844
2845 * argv.c: Move expandargv inline and eliminate static variables.
2846 Rewrite to always allocate in powers of two. Fix to return an
2847 argv with a single null string arg if passed a null string.
2848
2849 Fri Jul 3 20:27:29 1992 Fred Fish (fnf@cygnus.com)
2850
2851 * random.c, sigsetmask.c, strerror.c, strsignal.c: Remove
2852 "(void)" casts from function calls where the return value is
2853 ignored, in accordance with GNU coding standards.
2854
2855 Mon Jun 29 10:54:19 1992 Fred Fish (fnf at cygnus.com)
2856
2857 * bcopy.c, strerror.c, strsignal.c: Lint.
2858
2859 Thu Jun 25 09:18:41 1992 K. Richard Pixley (rich@rtl.cygnus.com)
2860
2861 * getopt.c: merge changes from make.
2862
2863 Thu Jun 25 04:43:22 1992 John Gilmore (gnu at cygnus.com)
2864
2865 * alloca.c: Incorporate fixes from gdb/alloca.c.
2866 FIXME: Eventually move gdb's alloca configuration files here,
2867 and remove gdb/alloca.c and its Makefile.in support.
2868
2869 Tue Jun 23 21:56:30 1992 Fred Fish (fnf@cygnus.com)
2870
2871 * dummy.c: Define NOTHING to /*nothing*/, change return type
2872 of main to int and return zero.
2873 * functions.def: Supply NOTHING as the fourth arg to macros
2874 that don't have an explicit arg, to satisfy picky preprocessors.
2875
2876 Wed Jun 17 18:13:58 1992 Per Bothner (bothner@rtl.cygnus.com)
2877
2878 * Makefile.in: Clean up *clean rules, as per standards.texi.
2879
2880 Tue Jun 16 16:11:59 1992 K. Richard Pixley (rich@rtl.cygnus.com)
2881
2882 * getopt.c, getopt1.c: merged largely gratuitous, mostly
2883 whitespace diffs from other prep distributions.
2884
2885 Mon Jun 15 12:25:46 1992 Fred Fish (fnf@cygnus.com)
2886
2887 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
2888 it is broken on ncr 3000's.
2889
2890 Mon Jun 15 01:03:26 1992 John Gilmore (gnu at cygnus.com)
2891
2892 * sigsetmask.c: Rewrite. Old one was very confused about its
2893 arguments and result. New one can't do much, but at least knows
2894 what it can't do, and it's good enough for GDB's use.
2895
2896 Sun Jun 14 15:17:40 1992 Stu Grossman (grossman at cygnus.com)
2897
2898 * functions.def: Use proper prototype for strtoul.
2899
2900 Fri Jun 12 19:22:40 1992 John Gilmore (gnu at cygnus.com)
2901
2902 * Makefile.in: Add random.c.
2903 * config/mh-*: Use "true" rather than "echo >/dev/null" for ranlib.
2904 * configure.in: update solaris2 config.
2905
2906 Wed Jun 10 16:31:29 1992 Fred Fish (fnf@cygnus.com)
2907
2908 * random.c: Add for random() and srandom().
2909 * functions.def: Add random
2910
2911 Tue Jun 9 17:27:18 1992 Fred Fish (fnf@cygnus.com)
2912
2913 * config/{mh-ncr3000, mh-sysv4}: Add definition for INSTALL
2914 using /usr/ucb/install.
2915
2916 Mon Jun 1 13:20:17 1992 Per Bothner (bothner@rtl.cygnus.com)
2917
2918 * strerror.c: Kludge to guard against a conflict with
2919 possible declaration of sys_errlist in errno.h.
2920
2921 Sun May 31 15:07:47 1992 Mark Eichin (eichin at cygnus.com)
2922
2923 * configure.in, config/mh-solaris: add solaris2 config support.
2924
2925 Fri May 29 17:23:23 1992 Per Bothner (bothner@rtl.cygnus.com)
2926
2927 * sigsetmask.c: #ifdef out sigsetmask if SIG_SETMASK
2928 is not defined (should be defined in signal.h, says Posix.).
2929
2930 Mon May 18 17:35:04 1992 K. Richard Pixley (rich@cygnus.com)
2931
2932 * getopt.c: merged changes from make-3.62.11.
2933
2934 Fri May 8 14:53:07 1992 K. Richard Pixley (rich@cygnus.com)
2935
2936 * getopt.c: merged changes from bison-1.18.
2937
2938 Tue May 5 11:51:40 1992 Per Bothner (bothner@rtl.cygnus.com)
2939
2940 * Makefile.in: Don't have $(EXTRA_OFILES) depend on config.h,
2941 since that introduces a circular dependency.
2942 ($(EXTRA_OFILES) are used to build config.h.)
2943
2944 * strtoul.c: Fixes to handle non-decimal bases better.
2945
2946 Wed Apr 22 09:27:51 1992 Fred Fish (fnf@cygnus.com)
2947
2948 * config/mh-ncr3000: Replace MINUS_G with CFLAGS.
2949 * Makefile.dos: Finish MINUS_G eradication.
2950 * Makefile.in (CFILES): Add strsignal.c.
2951 * Makefile.in (REQUIRED_OFILES): Add strerror.o strsignal.o
2952 * Makefile.in (needed-list): Split creation of errors file to
2953 separate make target.
2954 * Makefile.in (config.h, needed2.awk, errors): New targets.
2955 * Makefile.in (clean): Split to multiple lines, add needed2.awk
2956 and config.h.
2957 * dummy.c (DEFFUNC, DEFVAR): Add defines and undefs.
2958 * functions.def (strerror): Remove from optional list.
2959 * functions.def (sys_nerr, sys_errlist, sys_siglist): DEFVAR's
2960 * functions.def (strerror, psignal): DEFFUNC's
2961 * strerror.c: Rewrite from scratch to use sys_errlist only if
2962 available, add errno_max(), add strerrno(), add strtoerrno(),
2963 add test driver.
2964 * strsignal.c: New file, signal equivalent to strerror.c.
2965 Uses sys_siglist if available, defines signo_max(), strsignal(),
2966 strsigno(), strtosigno(), psignal(), and test driver.
2967
2968 Mon Apr 20 20:49:32 1992 K. Richard Pixley (rich@cygnus.com)
2969
2970 * Makefile.in: do not print recursion line.
2971
2972 * Makefile.in: allow CFLAGS to be passed in from command line.
2973 Removed MINUS_G. Default CFLAGS to -g.
2974
2975 Mon Apr 20 12:57:46 1992 Per Bothner (bothner@rtl.cygnus.com)
2976
2977 * config/mh-aix: New. EXTRA_OFILES lists copysign.o,
2978 so libg++ users don't have to be inconvenienced by a
2979 libc.a bug (libc.a needs copysign, but doesn't define it!).
2980 * configure.in: Use config/mh-aix.
2981 * strtoul.c: Handle '-' as required by ANSI.
2982 Clean up radix handling.
2983 * strstr.c: Fix buggy algorithm.
2984 * Makefile.in: Change so that ${EXTRA_OFILES} is
2985 appended to needed-list (which is used by libg++).
2986
2987 Fri Apr 10 22:51:41 1992 Fred Fish (fnf@cygnus.com)
2988
2989 * configure.in: Recognize new ncr3000 config.
2990 * config/mh-ncr3000: New config file.
2991
2992 Wed Apr 1 23:31:43 1992 John Gilmore (gnu at cygnus.com)
2993
2994 * argv.c, dummy.c: Lint.
2995
2996 Tue Mar 31 18:46:44 1992 Fred Fish (fnf@cygnus.com)
2997
2998 * config/mh-sysv4: New config file.
2999 * configure.in (host_makefile_frag): Set to config/mh-sysv4 for
3000 host_os == sysv4.
3001 * getpagesize.c: For SVR4, use sysconf(_SC_PAGESIZE) to get
3002 pagesize.
3003
3004 Sun Mar 29 12:26:42 1992 John Gilmore (gnu at cygnus.com)
3005
3006 * getopt.c: Lint.
3007
3008 Fri Mar 27 08:32:55 1992 Fred Fish (fnf@cygnus.com)
3009
3010 * functions.def (alloca): Fix return type and args to avoid
3011 type clash with gcc's builtin alloca.
3012
3013 Tue Mar 24 23:33:42 1992 K. Richard Pixley (rich@cygnus.com)
3014
3015 * configure.in, config/mh-irix4: irix4 support.
3016
3017 * Makefile.in, functions.def, alloca.c: added alloca.
3018
3019 Tue Mar 24 17:34:46 1992 Stu Grossman (grossman at cygnus.com)
3020
3021 * obstack.c (CALL_FREEFUN): Make it compile on DECstations.
3022
3023 Thu Mar 19 13:57:42 1992 Fred Fish (fnf@cygnus.com)
3024
3025 * argv.c: Fix various external function definitions to be
3026 correct in an ANSI compilation environment.
3027
3028 Sat Mar 14 17:28:17 1992 Fred Fish (fnf@cygnus.com)
3029
3030 * obstack.c: Changes to support calling mmalloc functions,
3031 which take an additional argument over malloc functions.
3032
3033 Fri Mar 6 22:01:10 1992 K. Richard Pixley (rich@cygnus.com)
3034
3035 * added check target.
3036
3037 Thu Feb 27 22:19:39 1992 Per Bothner (bothner@cygnus.com)
3038
3039 * argv.c: #include alloca-conf.h (needed by AIX).
3040
3041 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
3042
3043 * Makefile.in, configure.in: removed traces of namesubdir,
3044 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
3045 copyrights to '92, changed some from Cygnus to FSF.
3046
3047 Sat Feb 22 01:09:21 1992 Stu Grossman (grossman at cygnus.com)
3048
3049 * argv.c: Check in Fred's version which fixes problems with
3050 alloca().
3051
3052 Fri Feb 7 21:46:08 1992 Stu Grossman (grossman at cygnus.com)
3053
3054 * makefile.dos: Remove NUL to keep patch from failing.
3055
3056 Thu Jan 30 22:48:41 1992 Stu Grossman (grossman at cygnus.com)
3057
3058 * getopt.c (_getopt_internal): Fix usage of enum has_arg.
3059
3060 Mon Jan 20 18:53:23 1992 Stu Grossman (grossman at cygnus.com)
3061
3062 * getopt.c, getopt1.c, ../include/getopt.h: Get latest versions.
3063
3064 Sat Jan 18 16:53:01 1992 Fred Fish (fnf at cygnus.com)
3065
3066 * argv.c: New file to build and destroy standard argument
3067 vectors from a command string.
3068
3069 * Makefile.in: Add argv.c and argv.o to appropriate macros.
3070
3071 Fri Dec 20 12:12:57 1991 Fred Fish (fnf at cygnus.com)
3072
3073 * configure.in: Change svr4 references to sysv4.
3074
3075 * rindex.c: Declare return type of externally used function
3076 strrchr().
3077
3078 Thu Dec 19 18:35:03 1991 John Gilmore (gnu at cygnus.com)
3079
3080 * Makefile.in: Remove "***" in normal output, since Make produces
3081 this on errors, and it's convenient to search for.
3082
3083 Tue Dec 17 23:21:30 1991 Per Bothner (bothner at cygnus.com)
3084
3085 * memcmp.c, memcpy.c, memmove.c, memset.c, strchr.c, strrchr.c:
3086 New ANSI functions. The old non-ANSI functions (such as bcopy)
3087 should be avoided.
3088 * bcopy.c: Fix to correctly handle overlapping regions.
3089 * index.c, rindex.c: Re-write in terms of strchr() and strrchr().
3090 * functions.def: Add the new functions.
3091 * functions.def: Add 4th parameter to DEF macro,
3092 an ansidecl.h-style prototype.
3093 * dummy.c: Use expanded DEF macro to create a dummy function
3094 call, with correct parameter types. (This avoids some
3095 complaints from gcc about predefined builtins.)
3096
3097 Move the functionality of config/mh-default into Makefile.in.
3098 This avoid duplication, and simplifies things slightly.
3099 * Makefile.in: Tweak so we don't need config/mh-default.
3100 * README: Update.
3101 * configure.in: No longer need config/mh-default.
3102 * config/mh-default: Deleted.
3103 * config/mh-sysv: Remove lines copied from old mh-default.
3104
3105 Tue Dec 17 05:46:46 1991 John Gilmore (gnu at cygnus.com)
3106
3107 * fdmatch.c (fdmatch): Don't compare st_rdev, which is for
3108 'mknod' device numbers.
3109
3110 Mon Dec 16 12:25:34 1991 Fred Fish (fnf at cygnus.com)
3111
3112 * fdmatch.c, Makefile.in: Add new function that takes two
3113 open file descriptors and returns nonzero if they refer to
3114 the same file, zero otherwise. (used in gdb)
3115
3116 Wed Dec 11 17:40:39 1991 Steve Chamberlain (sac at rtl.cygnus.com)
3117 From DJ:
3118 * msdos.c: stub functions for dos.
3119 * makefile.dos, configdj.bat: new.
3120 * getopt.c: Don't include alloca-conf.h in a GO32 world.
3121
3122
3123 Tue Dec 10 04:14:49 1991 K. Richard Pixley (rich at rtl.cygnus.com)
3124
3125 * Makefile.in: infodir belongs in datadir.
3126
3127 Fri Dec 6 23:26:45 1991 K. Richard Pixley (rich at rtl.cygnus.com)
3128
3129 * Makefile.in: remove spaces following hyphens because bsd make
3130 can't cope. added standards.text support. install using
3131 INSTALL_DATA.
3132
3133 * configure.in: remove commontargets as it is no longer a
3134 recognized hook.
3135
3136 Thu Dec 5 22:46:46 1991 K. Richard Pixley (rich at rtl.cygnus.com)
3137
3138 * Makefile.in: idestdir and ddestdir go away. Added copyrights
3139 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
3140 and mandir now keyed off datadir by default.
3141
3142 Fri Nov 22 19:15:29 1991 John Gilmore (gnu at cygnus.com)
3143
3144 * Makefile.in: find-needed.awk does not fit in 14 chars.
3145
3146 * Makefile.in: Suppress error checking when compiling the test
3147 program, because Ultrix make/sh aborts there due to a bug.
3148
3149 Fri Nov 22 12:23:17 1991 Per Bothner (bothner at cygnus.com)
3150
3151 * Makefile.in: Re-did how EXTRA_OFILES is used to be more useful.
3152 * README: Explained how the auto-configuration works,
3153 and how to add new files and/or configurations.
3154
3155 Fri Nov 22 09:45:23 1991 John Gilmore (gnu at cygnus.com)
3156
3157 * strtoul.c: Avoid defining ULONG_MAX if already defined;
3158 cast a const char * to char * for pedants.
3159
3160 * getopt.c: Only define "const" after local include files get to,
3161 and only if they haven't defined it.
3162
3163 Thu Nov 21 16:58:53 1991 John Gilmore (gnu at cygnus.com)
3164
3165 * getcwd.c (remove getwd.c): GNU code should call getcwd(). We
3166 emulate it with getwd() if available. This avoids callers having
3167 to find a MAXPATHLEN or PATH_MAX value from somewhere.
3168 * Makefile.in, functions.def: getwd->getcwd.
3169 * configure.in: Use generic case for every system.
3170 * config/mh-{delta88,mach,rs6000,svr4}: Remove.
3171 * config/mh-sysv: Use default handling, just add -DUSG.
3172
3173 Thu Nov 14 10:58:05 1991 Per Bothner (bothner at cygnus.com)
3174
3175 * Makefile.in, config/mh-default: Re-do make magic
3176 so that for the default ("automatic") mode we only
3177 compile the files we actually need. Do this using
3178 a recursive make: The top-level generates the list
3179 of needed files (loosely, the ones missing in libc),
3180 and then passes that list to the recursive make.
3181 * config/mh-mach: Remove obsolete STRERROR-{C,O} macros.
3182
3183 Tue Nov 12 19:10:57 1991 John Gilmore (gnu at cygnus.com)
3184
3185 RS/6000 host support (grumble).
3186
3187 * configure.in: Build alloca-conf.h file from alloca-norm.h
3188 (everything else) or alloca-botch.h (rs/6000).
3189 * Makefile.in: Include . on the include path.
3190 * getopt.c: Use alloca-conf.h.
3191 * alloca-norm.h: How to declare alloca on reasonable machines.
3192 * alloca-botch.h: How to declare alloca on braindead machines.
3193
3194 Tue Nov 12 09:21:48 1991 Fred Fish (fnf at cygnus.com)
3195
3196 * concat.c : New file, like concat() in gdb but can take a
3197 variable number of arguments rather than fixed at 3 args. For
3198 now, client applications must supply an xmalloc(), which is a
3199 front end function to malloc() that deals with out-of-memory
3200 conditions.
3201
3202 * Makefile.in: Add concat.c and concat.o to appropriate macros.
3203
3204 Sat Nov 9 13:29:59 1991 Fred Fish (fnf at cygnus.com)
3205
3206 * config/mh-svr4: Add sigsetmask to list of required functions.
3207
3208 Sun Nov 3 11:57:56 1991 Per Bothner (bothner at cygnus.com)
3209
3210 * vsprintf.c: New file.
3211 * functions.def, Makefile.in: Add vsprintf.
3212
3213 Sun Oct 27 16:31:22 1991 John Gilmore (gnu at cygnus.com)
3214
3215 * configure.in, config/mh-rs6000: Add rs/6000 host support.
3216 * Makefile.in: Compile with debug info.
3217
3218 Fri Oct 25 17:01:12 1991 Per Bothner (bothner at cygnus.com)
3219
3220 * Makefile.in, configure.in, and new files: dummy.c, functions.def,
3221 config/mf-default: Added a default configuration mode,
3222 which includes into libiberty.a functions that are "missing" in libc.
3223 * strdup.c, vprintf.c, vfprintf.c: New files.
3224
3225 Thu Oct 24 02:29:26 1991 Fred Fish (fnf at cygnus.com)
3226
3227 * config/hmake-svr4: New file.
3228
3229 * config/hmake-sysv: Add HOST_CFILES and HOST_OFILES.
3230
3231 * basename.c, bcmp.c, bcopy.c, bzero.c, getpagesize.c getwd.c,
3232 index.c, insque.c, rindex.c, spaces.c, strstr.c, vfork.c: New
3233 files containing either portable C versions or emulations using
3234 native library calls.
3235
3236 * strerror.c: Add copyright, internal documentation, etc.
3237
3238 * strtol.c: Replace hardwired hex constants with some more
3239 portable macros. Remove illegal (according to gcc) cast.
3240
3241 * strtoul.c: Replace hardwired hex constant with more portable
3242 macro.
3243
3244 * Makefile.in: Move TARGETLIB and CFLAGS where makefile fragments
3245 can override them. Add new source and object file names to CFILES
3246 and OFILES respectively.
3247
3248 * configure.in: Add support for SVR4 makefile fragments.
3249
3250 Tue Oct 22 19:00:23 1991 Steve Chamberlain (steve at cygnus.com)
3251
3252 * Makefile.in: Move RANLIB, AR and AR_FLAGS to where they can be
3253 over-ridden by config/hmake-*
3254 * configure.in: added m88kcvs to sysv list
3255
3256 Fri Oct 4 01:29:08 1991 John Gilmore (gnu at cygnus.com)
3257
3258 * Makefile.in: Most hosts need strerror, but one or two don't,
3259 and they override these definitions in the host-dependent makefile
3260 fragment.
3261 * config/hmake-mach: The odd man out on strerror -- it's supplied.
3262 * strerror.c: New file.
3263
3264 * strtol.c, strtoul.c: Add strtol to libiberty, since Mach lacks
3265 it and bfd uses it.
3266 * configure.in, Makefile.in, config/hmake-mach: Only configure
3267 strtol & strotoul in on Mach.
3268
3269 Tue Sep 3 06:36:23 1991 John Gilmore (gnu at cygint.cygnus.com)
3270
3271 * obstack.c: Merge with latest FSF version.
3272
3273 \f
3274 Local Variables:
3275 version-control: never
3276 End: