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