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