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