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