* hppa.h (pa_opcodes): Replace 'f' by 'v'. Prefix float register args
[deliverable/binutils-gdb.git] / libiberty / ChangeLog
CommitLineData
08372f14
ILT
11999-08-03 Ian Lance Taylor <ian@zembu.com>
2
3 * floatformat.c: Add casts to avoid signed/unsigned warnings.
4 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
5
6 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
7 $(TARGETLIB)n so it works on MSDOS.
8 (install_to_tooldir): Likewise.
9
9c8ac5a9
ILT
101999-07-21 Ian Lance Taylor <ian@zembu.com>
11
12 From Mark Elbrecht:
13 * makefile.dos: Remove; obsolete.
8f36e47c 14 * configure.bat: Remove; obsolete.
9c8ac5a9 15
35ca97ea
RH
161999-07-14 Richard Henderson <rth@cygnus.com>
17
18 * argv.c: Include stdlib.h and string.h instead of
19 prototyping directly.
20 * choose-temp.c: Conditionally include string.h.
21
af32ff69
ILT
221999-07-11 Ian Lance Taylor <ian@zembu.com>
23
24 * splay-tree.c (splay_tree_insert): Add initialization to avoid
25 warning.
26
e9868447
JB
271999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
28
29 * cplus-dem.c (main): Use table lookup to distinguish identifier
30 characters from non-identifier characters.
31 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
32
33fbbfbc
RH
33Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
34
35 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
36 * getruntime.c: Only attempt to include sys/resource.h and
37 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
38 are defined.
39
252b5132
RH
401999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
41
42 Fix from Dale Hawkins:
43 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
44 reallocated properly if we use it again.
45
46 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
47 stricter about syntax. Always null-terminate string.
48
49 Fix from Marcus Daniels:
50 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
51 identifier looking for another underscore.
52
c1687039
ILT
53Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
54
55 * configure.in (checkfuncs): Check for sbrk.
56 * config.in: Rebuilt.
57 * configure: Likewise.
58 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
59
252b5132
RH
601999-04-11 Richard Henderson <rth@cygnus.com>
61
62 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
63 or <alloca.h>.
64 * clock.c (GNU_HZ): New definition.
65 (clock): Use it.
66 * getruntime.c: Likewise.
67
68 * config.table: Use mh-beos.
69 * config/mh-beos: New file.
70
711999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
72
73 * cplus-dem.c: Attempt to handle overflows in counts with some
74 semblance of grace.
75 (consume_count): Detect overflows. Return -1 to indicate errors,
76 instead of zero.
77 (demangle_template_value_parm, demangle_template): Handle change
78 to consume_count's return convention.
79
80Thu Apr 8 14:43:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
81
82 * xmalloc.c, pexecute.c: Define __CYGWIN__ when being compiled
83 with old __CYGWIN32__ compiler.
84
851999-04-02 Mark Mitchell <mark@codesourcery.com>
86
87 * splay-tree.h (splay_tree_compare_pointers): Define.
88
891999-03-30 Mark Mitchell <mark@codesourcery.com>
90
91 * splay-tree.c (splay_tree_compare_ints): Define.
92
931999-03-30 Tom Tromey <tromey@cygnus.com>
94
95 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
96 don't advance input pointer.
97 (demangle_class_name): If consume_count didn't find a count, do
98 nothing. Don't bother with `strlen' sanity check; consume_count
99 does it for us.
100
1011999-03-16 Stan Shebs <shebs@andros.cygnus.com>
102
103 From Art Haas <ahaas@neosoft.com>:
104 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
105 when doing arm or hp style.
106 (demangle_nested_args): Decr forgetting_types field when done.
107
108Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
109
110 * pexecute.c (__CYGWIN32__): Rename to
111 (__CYGWIN__): this.
112 * xmalloc.c: Likewise.
113
114 Changes to support i386-pc-uwin.
115 * configure.in (*-*-uwin*): Workaround for vfork bug.
116 * configure: Regenerate.
117 * pexecute.c (pexecute): Be like standard Unix.
118 (pwait): Likewise.
119 * xmalloc.c (first_break): Define.
120 (xmalloc_set_program_name): Use.
121 (xmalloc): Use.
122
123Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
124
125 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
126
127Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
128
129 * config.table: Check cygwin*, not cygwin32*.
130
131Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
132
133 * Makefile.in: Change mkstemp -> mkstemps.
134
135Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
136
137 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
138 * configure.in (funcs): Check for and conditionally add mkstemps to
139 the list of functions libiberty will provide.
140 * configure: Rebuilt.
141
142Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
143
144 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
145 platforms that don't have HZ.
146 * getruntime.c (HZ): Likewise.
147
148Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
149
150 * Makefile.in (xstrdup.o): Depend on config.h.
151
152Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
153
154 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
155 freeing it.
156
157Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
158
159 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
160
161Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
162
163 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
164 splay-tree.o.
165
1661999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
167
168 * configure.in: Require autoconf 2.12.1 or higher.
169
1701998-12-30 Michael Meissner <meissner@cygnus.com>
171
172 * random.c (NULL): Don't redefine NULL if it is already defined.
173
174Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
175
176 * argv.c (buildargv): Cast the result of alloca in assignment.
177
178 * choose-temp.c: Include stdlib.h.
179
180 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
181 (snarf_numeric_literal): Constify first parameter.
182 (code_for_qualifier): Avoid a gcc extension, make the parameter an
183 int, not a char.
184 (demangle_qualifier): Likewise.
185 (demangle_signature): Cast the argument of a ctype function to
186 unsigned char.
187 (arm_pt): Add parens around assignment used as truth value.
188 (demangle_arm_hp_template): Constify variable `args'.
189 (do_hpacc_template_const_value): Cast the argument of a ctype
190 function to unsigned char.
191 (do_hpacc_template_literal): Remove unused variable `i'.
192 (snarf_numeric_literal): Constify parameter `args'.
193 Cast the argument of a ctype function to unsigned char.
194
195 * floatformat.c (floatformat_to_double): Add explicit braces to
196 avoid ambiguous `else'.
197
198 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
199 `cstart' and `cend' to unsigned char. Cast the argument of macro
200 `FOLD', which uses ctype functions, to unsigned char.
201
202 * objalloc.c (free): Add prototype.
203
204Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
205
206 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
207
208Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
209
210 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
211 doesn't exist.
212 (do_hpacc_template_literal): remove unused variable `i'.
213
214Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
215
216 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
217 bumping the pointer we read from. Also prepend these codes,
218 as we do in other places.
219
2201998-12-18 Nick Clifton <nickc@cygnus.com>
221
222 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
223 'const char *' in order to match its usage when calling siblings.
224 (snarf_numeric_literal): Make first arg 'const char **' in order
225 to match usage.
226
227Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
228
229 * choose-temp.c: Don't check IN_GCC anymore.
230
231 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
232 * memchr.c (memchr): Likewise.
233 * memcpy.c (memcpy): Likewise.
234 * memmove.c (memmove): Likewise.
235
236 * mkstemp.c: Don't check IN_GCC anymore.
237 * pexecute.c: Likewise.
238 * splay-tree.c: Likewise.
239
240 * strchr.c (strchr): Use `const', not `CONST'.
241 * strrchr.c (strrchr): Likewise.
242 * strtol.c (strtol): Likewise.
243 * strtoul.c (strtoul): Likewise.
244
245Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
246 Elena Zannoni <ezannoni@cygnus.com>
247 Stan Shebs <shebs@cygnus.com>
248 Edith Epstein <eepstein@cygnus.com>
249 Andres MacLeod <amacleod@cygnus.com>
250 Satish Pai <pai@apollo.hp.com>
251
252 * HP aCC demangling support.
253 * cplus-dem.c
254 (main): Remove default to HP style demangling, set to EDG
255 demangling correctly when -edg specified; set the demangling style
256 when user specifies 'edg'. Set strip_underscore to
257 prepends_underscore, if not HPUXHPPA. Set
258 current_demangling_style to hp_demangling if HPUXHPPA. Set
259 current demangling style correctly if the switch is hp. Read
260 label correctly also in the HP style case.
261 (work_stuff): add temp_start field; add field for volatile member
262 function.
263 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
264 style for this case is the same as ARM.
265 (demangle_args): handle EDG_DEMANGLING style; support HP style.
266 (demangle_arm_hp_template): new function. (It was
267 demangle_arm_pt.); check and set value of temp_start field in
268 multiple places. Also, when ceching for end of template args,
269 check to see if at end of static member of template class.
270 (demangle_class): new local variable : save_class_name_end Don't
271 include template args in string defining class.
272 (demangle_class_name): use demangel_arm_hp_template.
273 (demangle_function_name): handle case where demangling style is
274 HP_DEMANGLING and currently point at an 'X' in the mangled name.
275 Handle EDG_DEMANGLING style. Handle constructor and destructor
276 ops for HP style.
277 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
278 styles. global destructor and constructor for HP style are same
279 as for ARM style. Same for local variables.
280 (demangle_qualified): handle EDG_DEMANGLING style.
281 (demangle_signature): add case for volatile member function. For
282 cases '1' - '9' : initialize the temp_start field to -1 and handle
283 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
284 and AUTO_DEMANGLING styles. If expecting a function and managed
285 to demangle the funct args, then handle the LUCID_DEMANGLING,
286 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
287 class name after "Lnnn_ in HP style case. HP style too needs to
288 forget types. _nnn is OK for HP style, so don't report failure.
289 (do_hpacc_template_const_value): new function. Handle template's
290 value param for HP/aCC.
291 (do_hpacc_template_literal): new function. Handle a template's
292 literal parameter for HP aCC.
293 (recursively_demangle): new function
294 (snarf_numeric_literal): new function.
295 (usage): add 'edg' to the list of demangling styles; add hp switch
296 to message.
297
298Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
299
300 * pexecute.c: Remove obsolete ifdefed cygwin code.
301
302Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303
304 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
305 * cplus-dem.c: Likewise. Conform to libiberty.h.
306 * pexecute.c: Likewise.
307 * splay-tree.c: Likewise.
308
3091998-11-25 Mike Stump <mrs@wrs.com>
310
311 * Makefile.in (splay-tree.o): Add config.h dependency.
312
313Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
314
315 * configure.in: Use AC_PREREQ(2.12.1).
316
3171998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
318
319 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
320
321Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
322
323 * mpw.c (mpw_access): Add missing parens.
324
325Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
326
327 * configure.in: Call AC_HEADER_SYS_WAIT.
328
329 * pexecute.c: Include sys/wait.h when !IN_GCC.
330
331Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
332
333 * pexecute.c: revert back to checking old Cygwin
334 preprocessor symbol until some time has passed.
335
336Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
337
338 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
339 since it will now support similar constructs.
340
341Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342
343 * configure.in: Check for calloc.
344
345 * calloc.c: New file.
346
347 * xmalloc.c (xcalloc): New function.
348
349Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
350
351 *cplus-dem.c (demangle_prefix): Use the last "__"
352 in the mangled name when looking for the signature. This allows
353 template names to begin with "__".
354
3551998-11-08 Mark Mitchell <mark@markmitchell.com>
356
357 * cplus-dem.c (type_kind_t): Add tk_reference.
358 (demangle_template_value_parm): Handle it.
359 (do_type): Use it for references, instead of tk_pointer.
360
361 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
362 not internal_cplus_demangle.
363
364Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
365
366 * choose-temp.c: Don't include gansidecl.h.
367 * mkstemp.c: Likewise.
368 * pexecute.c: Likewise.
369
370Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
371
372 * configure.in: detect cygwin* instead of cygwin32*
373 * configure: regenerate
374
375Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
376
377 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
378 whether to include config.h. Possibly include unistd.h in the
379 !IN_GCC case. Define VFORK_STRING as a printable function call
380 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
381 defined, include vfork.h. If VMS is defined, define vfork()
382 appropriately. Remove vfork check on USG, we're using autoconf.
383 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
384 locally what string to use.
385
3861998-10-26 Mark Mitchell <mark@markmitchell.com>
387
388 * splay-tree.c: Tweak include directives to make sure declarations of
389 xmalloc and free are available.
390
3911998-10-25 Mark Mitchell <mark@markmitchell.com>
392
393 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
394 anonymous namespaces.
395
3961998-10-23 Mark Mitchell <mark@markmitchell.com>
397
398 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
399 with type_quals.
400 (TYPE_UNQUALIFIED): New macro.
401 (TYPE_QUAL_CONST): Likewise.
402 (TYPE_QUAL_VOLATILE): Likewise.
403 (TYPE_QUAL_RESTRICT): Likewise.
404 (code_for_qualifier): New function.
405 (qualifier_string): Likewise.
406 (demangle_qualifier): Likewise.
407 (internal_cplus_demangle): Use them.
408 (demangle_signature): Likewise.
409 (demangle_template_value_parm): Likewise.
410 (do_type): Likewise.
411 (demangle_fund_type)): Likewise.
412
413Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
414
415 * splay-tree.c (splay_tree_foreach_helper): Make definition static
416 to match prototype.
417
4181998-10-21 Mark Mitchell <mark@markmitchell.com>
419
420 * splay-tree.c: New file.
421 * Makefile.in (CFILES): Add it.
422 (REQUIRED_OFILES): Likewise.
423 (splay-tree.o): Add dependencies.
424
425Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
426
427 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
428 range of 'K' index.
429
430Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
431
432 * choose-temp.c: Prototype mkstemps() when IN_GCC.
433
434 * cplus-dem.c (consume_count): Cast argument of ctype macro to
435 `unsigned char'.
436 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
437 comparing against one.
438 (cplus_mangle_opname): Likewise.
439 (demangle_integral_value): Cast argument of ctype macro to
440 `unsigned char'.
441 (demangle_template_value_parm): Likewise.
442 (demangle_template): Initialize variable `bindex'. Cast the
443 result of `strlen' to (int) when comparing against one. Remove
444 unused variable `start_of_value_parm'.
445 (demangle_class_name): Cast the result of `strlen' to (int) when
446 comparing against one.
447 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
448 (gnu_special): Likewise. Cast the result of `strlen' to (int)
449 when comparing against one.
450 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
451 (get_count): Likewise.
452 (do_type): Likewise. Cast the result of `strlen' to (int) when
453 comparing against one.
454 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
455 (demangle_function_name): Cast the result of `strlen' to (int)
456 when comparing against one.
457
458 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
459 comparing against one.
460
461Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
462
463 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
464 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
465 * config.in, configure: Rebuilt.
466
467 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
468 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
469 * config.in, configure: Rebuilt.
470
471Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
472
473 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
474
475Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
476
477 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
478
479Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
480
481 * Merge egcs & devo libiberty.
482