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