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