]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/ChangeLog
Makefile.in (gjavah.o): Depend on $(JAVA_TREE_H).
[thirdparty/gcc.git] / libiberty / ChangeLog
CommitLineData
ae7f7270
MM
11999-04-02 Mark Mitchell <mark@codesourcery.com>
2
3 * splay-tree.h (splay_tree_compare_pointers): Define.
4
30f72379
MM
51999-03-30 Mark Mitchell <mark@codesourcery.com>
6
7 * splay-tree.c (splay_tree_compare_ints): Define.
8
4cc48683
TT
91999-03-30 Tom Tromey <tromey@cygnus.com>
10
11 * cplus-dem.c (consume_count): If `count' wraps, return 0 and
12 don't advance input pointer.
13 (demangle_class_name): If consume_count didn't find a count, do
14 nothing. Don't bother with `strlen' sanity check; consume_count
15 does it for us.
16
89f602a7
MK
17Thu Mar 11 01:22:58 1999 Mumit Khan <khan@xraylith.wisc.edu>
18
19 * pexecute.c (__CYGWIN32__): Rename to
20 (__CYGWIN__): this.
21 * xmalloc.c: Likewise.
22
23 Changes to support i386-pc-uwin.
24 * configure.in (*-*-uwin*): Workaround for vfork bug.
25 * configure: Regenerate.
26 * pexecute.c (pexecute): Be like standard Unix.
27 (pwait): Likewise.
28 * xmalloc.c (first_break): Define.
29 (xmalloc_set_program_name): Use.
30 (xmalloc): Use.
31
9346c824
FS
32Thu Mar 11 01:07:55 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
33
34 * config.table: Cleanup and add mh-*pic handling for alpha, arm, powerpc
35
8ec65f13
DB
36Tue Feb 9 16:39:01 1999 Dave Brolley <brolley@cygnus.com>
37
38 * Makefile.in: Change mkstemp -> mkstemps.
39
687361c8
ME
40Tue Feb 9 01:12:27 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
41
42 * Makefile.in (REQUIRED_OFILES): remove mkstemp.o
43 * configure.in (funcs): Check for and conditionally add mkstemps to
44 the list of functions libiberty will provide.
45 * configure: Rebuilt.
46
b207e09c
MK
47Wed Feb 3 00:01:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
48
49 * clock.c (HZ): Define in terms of (ISO C) CLOCKS_PER_SEC on
50 platforms that don't have HZ.
51 * getruntime.c (HZ): Likewise.
52
16b4c15e
RH
53Sat Jan 30 13:28:04 1999 Richard Henderson <rth@cygnus.com>
54
55 * Makefile.in (xstrdup.o): Depend on config.h.
56
38beb75c
UD
57Wed Jan 13 07:26:44 1999 H.J. Lu (hjl@gnu.org)
58
59 * cplus-dem.c (mop_up): Set work->previous_argument to NULL after
60 freeing it.
61
7e4311a3
KG
62Wed Jan 13 14:16:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
63
64 * xstrdup.c (xstrdup): Switch from strcpy to memcpy for speed.
65
fb9939b8
MM
661998-12-30 Michael Meissner <meissner@cygnus.com>
67
68 * random.c (NULL): Don't redefine NULL if it is already defined.
69
087aa398
KG
70Tue Dec 22 09:43:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
71
72 * argv.c (buildargv): Cast the result of alloca in assignment.
73
74 * choose-temp.c: Include stdlib.h.
38beb75c 75
087aa398
KG
76 * cplus-dem.c (demangle_arm_pt): Remove unused prototype.
77 (snarf_numeric_literal): Constify first parameter.
78 (code_for_qualifier): Avoid a gcc extension, make the parameter an
79 int, not a char.
80 (demangle_qualifier): Likewise.
81 (demangle_signature): Cast the argument of a ctype function to
82 unsigned char.
83 (arm_pt): Add parens around assignment used as truth value.
84 (demangle_arm_hp_template): Constify variable `args'.
85 (do_hpacc_template_const_value): Cast the argument of a ctype
86 function to unsigned char.
87 (do_hpacc_template_literal): Remove unused variable `i'.
88 (snarf_numeric_literal): Constify parameter `args'.
89 Cast the argument of a ctype function to unsigned char.
90
91 * floatformat.c (floatformat_to_double): Add explicit braces to
92 avoid ambiguous `else'.
38beb75c 93
087aa398
KG
94 * fnmatch.c (fnmatch): Change type of variables `c', `c1',
95 `cstart' and `cend' to unsigned char. Cast the argument of macro
96 `FOLD', which uses ctype functions, to unsigned char.
97
98 * objalloc.c (free): Add prototype.
99
21f2174d
HPN
100Sun Dec 20 16:03:46 1998 Hans-Peter Nilsson <hp@axis.se>
101
102 * Makefile.in (CFILES): Fix typo: splay-tree.c, not splay-tree.o
103
e8fc8222
AM
104Fri Dec 18 16:11:43 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
105
106 * cplus-dem.c (demangle_fund_type): Process CV and u codes before
107 bumping the pointer we read from. Also prepend these codes,
108 as we do in other places.
109
11a0bb74
KG
110Mon Dec 14 09:55:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
111
112 * choose-temp.c: Don't check IN_GCC anymore.
113
114 * floatformat.c (floatformat_from_double): Use `const', not `CONST'.
115 * memchr.c (memchr): Likewise.
116 * memcpy.c (memcpy): Likewise.
117 * memmove.c (memmove): Likewise.
38beb75c 118
11a0bb74
KG
119 * mkstemp.c: Don't check IN_GCC anymore.
120 * pexecute.c: Likewise.
121 * splay-tree.c: Likewise.
38beb75c 122
11a0bb74
KG
123 * strchr.c (strchr): Use `const', not `CONST'.
124 * strrchr.c (strrchr): Likewise.
125 * strtol.c (strtol): Likewise.
126 * strtoul.c (strtoul): Likewise.
127
70d5ccef
DT
128Fri Dec 4 13:51:04 1998 David Taylor <taylor@texas.cygnus.com>
129 Elena Zannoni <ezannoni@cygnus.com>
130 Stan Shebs <shebs@cygnus.com>
131 Edith Epstein <eepstein@cygnus.com>
132 Andres MacLeod <amacleod@cygnus.com>
133 Satish Pai <pai@apollo.hp.com>
134
135 * HP aCC demangling support.
136 * cplus-dem.c
137 (main): Remove default to HP style demangling, set to EDG
138 demangling correctly when -edg specified; set the demangling style
139 when user specifies 'edg'. Set strip_underscore to
140 prepends_underscore, if not HPUXHPPA. Set
141 current_demangling_style to hp_demangling if HPUXHPPA. Set
142 current demangling style correctly if the switch is hp. Read
143 label correctly also in the HP style case.
144 (work_stuff): add temp_start field; add field for volatile member
145 function.
146 (arm_pt): handle ARM_DEMANGLING and EDG_DEMANGLING styles; HP
147 style for this case is the same as ARM.
148 (demangle_args): handle EDG_DEMANGLING style; support HP style.
149 (demangle_arm_hp_template): new function. (It was
150 demangle_arm_pt.); check and set value of temp_start field in
151 multiple places. Also, when ceching for end of template args,
152 check to see if at end of static member of template class.
153 (demangle_class): new local variable : save_class_name_end Don't
154 include template args in string defining class.
155 (demangle_class_name): use demangel_arm_hp_template.
156 (demangle_function_name): handle case where demangling style is
157 HP_DEMANGLING and currently point at an 'X' in the mangled name.
158 Handle EDG_DEMANGLING style. Handle constructor and destructor
159 ops for HP style.
160 (demangle_prefix): handle EDG_DEMANGLING and ARM_DEMANGLING
161 styles. global destructor and constructor for HP style are same
162 as for ARM style. Same for local variables.
163 (demangle_qualified): handle EDG_DEMANGLING style.
164 (demangle_signature): add case for volatile member function. For
165 cases '1' - '9' : initialize the temp_start field to -1 and handle
166 the EDG_DEMANGLING style. for case 'F' : handle EDG_DEMANGLING
167 and AUTO_DEMANGLING styles. If expecting a function and managed
168 to demangle the funct args, then handle the LUCID_DEMANGLING,
169 ARM_DEMANGLING, and EDG_DEMANGLING styles. Add case for local
170 class name after "Lnnn_ in HP style case. HP style too needs to
171 forget types. _nnn is OK for HP style, so don't report failure.
172 (do_hpacc_template_const_value): new function. Handle template's
173 value param for HP/aCC.
174 (do_hpacc_template_literal): new function. Handle a template's
175 literal parameter for HP aCC.
176 (recursively_demangle): new function
177 (snarf_numeric_literal): new function.
178 (usage): add 'edg' to the list of demangling styles; add hp switch
179 to message.
180
8d525fa8
CF
181Sat Nov 28 17:25:22 1998 Christopher Faylor <cgf@cygnus.com>
182
183 * pexecute.c: Remove obsolete ifdefed cygwin code.
184
9b1a92d8
KG
185Fri Nov 27 13:26:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
186
187 * choose-temp.c: Always include libiberty.h. Avoid redundancies.
188 * cplus-dem.c: Likewise. Conform to libiberty.h.
189 * pexecute.c: Likewise.
190 * splay-tree.c: Likewise.
191
c85c3232
MS
1921998-11-25 Mike Stump <mrs@wrs.com>
193
194 * Makefile.in (splay-tree.o): Add config.h dependency.
195
35a6cd99
KG
196Mon Nov 23 16:59:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
197
198 * configure.in: Use AC_PREREQ(2.12.1).
199
6e6e34b7
BK
2001998-11-16 Benjamin Kosnik <bkoz@haight.constant.com>
201
202 * cplus-dem.c (demangle_fund_type): Add demangling for C9x types.
203
59b67c11
JL
204Thu Nov 19 22:15:50 1998 Jeffrey A Law (law@cygnus.com)
205
206 * mpw.c (mpw_access): Add missing parens.
207
a6458d1d
KG
208Thu Nov 19 12:59:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
209
210 * configure.in: Call AC_HEADER_SYS_WAIT.
211
212 * pexecute.c: Include sys/wait.h when !IN_GCC.
213
a9acf741
KG
214Fri Nov 13 19:18:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
215
216 * configure.in: Check for calloc.
217
218 * calloc.c: New file.
219
220 * xmalloc.c (xcalloc): New function.
221
a49fb37a
AM
222Fri Nov 13 08:51:46 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
223
224 *cplus-dem.c (demangle_prefix): Use the last "__"
225 in the mangled name when looking for the signature. This allows
226 template names to begin with "__".
227
0e714131
MM
2281998-11-08 Mark Mitchell <mark@markmitchell.com>
229
ec2288ff
MM
230 * cplus-dem.c (type_kind_t): Add tk_reference.
231 (demangle_template_value_parm): Handle it.
232 (do_type): Use it for references, instead of tk_pointer.
233
0e714131
MM
234 * cplus-dem.c (demangle_template_value_parm): Use cplus_demangle,
235 not internal_cplus_demangle.
236
2931b6d4
KG
237Sat Nov 7 16:02:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
238
239 * choose-temp.c: Don't include gansidecl.h.
240 * mkstemp.c: Likewise.
241 * pexecute.c: Likewise.
242
dd8f3ed5
GN
243Mon Nov 2 15:05:33 1998 Geoffrey Noer <noer@cygnus.com>
244
245 * configure.in: detect cygwin* instead of cygwin32*
246 * configure: regenerate
247
c5f7c445
KG
248Mon Nov 2 10:22:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
249
250 * pexecute.c: Check HAVE_CONFIG_H, not IN_GCC, when determining
251 whether to include config.h. Possibly include unistd.h in the
252 !IN_GCC case. Define VFORK_STRING as a printable function call
253 for error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
254 defined, include vfork.h. If VMS is defined, define vfork()
255 appropriately. Remove vfork check on USG, we're using autoconf.
256 (pexecute): Set `errmsg_fmt' to VFORK_STRING instead of checking
257 locally what string to use.
258
ad3ef78e
MM
2591998-10-26 Mark Mitchell <mark@markmitchell.com>
260
261 * splay-tree.c: Tweak include directives to make sure declarations of
262 xmalloc and free are available.
263
224301c1
MM
2641998-10-25 Mark Mitchell <mark@markmitchell.com>
265
266 * cplus-dem.c (gnu_special): Fix handling of virtual tables in
267 anonymous namespaces.
38beb75c 268
d9db46fd
MM
2691998-10-23 Mark Mitchell <mark@markmitchell.com>
270
271 * cplus-dem.c (work_stuff): Replace const_type and volatile_type
272 with type_quals.
273 (TYPE_UNQUALIFIED): New macro.
274 (TYPE_QUAL_CONST): Likewise.
275 (TYPE_QUAL_VOLATILE): Likewise.
276 (TYPE_QUAL_RESTRICT): Likewise.
277 (code_for_qualifier): New function.
278 (qualifier_string): Likewise.
279 (demangle_qualifier): Likewise.
280 (internal_cplus_demangle): Use them.
281 (demangle_signature): Likewise.
282 (demangle_template_value_parm): Likewise.
283 (do_type): Likewise.
284 (demangle_fund_type)): Likewise.
224301c1 285
b056ad1c
KG
286Thu Oct 22 19:58:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
287
288 * splay-tree.c (splay_tree_foreach_helper): Make definition static
289 to match prototype.
290
ed87f9c8
MM
2911998-10-21 Mark Mitchell <mark@markmitchell.com>
292
293 * splay-tree.c: New file.
294 * Makefile.in (CFILES): Add it.
295 (REQUIRED_OFILES): Likewise.
296 (splay-tree.o): Add dependencies.
297
e0c13971
AS
298Tue Oct 20 12:29:02 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
299
300 * cplus-dem.c (demangle_qualified): Fix off-by-one when checking
301 range of 'K' index.
302
91e0f659
KG
303Thu Oct 15 18:51:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
304
305 * choose-temp.c: Prototype mkstemps() when IN_GCC.
306
307 * cplus-dem.c (consume_count): Cast argument of ctype macro to
308 `unsigned char'.
309 (cplus_demangle_opname): Cast the result of `strlen' to (int) when
310 comparing against one.
311 (cplus_mangle_opname): Likewise.
312 (demangle_integral_value): Cast argument of ctype macro to
313 `unsigned char'.
314 (demangle_template_value_parm): Likewise.
315 (demangle_template): Initialize variable `bindex'. Cast the
316 result of `strlen' to (int) when comparing against one. Remove
317 unused variable `start_of_value_parm'.
318 (demangle_class_name): Cast the result of `strlen' to (int) when
319 comparing against one.
320 (demangle_prefix): Cast argument of ctype macro to `unsigned char'.
321 (gnu_special): Likewise. Cast the result of `strlen' to (int)
322 when comparing against one.
323 (demangle_qualified): Cast argument of ctype macro to `unsigned char'.
324 (get_count): Likewise.
325 (do_type): Likewise. Cast the result of `strlen' to (int) when
326 comparing against one.
327 (demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
328 (demangle_function_name): Cast the result of `strlen' to (int)
329 when comparing against one.
330
331 * mkstemp.c (mkstemps): Cast variable `len' to (int) when
332 comparing against one.
333
73aeb2ff
JL
334Tue Oct 13 23:51:51 1998 Jeffrey A Law (law@cygnus.com)
335
ae76f1be
JL
336 * mkstemp.c: Check HAVE_SYS_TIME_H before including sys/time.h
337 * configure.in (AC_CHECK_HEADERS): Check for sys/time.h too.
338 * config.in, configure: Rebuilt.
339
73aeb2ff
JL
340 * getopt.c: Check HAVE_STRINGS_H before including strings.h.
341 * configure.in (AC_CHECK_HEADERS): Check for strings.h too.
342 * config.in, configure: Rebuilt.
343
dd8f3ed5
GN
344Mon Oct 12 19:15:59 1998 Geoffrey Noer <noer@cygnus.com>
345
346 * configure.in: in comment, call AC_EXEEXT instead of AM_EXEEXT
347
f77d8413
MT
348Sun Oct 11 17:36:06 1998 Michael Tiemann <tiemann@holodeck.cygnus.com>
349
350 * Makefile.in (cplus-dem.o, obstack.o): Depend upon config.h.
351
ca6b370d
JL
352Thu Oct 8 23:42:08 1998 Jeffrey A Law (law@cygnus.com)
353
354 * Merge egcs & devo libiberty.
355
ab4856b1
ML
356