]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
ir.texi: Correct typo.
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
0b72c3df
AC
1Tue May 30 16:45:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * floatformat.c: Add name to each floatformat field.
4
270cea06
JL
5Tue May 30 15:07:52 2000 Jeffrey A Law (law@cygnus.com)
6
7 * Makefile.in (objalloc.o): Depend on config.h
8
d11ec6f0
ZW
92000-05-29 Zack Weinberg <zack@wolery.cumb.org>
10
11 * hashtab.c, partition.c, sort.c, xmemdup.c: Include string.h
12 if HAVE_STRING_H.
13 * pexecute.c, xexit.c: Include stdlib.h if HAVE_STDLIB_H.
14 * objalloc.c: Include config.h. Include stdlib.h and don't
15 declare malloc or free if HAVE_STDLIB_H.
16 * strerror.c, strsignal.c: Include stdlib.h if HAVE_STDLIB_H,
17 else declare malloc without prototype. Include string.h if
18 HAVE_STRING_H, else declare memset without prototype. Don't
19 include stddef.h.
20
f8e2da56
MS
212000-05-23 Mike Stump <mrs@wrs.com>
22
23 * Makefile.in (xmalloc.o): Add dependency for config.h, fixes make
24 -j3.
25
650f3068
DA
262000-05-18 J. David Anglin <dave@hiauly1.hia.nrc.ca>
27
28 * xmalloc.c: Include config.h for HAVE_SBRK definition.
29
1d2da2e1
HB
302000-05-16 Horst von Brand <vonbrand@sleipnir.valparaiso.cl>
31
32 * hashtab.c (hash_pointer): Delete low-order bits which are
33 probably zero, also eliminate a warning on alpha.
34
47668d0a
DE
352000-05-15 David Edelsohn <edelsohn@gnu.org>
36
c7a79a32 37 * Makefile.in: Change "pic" to depend on $(PICFLAG), not
47668d0a
DE
38 on $(enable_shared).
39
36348eab
JJ
402000-05-10 Jakub Jelinek <jakub@redhat.com>
41
42 * config.table: Use mh-sparcpic for sparc*-*-*.
43
209bbe34
NC
442000-05-08 Nick Clifton <nickc@cygnus.com>
45
46 * Makefile.in (CFILES): Add strncmp.c.
47 (NEEDED): Add strncmp.
48
a85a47fb
KG
492000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
50
51 * cplus-dem.c (cplus_demangle_opname, demangle_function_name):
52 Cast the arguments to `islower' to `unsigned char'.
53 (print_demangler_list): Prototype.
54
4aef973c
PDM
55Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
56
57 * sort.c (UCHAR_MAX): Provide fallback definition.
58
3b94497c
AO
592000-04-29 Alexandre Oliva <aoliva@cygnus.com>
60
61 * Makefile.in (maintainer-clean-subdir): Fix handling of empty
62 SUBDIRS.
63
24eaa47a
KB
642000-04-28 Kenneth Block <block@zk3.dec.com>
65 Jason Merrill <jason@casey.cygnus.com>
66
67 * cplus-dem.c (libiberty_demanglers): New table for demangle styles.
68 (cplus_demangle_set_style): New function for setting style.
69 (cplus_demangle_name_to_style): New function to translate name.
70
a9266bfa
KG
712000-04-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
72
73 * aclocal.m4: New file with new test libiberty_AC_FUNC_STRNCMP.
74
75 * configure.in (AC_CHECK_HEADERS): Add sys/mman.h fcntl.h.
76 (libiberty_AC_FUNC_STRNCMP): Invoke.
77
78 * strncmp.c: New file.
79
8e02c4d0
JH
80Thu Apr 27 16:58:43 MET DST 2000 Jan Hubicka <jh@suse.cz>
81
82 * hashtab.c (htab_expand): Add prototype.
83 (find_empty_slot_for_expand): Likewise.
84
4feeaae3
KG
852000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
86
87 * hashtab.c (hash_pointer, eq_pointer): Make definition static to
88 match prototype.
89 (htab_expand): Cast the return value of xcalloc.
90
18a94a2f
MM
912000-04-24 Mark Mitchell <mark@codesourcery.com>
92
93 * hashtab.c (hash_pointer): New function.
94 (eq_pointer): Likewise.
95 (htab_hash_pointer): New variable.
96 (htab_eq_pointer): Likewise.
97
eeb0656f
MM
982000-04-23 Mark Mitchell <mark@codesourcery.com>
99
b51024fc
MM
100 * sort.c (sort_pointers): Fix endianness bugs.
101
eeb0656f
MM
102 * sort.c: New file.
103 * Makefile.in (CFILES): Add sort.c
104 (REQUIRED_OFILES): Add sort.o.
105 (sort.o): New target.
106
7277f72d
MS
1072000-04-21 Michael Sokolov <msokolov@ivan.Harhan.ORG>
108
109 * Makefile.in (*-subdir): Revamp slightly to avoid losing on
110 4.3BSD systems.
111
e38992e8
RK
112Tue Apr 18 16:23:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
113
114 * hashtab.c: Various minor cleanups.
115 (htab_find_slot_with_hash): INSERT is now enum insert_option.
116 (htab_find_slot): Likewise.
117
498e1ab1
DP
1182000-04-16 Dave Pitts <dpitts@cozx.com>
119
120 * cplus-dem.c (cplus_demangle_opname): Changed to use islower.
121
dc17cc7b
RH
1222000-04-05 Richard Henderson <rth@cygnus.com>
123
124 * splay-tree.c (splay_tree_remove): New.
125
b13eb66b
MM
1262000-03-30 Mark Mitchell <mark@codesourcery.com>
127
128 * hashtab.c (find_empty_slot_for_expand): Use hashval_t for hash
129 codes.
130 (htab_find_with_hash): Likewise.
131 (htab_find_slot_with_hash): Likewise.
132
0194e877
ZW
1332000-03-29 Zack Weinberg <zack@wolery.cumb.org>
134
135 * hashtab.c (htab_find_with_hash): Avoid calculating hash2
136 unless it will be used. Rearrange loop for better
137 optimization.
138 (higher_prime_number): Add static prototype.
139
abc61fd4
JL
140Thu Mar 16 01:33:58 2000 Jeffrey A Law (law@cygnus.com)
141
142 * Makefile.in (partition.o): Depend on config.h
143
8c5d513f
BS
1442000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
145
146 * hashtab.c (find_empty_slot_for_expand): New function.
147 (htab_expand): Use it instead of htab_find_slot.
148 (htab_find_with_hash): Renamed from htab_find; now accepts extra
149 argument HASH.
150 (htab_find_slot_with_hash): Likewise for htab_find_slot.
151 (htab_find): New wrapper function.
152 (htab_find_slot): Likewise.
153 (htab_traverse): Pass slot, not entry, to called function.
154
d9d4fb43
AS
1552000-03-09 Alex Samuel <samuel@codesourcery.com>
156
157 * Makefile.in (CFILES): Add partition.c.
158 (REQUIRED_OFILES): Add partition.o.
159 (partition.o): New rule.
160 * partition.c: New file.
161
5dc9cffd
ZW
1622000-03-09 Zack Weinberg <zack@wolery.cumb.org>
163
164 * hashtab.c (htab_create): Set del_f.
165 (htab_delete, htab_empty, htab_remove_elt, htab_clear_slot):
166 Use it.
167
5194cf08
ZW
1682000-03-08 Zack Weinberg <zack@wolery.cumb.org>
169
170 * hashtab.c: Remove debugging variables (all_searches,
171 all_collisions, all_expansions). Delete
172 all_hash_table_collisions.
173 (create_hash_table, delete_hash_table, empty_hash_table,
174 find_hash_table_entry, remove_element_from_hash_table_entry,
175 clear_hash_table_slot, traverse_hash_table, hash_table_size,
176 hash_table_elements_number, hash_table_collisions): Rename to:
177 htab_create, htab_delete, htab_empty, htab_find_slot,
178 htab_remove_elt, htab_clear_slot, htab_traverse, htab_size,
179 htab_elements, htab_collisions.
180 (htab_find): New function, handles common case where you don't
181 plan to add or delete an entry.
182 (htab_expand): Don't create a whole new table, just a new
183 entry vector.
184 (htab_find_slot): Simplify logic.
185
5ad5a984
ILT
1861999-08-03 Ian Lance Taylor <ian@zembu.com>
187
188 * floatformat.c: Add casts to avoid signed/unsigned warnings.
189 * pexecute.c: Add ATTRIBUTE_UNUSED as needed on Unix.
190
191 * Makefile.in (install_to_libdir): Change $(TARGETLIB).n to
192 $(TARGETLIB)n so it works on MSDOS.
193 (install_to_tooldir): Likewise.
194
1951999-07-21 Ian Lance Taylor <ian@zembu.com>
196
197 From Mark Elbrecht:
198 * makefile.dos: Remove; obsolete.
199 * configure.bat: Remove; obsolete.
200
2011999-07-11 Ian Lance Taylor <ian@zembu.com>
202
203 * splay-tree.c (splay_tree_insert): Add initialization to avoid
204 warning.
205
aeecce42
MK
2062000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
207
208 * pexecute.c: Conditionally include string.h.
5194cf08 209 (fix_argv): Handle embedded whitespace in args for Mingw32.
aeecce42 210
1eaf7d9c
KG
2112000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
212
213 * configure.in (ac_libiberty_warn_cflags): Turn on warnings if
214 we're using gcc.
215
216 * Makefile.in (COMPILE.c): Add @ac_libiberty_warn_cflags@
217
0fadedb2
GK
2181999-12-27 Geoff Keating <geoffk@cygnus.com>
219
220 * vasprintf.c (int_vasprintf): Don't re-read the format character
221 as this mishandles strings like '%%s'.
222
08230f26
MM
2231999-12-05 Mark Mitchell <mark@codesourcery.com>
224
225 * splay-tree.c (splay_tree_new): Use struct splay_tree_node_s
226 rather than struct splay_tree_node.
227 (splay_tree_insert): Use struct splay_tree_s rather than struct
228 splay_tree.
229
6de9b8ff
PDM
230Sun Nov 28 00:59:39 1999 Philippe De Muyter <phdm@macqel.be>
231
232 * hashtab.c (sys/types.h): File included.
233
f3636679
JM
2341999-11-22 Jason Merrill <jason@casey.cygnus.com>
235
236 * strtoul.c, strtol.c, random.c: Remove advertising clause from
237 BSD license, pursuant with
238
239 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
240
36dd3a44
JL
241Wed Nov 10 09:42:39 1999 Jeffrey A Law (law@cygnus.com)
242
243 * hashtab.c: Include stdio.h.
244
6e300472
JL
245Mon Nov 8 09:23:41 1999 Jeffrey A Law (law@cygnus.com)
246
247 * hashtab.c (traverse_hash_table): Protect prototype with PARAMS.
248
df548dfc
PDM
249Tue Nov 2 03:23:13 1999 Philippe De Muyter <phdm@macqel.be>
250
251 * xstrdup (sys/types.h): Include this file.
252
2c375143
NS
2531999-10-28 Nathan Sidwell <nathan@acm.org>
254
255 * Makefile.in (SUBDIRS): New macro.
256 (mostlyclean, clean, distclean, maintainer-clean): Adjust to
257 avoid multiple subdirectory cleaning.
258 (*-subdir): Use SUBDIRS.
259
a82cecda
JK
2601999-10-25 Jim Kingdon <http://developer.redhat.com/>
261
262 * cplus-dem.c: Move declarations of standard_symbol_characters and
263 hp_symbol_characters inside #ifdef MAIN to avoid compiler
264 warnings.
265
ed38f5d5
ZW
2661999-10-23 08:51 -0700 Zack Weinberg <zack@bitmover.com>
267
268 * hashtab.c (find_hash_table_entry): When returning a
269 DELETED_ENTRY slot, change it to EMPTY_ENTRY first.
270 (clear_hash_table_slot): New function which deletes an entry
271 by its position in the table, not its value.
272 (traverse_hash_table): New function which calls a hook
273 function for every live entry in the table.
274
b60fe4a7
MM
2751999-10-19 Mark Mitchell <mark@codesourcery.com>
276
277 * cplus-dem.c (INTBUF_SIZE): New macro.
278 (string_append_template_idx): New function.
279 (demangle_expression): Likewise.
280 (demangle_integral_value): Use it.
281 (demangle_real_value): New function, split out from ...
282 (demangle_template_value_parm): ... here. Use
283 string_append_template_idx. Use demangle_real_value.
284 (demangle_template): Use string_append_template_idx.
285 (demangle_qualified): Use consume_count_with_underscores.
286 (get_count): Tweak formatting.
287 (do_type): Use string_append_template_idx.
5194cf08 288
3da5522a
KG
2891999-10-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
290
291 * calloc.c: Add a public domain notice.
292
d7d36ea8
PDM
293Mon Oct 18 02:30:47 1999 Philippe De Muyter <phdm@macqel.be>
294
295 * setenv.c (sys/types.h, stdio.h): Include those files unconditionaly.
296
a2f945c6
VM
297Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
298
299 * Makefile.in (CFILES): Add hashtab.c
300 (REQUIRED_OFILES): Add hashtab.o
301 (hashtab.o): Add dependencies.
302 * hashtab.c: New file
303
7f22ec2e
MK
304Wed Oct 13 01:16:47 1999 Mumit Khan <khan@xraylith.wisc.edu>
305
306 * basename.c (DIR_SEPARATOR): New macro.
307 (DIR_SEPARATOR_2): Likewise.
308 (HAVE_DOS_BASED_FILESYSTEM): Likewise.
309 (IS_DIR_SEPARATOR): Likewise.
310 (main): Handle MSDOS style pathname.
311
7c56a6ce
MM
3121999-10-11 Mark Mitchell <mark@codesourcery.com>
313
314 * cplus-dem.c (do_type): Handle pointer to member types whose
315 enclosing classes have namespace scope.
316
cd32188b
ME
317Sun Oct 10 01:23:50 1999 Marc Espie <espie@cvs.openbsd.org>
318
319 * config.table: Provide a backup shell for executing move-if-change.
320
fc232f7a
MM
3211999-10-02 Mark Mitchell <mark@codesourcery.com>
322
323 * xmalloc.c (xmalloc): Fix spelling error.
324 (xcalloc, xrealloc): Likewise.
325
2a138827
KG
3261999-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
327
328 * cplus-dem.c (fancy_abort, demangle_integral_value,
329 demangle_arm_hp_template, recursively_demangle,
330 standard_symbol_characters, hp_symbol_characters, main): Add prototype.
331 (program_name, program_version, fatal): Constify a char*.
332 (usage, fatal): Mark with ATTRIBUTE_NORETURN.
333 (main): Call return, not exit.
334
5a657fc3
KG
3351999-09-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
336
337 * choose-temp.c: Remove obsolete comment about gcc.
338 (make_temp_file): Constify a char*.
339
33c5ddcd
KG
340Wed Sep 8 20:03:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
341
342 * xmemdup.c: Include sys/types.h.
343
b10647f1
JG
3441999-09-07 Jeff Garzik <jgarzik@pobox.com>
345
346 * xmemdup.c: New xmemdup function.
347 * Makefile.in, makefile.vms, vmsbuild.com: Use xmemdup.[co].
348
3dd6c3af
LV
349Tue Sep 7 23:32:18 1999 Linas Vepstas <linas@linas.org>
350
5194cf08 351 * config.table: Add openedition target.
3dd6c3af
LV
352 * config/mh-openedition: New file.
353
19e28e2a
ME
354Thu Sep 2 01:36:12 1999 Marc Espie <espie@cvs.openbsd.org>
355
356 * pexecute.c (pexecute): Fill in temp_base when needed.
357
4dfeccf9
RH
3581999-08-31 Richard Henderson <rth@cygnus.com>
359
360 * getpwd.c: Check HAVE_GETCWD before defining it away.
361
4ac3cb83
KG
3621999-08-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
363
364 * Makefile.in (CFILES): Add calloc.c and getpwd.c.
365 (REQUIRED_OFILES): Add getpwd.o.
366 (getpwd.o): Add target.
367
368 * configure.in (AC_PREREQ): Bump to 2.13.
369 (AC_CHECK_HEADERS): Add check for <sys/stat.h>.
370
371 * getpwd.c: New file, moved here from gcc.
372
e797ff70
KG
3731999-08-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
374
375 * cplus-dem.c (gnu_special): Cast a `size_t' to `long' when
376 comparing against a signed quantity.
377 (arm_special): Likewise.
378 (demangle_fund_type): Likewise.
379 (do_hpacc_template_const_value): Mark parameter `work' with
5194cf08 380 ATTRIBUTE_UNUSED.
e797ff70
KG
381 (main): Constify variable `valid_symbols'.
382
55247fce
PDM
383Tue Aug 24 02:50:45 1999 Philippe De Muyter <phdm@macqel.be>
384
385 * strtoul.c (strtoul): Add parentheses around && within ||.
386
76632dd0
DJ
387Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
388
389 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
390 libdir, libsubdir and tooldir.
391
d080bbfa
MM
3921999-08-01 Mark Mitchell <mark@codesourcery.com>
393
394 * splay-tree.c (splay_tree_insert): Return the new node.
395
a81c752a
RH
3961999-07-14 Richard Henderson <rth@cygnus.com>
397
5194cf08 398 * argv.c: Include stdlib.h and string.h instead of
a81c752a
RH
399 prototyping directly.
400 * choose-temp.c: Conditionally include string.h.
401
8f1824d9
JM
4021999-07-12 Jason Merrill <jason@yorick.cygnus.com>
403
404 * Makefile.in (NEEDED): Add bcmp, bcopy, bzero.
405
652374d3
ILT
4061999-07-11 Ian Lance Taylor <ian@zembu.com>
407
408 * splay-tree.c (splay_tree_insert): Add initialization to avoid
409 warning.
410
a4494286
JM
4111999-07-07 Jason Merrill <jason@yorick.cygnus.com>
412
413 * Makefile.in (needed-list): Only include stuff we actually need
414 for libstdc++.
415
90e72e20
AS
4161999-06-21 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
417
418 * configure.in (checkfuncs): Add gettimeofday.
419 * config.in, configure: Regenerated.
420
b569200e
MK
421Mon Jun 21 05:56:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
422
423 * configure.in (*-*-uwin*): UWIN has sys_{errlist,nerr} even if
424 the test fails.
425 * configure: Regenerate.
426
73919448
MS
4271999-06-10 Mike Stump <mrs@wrs.com>
428
429 * Makefile.in (setenv.o): Add config.h dep for setenv.o to fix
430 parallel builds.
431
fee9125c
KG
4321999-05-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
433
434 * putenv.c: Include ansidecl.h to define `const'.
435 * setenv.c: Likewise.
436
71cce721
MN
437Wed May 26 03:58:20 1999 "Melissa O'Neill" <oneill@cs.sfu.ca>
438
a7c9637f
JL
439 * Makefile.in (CFILES): Add putenv.c and setenv.c.
440 * configure.in (funcs): Add putenv and setenv.
441 (AC_CHECK_FUNCS): Check for putenv and setenv.
442 * configure: Rebuilt.
443 * putenv.c setenv.c: New files.
444
71cce721
MN
445 * getcwd.c (getcwd): If pathname is NULL, then obtain SIZE
446 bytes of space using malloc.
447
53504016
SG
448Mon May 17 01:42:34 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
449
450 * cplus-dem.c (demangle_fund_type (near 'I' case)): Don't advance
451 the *mangled pointer beyond the end of the string. Clean up code to
452 match prevailing coding style.
453
34842539
MH
4541999-05-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
455
456 * tmpnam.c (L_tmpnam): Fix typo.
457
3a08531d
ME
458Thu May 13 01:14:46 1999 Marc Espie <espie@cvs.openbsd.org>
459
460 * cplus-dem.c (standard_symbol_characters): Renamed from
461 standard_symbol_alphabet. No longer modify TABLE.
462 (hp_symbol_characters): Renamed from hp_symbol_alphabet. No longer
463 modify TABLE.
464 (main): Corresponding changes. Use strchr to determine if a
465 character is valid.
466
8db9d08b
JB
4671999-05-11 Jim Blandy <jimb@zwingli.cygnus.com>
468
469 * cplus-dem.c (main): Use table lookup to distinguish identifier
470 characters from non-identifier characters.
471 (standard_symbol_alphabet, hp_symbol_alphabet): New functions.
472
6a071f4a
FF
473Thu May 6 20:34:42 1999 Fred Fish <fnf@be.com>
474
475 * configure.in (sys/resource.h): Add to AC_CHECK_HEADERS list.
476 * getruntime.c: Only attempt to include sys/resource.h and
477 use getrusage if both HAVE_GETRUSAGE and HAVE_SYS_RESOURCE_H
478 are defined.
479
7dd88617
DT
480Mon Apr 26 01:36:06 1999 Donn Terry (donn@interix.com)
481
482 * configure.in (alloca detection): Handle alloca directly for interix.
483 * configure: Rebuilt.
484
7a1528bc
MK
485Sun Apr 25 01:18:21 1999 Mumit Khan <khan@xraylith.wisc.edu>
486
487 * choose-temp.c (DIR_SEPARATOR): Use '\\' only for native windows32.
488
76409268
JB
4891999-04-20 Jim Blandy <jimb@zwingli.cygnus.com>
490
491 Fix from Dale Hawkins:
5194cf08 492 * cplus-dem.c (mop_up): Set typevec_size to zero, so it'll be
76409268
JB
493 reallocated properly if we use it again.
494
495 * cplus-dem.c (demangle_fund_type): Check for buffer overrun. Be
496 stricter about syntax. Always null-terminate string.
497
acbbd80a
MK
498Thu Apr 15 23:00:55 1999 Mumit Khan <khan@xraylith.wisc.edu>
499
500 * configure.in (checkfuncs): Check for sbrk.
501 * config.in: Rebuilt.
502 * configure: Likewise.
503 * xmalloc.c: Use HAVE_SBRK instead of the host specific definitions.
504
92523551
JB
5051999-04-12 Jim Blandy <jimb@zwingli.cygnus.com>
506
507 Fix from Marcus Daniels:
508 * cplus-dem.c (demangle_fund_type): Don't run off the end of the
509 identifier looking for another underscore.
510
36eb4217
MK
511Sun Apr 11 23:20:59 1999 Mumit Khan <khan@xraylith.wisc.edu>
512
513 * pexecute.c: Change all references to __UWIN__ to _UWIN.
514 * xmalloc.c: Likewise.
515 (xcalloc): UWIN has sbrk.
516 (xrealloc): Fix guard macro.
517
2c45d1a0
RH
5181999-04-11 Richard Henderson <rth@cygnus.com>
519
520 * alloca-conf.h (alloca) [C_ALLOCA]: Don't use Gcc builtin
521 or <alloca.h>.
522 * clock.c (GNU_HZ): New definition.
523 (clock): Use it.
524 * getruntime.c: Likewise.
525
526 * config.table: Use mh-beos.
527 * config/mh-beos: New file.
528
391cdef0
MM
5291999-04-11 Mark Mitchell <mark@codesourcery.com>
530
531 * cplus-dem.c (demangle_template_value_parm): Handle
532 pointers-to-members.
533 (do_type): Handle template parameters as qualifiers.
534
9d229989
JB
5351999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
536
537 * cplus-dem.c: Attempt to handle overflows in counts with some
538 semblance of grace.
539 (consume_count): Detect overflows. Return -1 to indicate errors,
540 instead of zero.
541 (demangle_template_value_parm, demangle_template): Handle change
542 to consume_count's return convention.
543
7c72138a
TT
5441999-04-05 Tom Tromey <tromey@cygnus.com>
545
546 * testsuite/regress-demangle: New file.
547 * testsuite/demangle-expected: New file.
548
549 * Makefile.in (all, check, installcheck, info, install-info,
550 clean-info, dvi, install, etags, tags, mostlyclean, clean,
551 distclean, maintainer-clean, realclean): Depend on corresponding
552 `-subdir' target.
553 (all-subdir check-subdir installcheck-subdir info-subdir
554 install-info-subdir clean-info-subdir dvi-subdir
555 install-info-subdir etags-subdir mostlyclean-subdir clean-subdir
556 distclean-subdir maintainer-clean-subdir): New target.
557 * testsuite/Makefile.in: New file.
558 * configure: Rebuilt.
559 * configure.in: Create testsuite/Makefile.
560
ae7f7270
MM
5611999-04-02 Mark Mitchell <mark@codesourcery.com>
562
563 * splay-tree.h (splay_tree_compare_pointers): Define.
564
30f72379
MM
5651999-03-30 Mark Mitchell <mark@codesourcery.com>
566
567 * splay-tree.c (splay_tree_compare_ints): Define.
568
4cc48683
TT
5691999-03-30 Tom Tromey <tromey@cygnus.com>
570
571 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
572 don't advance input pointer.
573 (demangle_class_name): If consume_count didn't find a count, do
574 nothing. Don't bother with `strlen' sanity check; consume_count
575 does it for us.
576
3510075c
JL
5771999-03-16 Stan Shebs <shebs@andros.cygnus.com>
578
579 From Art Haas <ahaas@neosoft.com>:
580 * cplus-dem.c (demangle_prefix): Don't grab all the '__' strings
581 when doing arm or hp style.
582 (demangle_nested_args): Decr forgetting_types field when done.
5194cf08 583
89f602a7
MK
584Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
585
586 * pexecute.c (__CYGWIN32__): Rename to
587 (__CYGWIN__): this.
588 * xmalloc.c: Likewise.
589
590 Changes to support i386-pc-uwin.
591 * configure.in (*-*-uwin*): Workaround for vfork bug.
592 * configure: Regenerate.
593 * pexecute.c (pexecute): Be like standard Unix.
594 (pwait): Likewise.
595 * xmalloc.c (first_break): Define.
596 (xmalloc_set_program_name): Use.
597 (xmalloc): Use.
598
9346c824
FS
599Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
600
601 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
602
3510075c
JL
603Sun Feb 28 22:30:44 1999 Geoffrey Noer <noer@cygnus.com>
604
605 * config.table: Check cygwin*, not cygwin32*.
606
8ec65f13
DB
607Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
608
609 * Makefile.in: Change mkstemp -> mkstemps.
610
687361c8
ME
611Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
612
613 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
614 * configure.in (funcs): Check for and conditionally add mkstemps to
615 the list of functions libiberty will provide.
616 * configure: Rebuilt.
5194cf08 617
b207e09c
MK
618Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
619
5194cf08 620 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
b207e09c
MK
621 platforms that don't have HZ.
622 * getruntime.c (HZ): Likewise.
623
16b4c15e
RH
624Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
625
626 * Makefile.in (xstrdup.o): Depend on config.h.
627
38beb75c
UD
628Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
629
630 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
631 freeing it.
632
7e4311a3
KG
633Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
634
635 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
636
3510075c
JL
637Tue Jan 5 15:58:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
638
639 * Makefile.in (CFILES): fix typo, splay-tree.c instead of
640 splay-tree.o.
641
6421999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
643
644 * configure.in: Require autoconf 2.12.1 or higher.
645
fb9939b8
MM
6461998-12-30 Michael Meissner <meissner@cygnus.com>
647
648 * random.c (NULL): Don't redefine NULL if it is already defined.
649
087aa398
KG
650Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
651
652 * argv.c (buildargv): Cast the result of alloca in assignment.
653
654 * choose-temp.c: Include stdlib.h.
38beb75c 655
087aa398
KG
656 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
657 (snarf_numeric_literal): Constify first parameter.
658 (code_for_qualifier): Avoid a gcc extension, make the parameter an
659 int, not a char.
660 (demangle_qualifier): Likewise.
661 (demangle_signature): Cast the argument of a ctype function to
662 unsigned char.
663 (arm_pt): Add parens around assignment used as truth value.
664 (demangle_arm_hp_template): Constify variable `args'.
665 (do_hpacc_template_const_value): Cast the argument of a ctype
666 function to unsigned char.
667 (do_hpacc_template_literal): Remove unused variable `i'.
668 (snarf_numeric_literal): Constify parameter `args'.
669 Cast the argument of a ctype function to unsigned char.
670
671 * floatformat.c (floatformat_to_double): Add explicit braces to
672 avoid ambiguous `else'.
38beb75c 673
087aa398
KG
674 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
675 `cstart' and `cend' to unsigned char. Cast the argument of macro
676 `FOLD', which uses ctype functions, to unsigned char.
677
678 * objalloc.c (free): Add prototype.
679
21f2174d
HPN
680Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
681
682 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
683
3510075c
JL
684Fri Dec 18 17:50:18 1998 David Taylor <taylor@texas.cygnus.com>
685
686 * cplus-dem.c (demangle_arm_pt): remove declaration -- function
687 doesn't exist.
688 (do_hpacc_template_literal): remove unused variable `i'.
5194cf08 689
e8fc8222
AM
690Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
691
692 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
693 bumping the pointer we read from. Also prepend these codes,
694 as we do in other places.
695
3510075c
JL
6961998-12-18 Nick Clifton <nickc@cygnus.com>
697
698 * cplus-dem.c (demangle_arm_hp_template): Make variable 'args' be
699 'const char *' in order to match its usage when calling siblings.
700 (snarf_numeric_literal): Make first arg 'const char **' in order
701 to match usage.
11a0bb74 702
f4f30aa1
JL
703Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
704
11a0bb74
KG
705 * choose-temp.c: Don't check IN_GCC anymore.
706
707 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
708 * memchr.c (memchr): Likewise.
709 * memcpy.c (memcpy): Likewise.
710 * memmove.c (memmove): Likewise.
38beb75c 711
11a0bb74
KG
712 * mkstemp.c: Don't check IN_GCC anymore.
713 * pexecute.c: Likewise.
714 * splay-tree.c: Likewise.
38beb75c 715
11a0bb74
KG
716 * strchr.c (strchr): Use `const', not `CONST'.
717 * strrchr.c (strrchr): Likewise.
718 * strtol.c (strtol): Likewise.
719 * strtoul.c (strtoul): Likewise.
720
70d5ccef
DT
721Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
722 Elena Zannoni <ezannoni@cygnus.com>
723 Stan Shebs <shebs@cygnus.com>
724 Edith Epstein <eepstein@cygnus.com>
725 Andres MacLeod <amacleod@cygnus.com>
726 Satish Pai <pai@apollo.hp.com>
727
728 * HP aCC demangling support.
729 * cplus-dem.c
730 (main): Remove default to HP style demangling, set to EDG
731 demangling correctly when -edg specified; set the demangling style
732 when user specifies 'edg'. Set strip_underscore to
733 prepends_underscore, if not HPUXHPPA. Set
734 current_demangling_style to hp_demangling if HPUXHPPA. Set
735 current demangling style correctly if the switch is hp. Read
736 label correctly also in the HP style case.
737 (work_stuff): add temp_start field; add field for volatile member
738 function.
739 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
740 style for this case is the same as ARM.
741 (demangle_args): handle EDG_DEMANGLING style; support HP style.
742 (demangle_arm_hp_template): new function. (It was
743 demangle_arm_pt.); check and set value of temp_start field in
744 multiple places. Also, when ceching for end of template args,
745 check to see if at end of static member of template class.
746 (demangle_class): new local variable : save_class_name_end Don't
747 include template args in string defining class.
748 (demangle_class_name): use demangel_arm_hp_template.
749 (demangle_function_name): handle case where demangling style is
750 HP_DEMANGLING and currently point at an 'X' in the mangled name.
751 Handle EDG_DEMANGLING style. Handle constructor and destructor
752 ops for HP style.
753 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
754 styles. global destructor and constructor for HP style are same
755 as for ARM style. Same for local variables.
756 (demangle_qualified): handle EDG_DEMANGLING style.
757 (demangle_signature): add case for volatile member function. For
758 cases '1' - '9' : initialize the temp_start field to -1 and handle
759 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
760 and AUTO_DEMANGLING styles. If expecting a function and managed
761 to demangle the funct args, then handle the LUCID_DEMANGLING,
762 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
763 class name after "Lnnn_ in HP style case. HP style too needs to
764 forget types. _nnn is OK for HP style, so don't report failure.
765 (do_hpacc_template_const_value): new function. Handle template's
766 value param for HP/aCC.
767 (do_hpacc_template_literal): new function. Handle a template's
768 literal parameter for HP aCC.
769 (recursively_demangle): new function
770 (snarf_numeric_literal): new function.
771 (usage): add 'edg' to the list of demangling styles; add hp switch
772 to message.
773
8d525fa8
CF
774Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
775
776 * pexecute.c: Remove obsolete ifdefed cygwin code.
777
9b1a92d8
KG
778Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
779
780 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
781 * cplus-dem.c: Likewise. Conform to libiberty.h.
782 * pexecute.c: Likewise.
783 * splay-tree.c: Likewise.
784
c85c3232
MS
7851998-11-25 Mike Stump <mrs@wrs.com>
786
787 * Makefile.in (splay-tree.o): Add config.h dependency.
788
35a6cd99
KG
789Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
790
791 * configure.in: Use AC_PREREQ(2.12.1).
792
6e6e34b7
BK
7931998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
794
5194cf08 795 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
6e6e34b7 796
59b67c11
JL
797Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
798
799 * mpw.c (mpw_access): Add missing parens.
800
a6458d1d
KG
801Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
802
803 * configure.in: Call AC_HEADER_SYS_WAIT.
804
805 * pexecute.c: Include sys/wait.h when !IN_GCC.
806
3510075c
JL
807Thu Nov 19 14:38:20 1998 Geoffrey Noer <noer@cygnus.com>
808
809 * pexecute.c: revert back to checking old Cygwin
810 preprocessor symbol until some time has passed.
811
812Wed Nov 18 08:52:26 1998 Christopher Faylor <cgf@cygnus.com>
813
814 * pexecute.c: Reorganize WIN32 case to accomodate Cygwin
815 since it will now support similar constructs.
816
a9acf741
KG
817Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
818
819 * configure.in: Check for calloc.
820
821 * calloc.c: New file.
822
823 * xmalloc.c (xcalloc): New function.
824
a49fb37a
AM
825Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
826
827 *cplus-dem.c (demangle_prefix): Use the last "__"
828 in the mangled name when looking for the signature. This allows
829 template names to begin with "__".
830
0e714131
MM
8311998-11-08 Mark Mitchell <mark@markmitchell.com>
832
ec2288ff
MM
833 * cplus-dem.c (type_kind_t): Add tk_reference.
834 (demangle_template_value_parm): Handle it.
835 (do_type): Use it for references, instead of tk_pointer.
836
0e714131
MM
837 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
838 not internal_cplus_demangle.
839
2931b6d4
KG
840Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
841
842 * choose-temp.c: Don't include gansidecl.h.
843 * mkstemp.c: Likewise.
844 * pexecute.c: Likewise.
845
dd8f3ed5
GN
846Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
847
5194cf08
ZW
848 * configure.in: detect cygwin* instead of cygwin32*
849 * configure: regenerate
dd8f3ed5 850
c5f7c445
KG
851Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
852
853 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
854 whether to include config.h. Possibly include unistd.h in the
855 !IN_GCC case. Define VFORK_STRING as a printable function call
856 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
857 defined, include vfork.h. If VMS is defined, define vfork()
858 appropriately. Remove vfork check on USG, we're using autoconf.
859 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
860 locally what string to use.
861
ad3ef78e
MM
8621998-10-26 Mark Mitchell <mark@markmitchell.com>
863
864 * splay-tree.c: Tweak include directives to make sure declarations of
865 xmalloc and free are available.
866
224301c1
MM
8671998-10-25 Mark Mitchell <mark@markmitchell.com>
868
869 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
870 anonymous namespaces.
38beb75c 871
d9db46fd
MM
8721998-10-23 Mark Mitchell <mark@markmitchell.com>
873
874 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
875 with type_quals.
876 (TYPE_UNQUALIFIED): New macro.
877 (TYPE_QUAL_CONST): Likewise.
878 (TYPE_QUAL_VOLATILE): Likewise.
879 (TYPE_QUAL_RESTRICT): Likewise.
880 (code_for_qualifier): New function.
881 (qualifier_string): Likewise.
882 (demangle_qualifier): Likewise.
883 (internal_cplus_demangle): Use them.
884 (demangle_signature): Likewise.
885 (demangle_template_value_parm): Likewise.
886 (do_type): Likewise.
887 (demangle_fund_type)): Likewise.
224301c1 888
b056ad1c
KG
889Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
890
891 * splay-tree.c (splay_tree_foreach_helper): Make definition static
892 to match prototype.
893
ed87f9c8
MM
8941998-10-21 Mark Mitchell <mark@markmitchell.com>
895
896 * splay-tree.c: New file.
897 * Makefile.in (CFILES): Add it.
898 (REQUIRED_OFILES): Likewise.
899 (splay-tree.o): Add dependencies.
900
e0c13971
AS
901Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
902
903 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
904 range of 'K' index.
905
91e0f659
KG
906Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
907
908 * choose-temp.c: Prototype mkstemps() when IN_GCC.
909
910 * cplus-dem.c (consume_count): Cast argument of ctype macro to
911 `unsigned char'.
912 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
913 comparing against one.
914 (cplus_mangle_opname): Likewise.
915 (demangle_integral_value): Cast argument of ctype macro to
916 `unsigned char'.
917 (demangle_template_value_parm): Likewise.
918 (demangle_template): Initialize variable `bindex'. Cast the
919 result of `strlen' to (int) when comparing against one. Remove
920 unused variable `start_of_value_parm'.
921 (demangle_class_name): Cast the result of `strlen' to (int) when
922 comparing against one.
923 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
924 (gnu_special): Likewise. Cast the result of `strlen' to (int)
925 when comparing against one.
926 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
927 (get_count): Likewise.
928 (do_type): Likewise. Cast the result of `strlen' to (int) when
929 comparing against one.
930 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
931 (demangle_function_name): Cast the result of `strlen' to (int)
932 when comparing against one.
933
934 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
935 comparing against one.
936
73aeb2ff
JL
937Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
938
5194cf08
ZW
939 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
940 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
941 * config.in, configure: Rebuilt.
ae76f1be 942
73aeb2ff
JL
943 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
944 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
945 * config.in, configure: Rebuilt.
946
dd8f3ed5
GN
947Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
948
5194cf08 949 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
dd8f3ed5 950
f77d8413
MT
951Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
952
953 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
954
ca6b370d
JL
955Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
956
957 * Merge egcs & devo libiberty.
958
ab4856b1
ML
959