ansidecl.h: Add extern "C" when compiling with C++.
[gcc.git] / include / ChangeLog
1 2009-05-31 Ian Lance Taylor <iant@google.com>
2
3 * ansidecl.h: Add extern "C" when compiling with C++. Treat C++
4 the way we treat an ISO C compiler. Don't define inline as a
5 macdro when compiling with C++.
6 * dyn-string.h: Add header guard DYN_STRING_H. Add extern "C"
7 when compiling with C++.
8 * fibheap.h: Add extern "C" when compiling with C++.
9
10 2009-04-22 Taras Glek <tglek@mozilla.com>
11
12 * hashtab.h: Update GTY annotations to new syntax.
13 * splay-tree.h: Likewise.
14
15 2009-03-17 Jason Merrill <jason@redhat.com>
16
17 * demangle.h (enum demangle_component_type): Add
18 DEMANGLE_COMPONENT_FUNCTION_PARAM.
19
20 2008-12-10 Jason Merrill <jason@redhat.com>
21
22 * demangle.h (enum demangle_component_type): Add
23 DEMANGLE_COMPONENT_FIXED_TYPE.
24
25 2008-11-19 Bob Wilson <bob.wilson@acm.org>
26
27 * xtensa-config.h (XCHAL_HAVE_MUL16, XCHAL_HAVE_MUL32, XCHAL_HAVE_DIV32)
28 (XCHAL_HAVE_MINMAX, XCHAL_HAVE_SEXT, XCHAL_HAVE_THREADPTR)
29 (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): Change to 1.
30 (XCHAL_NUM_AREGS): Change to 32.
31 (XCHAL_ICACHE_SIZE, XCHAL_DCACHE_SIZE): Change to 16K.
32 (XCHAL_ICACHE_LINESIZE, XCHAL_DCACHE_LINESIZE): Change to 32.
33 (XCHAL_ICACHE_LINEWIDTH, XCHAL_DCACHE_LINEWIDTH): Change to 5.
34 (XCHAL_DCACHE_IS_WRITEBACK): Change to 1.
35 (XCHAL_DEBUGLEVEL): Change to 6.
36
37 2008-10-21 Alan Modra <amodra@bigpond.net.au>
38
39 * obstack.h (obstack_finish <!__GNUC__>): Cast result to void *.
40
41 2008-10-06 Jason Merrill <jason@redhat.com>
42
43 * demangle.h (enum demangle_component_type): Add
44 DEMANGLE_COMPONENT_PACK_EXPANSION.
45
46 2008-09-09 Jason Merrill <jason@redhat.com>
47
48 * demangle.h (enum demangle_component_type): Add
49 DEMANGLE_COMPONENT_DECLTYPE.
50
51 2008-07-07 Joel Brobecker <brobecker@adacore.com>
52
53 * safe-ctype.h: Add #include of ctype.h before redefining
54 the ctype.h macros.
55
56 2008-07-04 Joel Brobecker <brobecker@adacore.com>
57
58 * safe-ctype.h: Remove #error when detecting that ctype.h has been
59 included. Redefine the various macros provided by ctype.h as
60 undefined variables.
61
62 2008-06-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
63
64 * libiberty.h (XALLOCA, XDUP, XALLOCAVEC, XDUPVEC, XALLOCAVAR,
65 XDUPVAR, XOBNEWVEC, XOBNEWVAR): New.
66
67 2008-03-24 Ian Lance Taylor <iant@google.com>
68
69 * sha1.h: New file, from gnulib.
70
71 * md5.h: Add extern "C" when compiled with C++.
72
73 2008-03-21 Ian Lance Taylor <iant@google.com>
74
75 * filenames.h: Add extern "C" when compiled with C++.
76
77 2008-02-11 Bob Wilson <bob.wilson@acm.org>
78
79 * xtensa-config.h (XCHAL_HAVE_THREADPTR): Redefine to zero.
80 (XCHAL_NUM_AREGS, XCHAL_MAX_INSTRUCTION_SIZE): New.
81
82 2008-01-26 David Daney <ddaney@avtrex.com>
83
84 * demangle.h (demangle_component_type): Add
85 DEMANGLE_COMPONENT_JAVA_RESOURCE,
86 DEMANGLE_COMPONENT_COMPOUND_NAME, and
87 DEMANGLE_COMPONENT_CHARACTER as new enum values.
88 (demangle_component): Add struct s_character to union u.
89
90 2007-11-07 Joseph Myers <joseph@codesourcery.com>
91 Daniel Jacobowitz <dan@codesourcery.com>
92
93 * floatformat.h (struct floatformat): Add split_half field.
94 (floatformat_ibm_long_double): New.
95
96 2007-09-06 Tom Tromey <tromey@redhat.com>
97
98 * libiberty.h (pex_free): Document process killing.
99
100 2007-08-31 Douglas Gregor <doug.gregor@gmail.com>
101
102 * demangle.h (enum demangle_component_type): Add
103 DEMANGLE_COMPONENT_RVALUE_REFERENCE.
104
105 2007-07-25 Ben Elliston <bje@au.ibm.com>
106
107 * ternary.h: Remove.
108
109 2007-07-18 Bob Wilson <bob.wilson@acm.org>
110
111 * xtensa-config.h (XCHAL_HAVE_THREADPTR): New.
112 (XCHAL_HAVE_RELEASE_SYNC, XCHAL_HAVE_S32C1I): New.
113
114 2007-07-17 Nick Clifton <nickc@redhat.com>
115
116 * COPYING3: New file. Contains version 3 of the GNU General
117 Public License.
118
119 2007-07-12 Kai Tietz <kai.tietz@onevision.com>
120
121 * splay-tree.h (libi_uhostptr_t, libi_shostptr_t): New types,
122 needed for WIN64 when a long is not wide enough for a pointer.
123 (splay_tree_key, splay_tree_value): Use the new types.
124
125 2007-05-07 Nathan Froyd <froydnj@codesourcery.com>
126
127 * libiberty.h (writeargv): Declare.
128
129 2007-04-25 Mark Mitchell <mark@codesourcery.com>
130
131 * demangle.h: Change license to LGPL + exception.
132
133 2007-03-29 Joel Brobecker <brobecker@adacore.com>
134
135 * filenames.h (FILENAME_CMP): Adjust define to call filename_cmp
136 regardless of the type of file system.
137
138 2007-03-06 Jan Hubicka <jh@suse.cz>
139
140 * ansidecl.h (ATTRIBUTE_COLD, ATTRIBUTE_HOT): New.
141
142 2007-02-09 Joseph S. Myers <joseph@codesourcery.com>
143
144 * libiberty.h (pex_write_input): Remove prototype.
145
146 2007-01-31 Vladimir Prus <vladimir@codesourcery.com>
147
148 * libiberty.h (PEX_STDERR_TO_PIPE): New define.
149 (PEX_BINARY_ERROR): New define.
150 (pex_read_err): New function.
151
152 2007-01-29 Simon Baldwin <simonb@google.com>
153
154 * demangle.h: New cplus_demangle_print_callback,
155 cplus_demangle_v3_callback, and java_demangle_v3_callback function
156 prototypes, and demangle_callbackref type definition.
157
158 2006-12-06 Nick Clifton <nickc@redhat.com>
159
160 * ansidecl.h (ATTRIBUTE_PACKED): Define.
161
162 2006-11-30 Andrew Stubbs <andrew.stubbs@st.com>
163 J"orn Rennecke <joern.rennecke@st.com>
164
165 PR driver/29931
166 * libiberty.h (make_relative_prefix_ignore_links): Declare.
167
168 2006-11-27 Bob Wilson <bob.wilson@acm.org>
169
170 * xtensa-config.h (XSHAL_ABI): New.
171 (XTHAL_ABI_WINDOWED, XTHAL_ABI_CALL0): New.
172
173 2006-04-11 Jim Blandy <jimb@codesourcery.com>
174
175 * libiberty.h (pex_input_file, pex_input_pipe): New declarations.
176
177 2006-01-18 DJ Delorie <dj@redhat.com>
178
179 * md5.h: Include ansidecl.h
180
181 2006-01-09 Bob Wilson <bob.wilson@acm.org>
182
183 * xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
184
185 2005-12-30 Bob Wilson <bob.wilson@acm.org>
186
187 * xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
188
189 2005-12-10 Terry Laurenzo <tlaurenzo@gmail.com>
190
191 PR java/9861
192 * demangle.h : Add DMGL_RET_POSTFIX define to enable alternative
193 output format for return types
194
195 2005-10-31 Mark Kettenis <kettenis@gnu.org>
196
197 * floatformat.h (enum floatformat_byteorders): Add
198 floatformat_vax.
199 (floatformat_vax_aingle, floatformat_vax_double): Declare.
200
201 2005-09-26 Mark Mitchell <mark@codesourcery.com>
202
203 * libiberty.h (expandargv): New function.
204
205 2005-08-17 Mark Kettenis <kettenis@gnu.org>
206
207 * floatformat.h (struct floatformat): Change type of large
208 argument for is_valid member to `const void *'.
209 (floatformat_to_double): Change type of second argument to `const
210 void *'.
211 (floatformat_from_double): Change type of last argument to `void
212 *'.
213 (floatformat_is_valid): Change type of last argument to `const
214 void *'.
215
216 2005-07-12 Ben Elliston <bje@au.ibm.com>
217
218 * xregex2.h (regexec): Qualify this prototype with __extension__
219 when compiling with GNU C.
220
221 2005-07-03 Steve Ellcey <sje@cup.hp.com>
222
223 PR other/13906
224 * ansidecl.h (ATTRIBUTE_ALIGNED_ALIGNOF): New.
225 * md5.h (md5_uintptr): New.
226 (md5_ctx): Align buffer field.
227
228 2005-06-30 Daniel Berlin <dberlin@dberlin.org>
229
230 * hashtab.h (HTAB_DELETED_ENTRY): New macro.
231 (HTAB_EMPTY_ENTRY): New macro.
232
233 2005-06-20 Geoffrey Keating <geoffk@apple.com>
234
235 * libiberty.h (strverscmp): Prototype.
236
237 2005-06-06 Gabriel Dos Reis <gdr@integrable-solutions.net>
238
239 * libiberty.h (XOBFINISH): New.
240
241 2005-06-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242
243 * libiberty.h (vsnprintf): Add format attribute.
244
245 2005-05-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
246
247 * ansidecl.h: Add ATTRIBUTE_FPTR_PRINTF.
248
249 2005-05-28 Eli Zaretskii <eliz@gnu.org>
250
251 * libiberty.h: (snprintf) [!HAVE_DECL_SNPRINTF]: Declare if
252 needed.
253 (vsnprintf) [!HAVE_DECL_VSNPRINTF]: Declare if needed.
254
255 2005-05-25 Richard Henderson <rth@redhat.com>
256
257 * demangle.h (DEMANGLE_COMPONENT_HIDDEN_ALIAS): New.
258
259 2005-05-24 Gabriel Dos Reis <gdr@integrable-solutions.net>
260
261 * libiberty.h (ACONCAT): Properly cast value of alloca().
262
263 * ansidecl.h (ATTRIBUTE_UNUSED_LABEL): Don't define if
264 __cplusplus.
265
266 2005-05-12 Steve Ellcey <sje@cup.hp.com>
267
268 libiberty.h: Do not define empty basename prototype.
269
270 2005-05-10 Nick Clifton <nickc@redhat.com>
271
272 * Update the address and phone number of the FSF organization in
273 the GPL notices in the following files:
274 COPYING, ansidecl.h, bfdlink.h, bout.h, demangle.h, dis-asm.h,
275 dyn-string.h, fibheap.h, filenames.h, floatformat.h,
276 fnmatch.h, gdbm.h, getopt.h, hashtab.h, hp-symtab.h, ieee.h,
277 libiberty.h, md5.h, oasys.h, objalloc.h, obstack.h, os9k.h,
278 partition.h, progress.h, safe-ctype.h, sort.h, splay-tree.h,
279 symcat.h, ternary.h, xregex2.h, xtensa-config.h,
280 xtensa-isa-internal.h, xtensa-isa.h
281
282 2005-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283
284 * libiberty.h (unlock_std_streams): New.
285
286 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
287
288 * hashtab.h, libiberty.h, objalloc.h, splay-tree.h, ternary.h:
289 Don't use the PTR macro.
290
291 * sort.h: Don't use the PARAMS macro.
292
293 2005-04-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
294
295 * libiberty.h (unlock_stream): New.
296
297 2005-04-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
298
299 * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
300 Remove parameter names.
301
302 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
303
304 * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked):
305 Provide prototypes for new functions.
306
307 2005-03-29 Ian Lance Taylor <ian@airs.com>
308
309 * libiberty.h: Fix indentation.
310
311 2005-03-28 Ian Lance Taylor <ian@airs.com>
312
313 * libiberty.h: Include <stdio.h>.
314 (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define.
315 (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define.
316 (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define.
317 (pex_init, pex_run, pex_read_output): Declare.
318 (pex_get_status, pex_get_times, pex_free, pex_one): Declare.
319 (struct pex_time): Define.
320
321 2005-03-28 Mark Mitchell <mark@codesourcery.com>
322
323 * libiberty.h (ffs): Declare, if necessary.
324
325 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
326
327 * xregex2.h (_RE_ARGS): Remove definition and uses.
328
329 2005-03-27 Gabriel Dos Reis <gdr@integreable-solutions.net>
330
331 * ternary.h: Don't use PARAMS anymore.
332
333 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
334
335 * partition.h: Remove use of PARAMS.
336 * obstack.h: Remove conditional prototypes __STDC__.
337 * objalloc.h: Remove use of PARAMS.
338 * splay-tree.h: Likewise.
339
340 2005-03-27 Gabriel Dos Reis <gdr@integrable-solutions.net>
341
342 * md5.h: Remove definition and uses of __P.
343 * dyn-string.h: Remove uses of PARAMS.
344 * fibheap.h: Likewise.
345 * floatformat.h: Likewise.
346 * hashtab.h: Likewise.
347
348 2005-03-26 Gabriel Dos Reis <gdr@integrable-solutions.net>
349
350 * demangle.h: Remove uses of PARAMS.
351
352 * libiberty.h (ANSI_PROTOTYPES): Remove guard since
353 ANSI_PROTOTYPES is always assumed.
354 Remove uses of PARAMS throughout.
355
356 2005-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
357
358 * libiberty.h (xstrndup): Declare.
359
360 2005-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
361
362 * libiberty.h (make_relative_prefix): Add ATTRIBUTE_MALLOC.
363
364 2005-03-09 Mark Mitchell <mark@codesourcery.com>
365
366 * libiberty.h (gettimeofday): Declare.
367
368 2005-03-01 Jan Beulich <jbeulich@novell.com>
369
370 * libiberty.h: Declare unlink_if_ordinary.
371
372 2005-02-14 Paolo Bonzini <bonzini@gnu.org>
373
374 PR bootstrap/19818
375 * ansidecl.h (PARAMS): Guard from redefinition.
376
377 2004-12-11 Ben Elliston <bje@au.ibm.com>
378
379 * fibheap.h (struct fibnode): Only use unsigned long bitfields
380 when __GNUC__ is defined and ints are less than 32-bits wide.
381
382 2004-10-07 Bob Wilson <bob.wilson@acm.org>
383
384 * xtensa-config.h (XSHAL_USE_ABSOLUTE_LITERALS,
385 XCHAL_HAVE_PREDICTED_BRANCHES, XCHAL_INST_FETCH_WIDTH): New.
386 (XCHAL_EXTRA_SA_SIZE, XCHAL_EXTRA_SA_ALIGN): Delete.
387
388 2004-09-13 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
389
390 * libiberty.h (basename): Prototype for __MINGW32__.
391
392 2004-09-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
393
394 * ansidecl.h (ATTRIBUTE_SENTINEL): Define.
395 * libiberty.h (concat, reconcat, concat_length, concat_copy,
396 concat_copy2): Use ATTRIBUTE_SENTINEL.
397
398 2004-08-02 Gabriel Dos Reis <gdr@integrable-solutions.net>
399
400 * libiberty.h (XDELETE, XDELETEVEC, XRESIZEVEC): Remove any
401 const-qualification before disposal.
402
403 2004-07-24 Bernardo Innocenti <bernie@develer.com>
404
405 * ansidecl.h (ARG_UNUSED): New Macro.
406
407 2004-07-24 Bernardo Innocenti <bernie@develer.com>
408
409 * libiberty.h (XNEW, XCNEW, XNEWVEC, XCNEWVEC, XOBNEW): Move here from
410 libcpp/internal.h.
411 (XDELETE, XRESIZEVEC, XDELETEVEC, XNEWVAR, XCNEWVAR, XRESIZEVAR): New
412 macros.
413
414 2004-07-21 Paolo Bonzini <bonzini@gnu.org>
415
416 * ansidecl.h (ATTRIBUTE_PURE): New.
417
418 2004-07-13 Bernardo Innocenti <bernie@develer.com>
419
420 * libiberty.h (ASTRDUP): Add casts required for stricter
421 type conversion rules of C++.
422 * obstack.h (obstack_free): Likewise.
423
424 2004-05-04 Andreas Jaeger <aj@suse.de>
425
426 * demangle.h: Do not use C++ reserved keyword typename as
427 parameter for cplus_demangle_fill_builtin_type.
428
429 2004-04-22 Richard Henderson <rth@redhat.com>
430
431 * hashtab.h (struct htab): Add size_prime_index.
432
433 2004-04-13 Jeff Law <law@redhat.com>
434
435 * hashtab.h (htab_remove_elt_with_hash): Prototype new function.
436
437 2004-03-30 Zack Weinberg <zack@codesourcery.com>
438
439 * hashtab.h, splay-tree.h: Use new shorter form of GTY markers.
440
441 2004-02-24 Ian Lance Taylor <ian@wasabisystems.com>
442
443 * dyn-string.h: Update copyright date.
444
445 2004-02-23 Ian Lance Taylor <ian@wasabisystems.com>
446
447 * dyn-string.h: Remove test of IN_LIBGCC2 and IN_GLIBCPP_V3 and
448 the associated #defines.
449
450 2004-01-12 Ian Lance Taylor <ian@wasabisystems.com>
451
452 * demangle.h: Instead of checking ANSI_PROTOTYPES, just include
453 "libiberty.h".
454
455 * demangle.h: If ANSI_PROTOTYPES is defined, include <stddef.h>.
456
457 * demangle.h (enum demangle_component_type): Define.
458 (struct demangle_operator_info): Declare.
459 (struct demangle_builtin_type_info): Declare.
460 (struct demangle_component): Define.
461 (cplus_demangle_fill_component): Declare.
462 (cplus_demangle_fill_name): Declare.
463 (cplus_demangle_fill_builtin_type): Declare.
464 (cplus_demangle_fill_operator): Declare.
465 (cplus_demangle_fill_extended_operator): Declare.
466 (cplus_demangle_fill_ctor, cplus_demangle_fill_dtor): Declare.
467 (cplus_demangle_v3_components): Declare.
468 (cplus_demangle_print): Declare.
469
470 For older changes see ChangeLog-9103
471 \f
472 Local Variables:
473 mode: change-log
474 left-margin: 8
475 fill-column: 74
476 version-control: never
477 End: