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