inclhack.def (aix_malloc): New.
[gcc.git] / fixincludes / ChangeLog
1 2012-03-23 David Edelsohn <dje.gcc@gmail.com>
2
3 * inclhack.def (aix_malloc): New.
4 * fixincl.x: Regenerate.
5 * tests/base/malloc.h [AIX_MALLOC_CHECK]: New.
6
7 2012-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
8
9 PR other/52626
10 * tests/base/pthread.h [SOLARIS_MUTEX_INIT_2_CHECK]
11 (PTHREAD_COND_INITIALIZER): Adapt for solaris_cond_init removal.
12
13 2012-03-15 Tristan Gingold <gingold@adacore.com>
14
15 * README (EXAMPLES OF FIXES): Update.
16
17 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
18
19 * inclhack.def (math_exception): Remove duplicate.
20 (solaris_cond_init): Remove.
21 (solaris_sys_va_list): Remove Solaris 8 support.
22 * fixincl.x: Regenerate.
23 * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: Remove.
24
25 2012-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
26
27 * inclhack.def (broken_cabs): Remove IRIX and SunOS 4 support.
28 (irix___restrict): Remove.
29 (irix___generic1): Remove.
30 (irix___generic2): Remove.
31 (irix_asm_apostrophe): Remove.
32 (irix_complex): Remove.
33 (irix_pthread_init): Remove.
34 (irix_socklen_t): Remove.
35 (irix_stdint_c99_mode): Remove.
36 (irix_stdint_c99_types): Remove.
37 (irix_stdint_c99_macros): Remove.
38 (irix_stdio_va_list): Remove IRIX 6.5 support.
39 (irix_wcsftime): Remove.
40 (stdio_va_list): Remove IRIX 6.5 support.
41 (svr4_profil): Remove IRIX bypass.
42 * fixincl.x: Regenerate.
43
44 * tests/base/complex.h [IRIX_COMPLEX_CHECK]: Remove.
45 * tests/base/internal/math_core.h: Remove.
46 * tests/base/internal/sgimacros.h: Remove.
47 * tests/base/internal/wchar_core.h: Remove.
48 * tests/base/math.h [BROKEN_CABS_CHECK]: Remove IRIX and SunOS 4
49 support.
50 * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: Remove.
51 * tests/base/stdint-irix65.h: Remove.
52 * tests/base/stdint.h [IRIX_STDINT_C99_MODE_CHECK]: Remove.
53 * tests/base/sys/asm.h: Remove.
54 * tests/base/sys/socket.h [IRIX_SOCKLEN_T_CHECK]: Remove.
55
56 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
57
58 * inclhack.def (alpha___extern_prefix): Remove.
59 (alpha___extern_prefix_standards): Remove.
60 (alpha___extern_prefix_sys_stat): Remove.
61 (alpha_bad_lval): Remove.
62 (alpha_pthread): Remove.
63 (alpha_pthread_gcc): Remove.
64 (alpha_pthread_init): Remove.
65 * fixincl.x: Regenerate.
66 * tests/base/pthread.h [ALPHA_PTHREAD_CHECK]: Remove.
67 [ALPHA_PTHREAD_GCC_CHECK]: Remove.
68 [ALPHA_PTHREAD_INIT_CHECK]: Remove.
69 * tests/base/standards.h: Remove.
70 * tests/base/sys/stat.h [ALPHA___EXTERN_PREFIX_SYS_STAT_CHECK]:
71 Remove.
72 * tests/base/testing.h [ALPHA___EXTERN_PREFIX_CHECK]: Remove.
73 [ALPHA_BAD_LVAL_CHECK]: Remove.
74
75 2012-03-12 Tristan Gingold <gingold@adacore.com>
76
77 * inclhack.def (vms_use_quoted_include,vms_add_missing_braces)
78 (vms_do_not_redeclare_hostalias, vms_decc_builtin)
79 (vms_no_64bit_getopt, vms_forward_declare_struct)
80 (vms_use_fast_setjmp): New fixes.
81 * fixincl.x: Regenerate.
82 * tests/base/rtldef/string.h: Update.
83 * tests/base/rtldef/if.h, tests/base/rtldef/resolv.h,
84 * tests/base/rtldef/setjmp.h, tests/base/rtldef/signal.h,
85 * tests/base/rtldef/stdio.h, tests/base/rtldef/wait.h: New files.
86
87 2012-01-11 Bruce Korb <bkorb@gnu.org>
88 Steven G. Kargl <kargl@gcc.gnu.org>
89 Andreas Tobler <andreast@fgznet.ch>
90
91 PR bootstrap/51705
92 PR preprocessor/51776
93 * inclhack.def (cdef_cplusplus): Add a replacement for [[noreturn]].
94 * fixincl.x: Regenerate.
95 * tests/base/sys/cdefs.h: Update.
96
97 * genfixes: Remove the 'Ver.' from the version check.
98
99 2011-12-20 Andreas Schwab <schwab@linux-m68k.org>
100
101 * configure: Regenerate.
102
103 2011-12-19 Andreas Schwab <schwab@linux-m68k.org>
104
105 * configure: Regenerate.
106
107 2011-11-16 David Edelsohn <dje.gcc@gmail.com>
108
109 * inclhack.def (aix_once_init_[12]): New fixes.
110 * fixincl.x: Regenerate.
111 * tests/base/pthread.h: Update.
112
113 2011-10-25 Mike Stump <mikestump@comcast.net>
114
115 PR target/48851
116 * inclhack.def (void_null): New bypass.
117 * fixincl.x: Regenerate.
118
119 2011-09-26 Tristan Gingold <gingold@adacore.com>
120
121 * inclhack.def (ms_define_can_use_extern_prefix):
122 (vms_use_pragma_extern_model, vms_disable_decc_string_builtins):
123 New fixes.
124 * fixincl.x: Regenerate.
125 * tests/base/rtldef/string.h: New test.
126 * tests/base/rtldef/decc$types.h: Likewise.
127 * tests/base/testing.h: Update
128
129 2011-09-22 Tristan Gingold <gingold@adacore.com>
130
131 * mkfixinc.sh (target): Remove alpha-vms from particular targets.
132
133 2011-08-23 Steve Ellcey <sje@cup.hp.com>
134
135 PR libstdc++/50153
136 * inclhack.def (hpux11_abs): Extend to all hpux machines.
137 * fixincl.x: Regenerate.
138
139 2011-08-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
140 Marc Glisse <marc.glisse@normalesup.org>
141
142 PR libstdc++-v3/1773
143 * inclhack.def (solaris_cxx_linkage, solaris_getc_strict_stdc)
144 (solaris_longjmp_noreturn, solaris_pow_int_overload)
145 (solaris_std___filbuf): New fixes.
146 * tests/base/iso/math_iso.h, tests/base/iso/setjmp_iso.h,
147 tests/base/iso/stdio_iso.h, tests/base/iso/stdlib_iso.h: New tests.
148 * tests/base/stdio.h [SOLARIS_STD___FILBUF_CHECK]: New test.
149
150 2011-07-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
151
152 PR c++/49347
153 * inclhack.def (solaris_posix_spawn_restrict): New fix.
154 * fixincl.x: Regenerate.
155 * tests/base/spawn.h: New test.
156
157 2011-06-08 Douglas B Rupp <rupp@gnat.com>
158
159 * configure.ac (AC_USE_SYSTEM_EXTENSIONS): Add.
160 * configure: Regenerate.
161 * config.h.in: Regenerate.
162
163 2011-06-06 Peter O'Gorman <pogma@thewrittenword.com>
164
165 * inclhack.def (aix_net_if_arp): New fix.
166 * fixincl.x: Regenerate.
167 * tests/base/net/if_arp.h [AIX_NET_IF_ARP_CHECK]: New test.
168
169 2011-05-17 Tristan Gingold <gingold@adacore.com>
170
171 * inclhack.def (solaris_complex_cxx): Fix syntax.
172 * fixincl.x: Regenerate.
173
174 2011-05-17 Tristan Gingold <gingold@adacore.com>
175
176 * check.tpl: Shell-quote testing file.
177
178 2011-03-22 Joseph Myers <joseph@codesourcery.com>
179
180 * mkfixinc.sh: Don't handle i?86-moss-msdos* or i?86-*-pe.
181
182 2010-11-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
183
184 PR other/46202
185 * Makefile.in (install-strip): New phony target.
186 (all, check, install): Also mark as phony.
187
188 2010-11-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
189
190 * inclhack.def (irix_pthread_init): New fix.
191 * fixincl.x: Regenerate.
192 * tests/base/pthread.h [IRIX_PTHREAD_INIT_CHECK]: New test.
193
194 2010-10-20 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
195
196 PR c++/46024
197 * inclhack.def (solaris_sys_va_list): New fix.
198 * fixincl.x: Regenerate.
199 * tests/base/sys/va_list.h: New test.
200
201 2010-09-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
202
203 * inclhack.def (hpux_htonl): Allow trailing whitespace in select.
204 * fixincl.x: Regenerate.
205
206 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
207
208 * inclhack.def (solaris_cond_init): New fix.
209 * fixincl.x: Regenerate.
210 * tests/base/pthread.h [SOLARIS_COND_INIT_CHECK]: New test.
211 [SOLARIS_MUTEX_INIT_2_CHECK]: Adapt.
212
213 2010-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
214
215 * inclhack.def (solaris__restrict, solaris_complex_cxx): New fixes
216 * fixincl.x: Regenerate.
217 * tests/base/complex.h [SOLARIS_COMPLEX_CXX_CHECK]: New test.
218 * tests/base/sys/feature_tests.h: New file.
219
220 2010-06-03 Joern Rennecke <joern.rennecke@embecosm.com>
221 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
222
223 PR bootstrap/42798
224 * configure.ac: Check for declaration of 'basename(char *)'.
225 * configure: Regenerate.
226
227 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
228
229 * inclhack.def (alpha_wchar): Remove.
230 * fixincl.x: Regenerate.
231 * tests/base/wchar.h: Remove.
232
233 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
234
235 * aclocal.m4: Regenerate.
236
237 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
238
239 * inclhack.def (alpha_assert): Allow for more whitespace in
240 select.
241 * fixincl.x: Regenerate.
242
243 2010-03-28 H.J. Lu <hongjiu.lu@intel.com>
244
245 PR target/40722
246 * mkfixinc.sh: Revert the last change for mingw.
247
248 2010-03-24 Joseph Myers <joseph@codesourcery.com>
249
250 * inclhack.def (glibc_strncpy): New fix.
251 * fixincl.x: Regenerate.
252 * tests/base/bits/string2.h: Update.
253
254 2010-03-23 H.J. Lu <hongjiu.lu@intel.com>
255
256 PR target/40722
257 * mkfixinc.sh: Fix stdlib.h for mingw.
258
259 2010-02-19 Bruce Korb <bkorb@gnu.org>
260
261 * inclhack.def: remove vestiges of inadvertently committed changes
262
263 2010-02-10 Bruce Korb <bkorb@gnu.org>
264
265 * README: fix up references to old gcc/fixinc directory
266
267 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
268
269 * inclhack.def (solaris_int_limits_3): New fix.
270 * fixincl.x: Regenerate.
271 * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
272 test.
273
274 * inclhack.def (solaris_int_const, solaris_int_limits_1,
275 solaris_int_limits_2 ): Applies to Solaris 2 in general.
276 Remove select.
277 Add mach for *-*-solaris2*.
278 Change second c_fix_arg to select.
279 Remove #pragma ident from test_text.
280 * fixincl.x: Regenerate.
281 * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
282 #pragma trigger text.
283 * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
284 SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
285
286 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
287
288 * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
289 (aix_stdint_2): Likewise.
290 (aix_stdint_3): Likewise.
291 (aix_stdint_4): Likewise.
292 (aix_stdint_5): Likewise.
293 (darwin_stdint_1): Add stdint-darwin.h to files.
294 (darwin_stdint_2): Likewise.
295 (darwin_stdint_3): Likewise.
296 (darwin_stdint_4): Likewise.
297 (darwin_stdint_5): Likewise.
298 (darwin_stdint_6): Likewise.
299 (darwin_stdint_7): Likewise.
300 (hpux_c99_intptr): Add stdint-hpux11.h to files.
301 (hpux_c99_inttypes): Likewise.
302 (hpux_c99_inttypes2): Likewise.
303 (hpux_stdint_least_fast): Likewise.
304 (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
305 (irix_stdint_c99_types): New fix.
306 (irix_stdint_c99_macros): New fix.
307 (newlib_stdint_1): Add stdint-newlib.h to files.
308 (newlib_stdint_2): Likewise.
309 fixincl.x: Regenerate.
310 tests/base/stdint-aix.h: New file.
311 tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
312 AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
313 tests/base/stdint-aix.h: ... here.
314 [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
315 [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
316 [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
317 tests/base/stdint-darwin.h: New file.
318 tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
319 DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
320 DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
321 tests/base/stdint-darwin.h: ... here.
322 [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
323 [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
324 [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
325 tests/base/stdint-hpux11.h: New file.
326 tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
327 HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
328 tests/base/stdint-hpux11.h: ... here.
329 [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
330 [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
331 tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
332 IRIX_STDINT_C99_MODE_CHECK.
333 tests/base/stdint-irix65.h: New file.
334 tests/base/stdint-newlib.h: New file.
335 tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
336 NEWLIB_STDINT_2_CHECK]: Moved ...
337 tests/base/stdint-newlib.h: ... here.
338
339 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
340
341 * configure: Regenerate.
342
343 2009-10-21 Steve Ellcey <sje@cup.hp.com>
344
345 * inclhack.def (hpux_stdint_least_fast): Simplify.
346 * fixincl.x: Regenerate.
347 * tests/base/stdint.h: Update.
348
349 2009-09-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
350
351 * inclhack.def (isc_fmod, isc_omits_with_stdc)
352 (nested_sys_limits, sco_math): Remove.
353 * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
354 * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
355 * tests/base/sys/limits.h: Remove.
356 * fixincl.x: Regenerate.
357
358 2009-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
359
360 PR testsuite/29737
361 PR bootstrap/35938
362 PR testsuite/39655
363 * check.tpl: Fix typos.
364 * README: Likewise. Also, document that 'select' uses ERE.
365 * mkheaders.in: Update copyright years in --version output.
366 * inclhack.def (sco_math): Add missing final newline in sed
367 script 'a', 'c', or 'i' commands, for BSD sed.
368 (sco_math): In the text of 'a', 'c', or 'i' sed
369 commands, prepend leading white space with a backslash to avoid
370 the whitespace to be removed by BSD sed.
371 (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
372 (x11_new): Fix sed expression, for BSD sed.
373 (glibc_mutex_init): Fix newlines in sed 's' command replacement
374 part, for GNU sed 3.02 and Solaris sed.
375 (glibc_mutex_init): Replace unportable \+ sed regex operator
376 with \{1,\}.
377 (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
378 alternation \| regex operator.
379 (solaris_complex): Remove superfluous backslashes from
380 replacement string. Replace \+ operator with \{1,\}.
381 * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
382 * fixincl.x: Regenerate.
383
384 2009-09-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
385
386 PR libfortran/41169
387 * inclhack.def (irix_complex): New fix.
388 (solaris_complex): Likewise.
389 * fixincl.x: Regenerate.
390 * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
391 New tests.
392
393 2009-08-28 Bruce Korb <bkorb@gnu.org>
394 Steve Ellcey <sje@cup.hp.com>
395
396 * README (files): Describe files entry.
397 * inclhack.def (hpux_stdint_least): Remove.
398 (hpux_stdint_fast): Remove.
399 (hpux_stdint_fast): Remove.
400 (hpux_stdint_least_fast): New.
401 (hpux_inttype_int_least8_t): Remove.
402 (hpux_inttype_int8_t): Modify.
403 * fixincl.x: Regenerate.
404 * tests/base/stdint.h: Update.
405 * tests/base/sys/_inttypes.h: Update.
406
407 2009-08-28 Steve Ellcey <sje@cup.hp.com>
408
409 * inclhack.def (hpux_imaginary_i): Remove spaces.
410 * fixincl.x: Regenerate.
411 * tests/base/stdint.h: Update AIX fixes.
412 * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
413
414 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
415
416 * configure.ac (AC_PREREQ): Bump to 2.64.
417
418 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
419
420 * aclocal.m4: Regenerate.
421 * configure: Regenerate.
422 * config.h.in: Regenerate.
423
424 2009-08-17 David Edelsohn <edelsohn@gnu.org>
425
426 * inclhack.def (aix_complex): Redefine _Complex_I. Do not
427 redefine I.
428 * (aix_stdint_[12345]): New fixes.
429 * fixincl.x: Regenerate.
430 * tests/base/complex.h: Update check.
431 * tests/base/stdint.h: Add AIX stdint.h checks.
432
433 2009-08-14 Steve Ellcey <sje@cup.hp.com>
434
435 * inclhack.def (hpux_imaginary_i): New fix.
436 * fixincl.x: Regenerate.
437 * tests/base/complex.h: New file.
438
439 2009-08-12 David Edelsohn <edelsohn@gnu.org>
440
441 * inclhack.def (aix_complex): New fix.
442 * fixincl.x: Regenerate.
443
444 2009-08-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
445
446 * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
447 (hpux_inttype_int8_t): Likewise.
448 * fixincl.x: Regenerate.
449
450 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
451
452 * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
453 New variables.
454 ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
455 Use them.
456
457 2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
458
459 * inclhack.def (darwin_stdint_5, darwin_stdint_6,
460 darwin_stdint_7): New fixes.
461 * fixincl.x: Regenerate.
462 * tests/base/stdint.h: Adjust test for new fixes.
463
464 2009-07-03 Eric Botcazou <ebotcazou@adacore.com>
465
466 * inclhack.def (solaris_int_types): New fix.
467 * fixincl.x: Regenerate.
468 * tests/base/sys/int_types.h: New file.
469
470 2009-06-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
471
472 * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
473 darwin_stdint_4): New fixes.
474 * tests/base/stdint.h: Adjust test results for new fixes.
475 * fixincl.x: Regenerate.
476
477 2009-05-29 Eric Botcazou <ebotcazou@adacore.com>
478
479 * inclhack.def (solaris_int_const): New fix.
480 (solaris_int_limits_1): Likewise.
481 (solaris_int_limits_2): Likewise.
482 * fixincl.x: Regenerate.
483 * tests/base/sys/int_const.h: New file.
484 * tests/base/sys/int_limits.h: Likewise.
485
486 2009-05-15 Joseph Myers <joseph@codesourcery.com>
487
488 * inclhack.def (glibc_tgmath): Correct bypass.
489 * fixincl.x: Regenerate.
490
491 2009-04-28 Steve Ellcey <sje@cup.hp.com>
492
493 * inclhack.def (hpux11_uint32_c): Remove.
494 (hpux_long_double): Disable on hpux11.3*.
495 (hpux_long_double_2): New.
496 (hpux_c99_intptr): New.
497 (hpux_c99_inttypes): New.
498 (hpux_c99_inttypes2): New.
499 (hpux_stdint_least): New.
500 (hpux_stdint_fast): New.
501 (hpux_inttype_int_least8_t): New.
502 (hpux_inttype_int8_t): New.
503 * fixincl.x: Regenerate.
504 * tests/base/sys/_inttypes.h: New.
505 * tests/base/inttypes.h: Update.
506 * tests/base/stdlib.h: Update.
507 * tests/base/stdint.h: Update.
508
509 2009-04-28 Joseph Myers <joseph@codesourcery.com>
510
511 * inclhack.def (glibc_stdint): New fix.
512 * fixincl.x: Regenerate.
513 * tests/base/stdint.h: Update.
514
515 2009-04-09 Jakub Jelinek <jakub@redhat.com>
516
517 * Makefile.in: Change copyright header to refer to version
518 3 of the GNU General Public License and to point readers at the
519 COPYING3 file and the FSF's license web page.
520 * fixfixes.c: Likewise.
521 * fixinc.in: Likewise.
522 * fixincl.c: Likewise.
523 * fixlib.c: Likewise.
524 * fixlib.h: Likewise.
525 * fixopts.c: Likewise.
526 * fixtests.c: Likewise.
527 * genfixes: Likewise.
528 * mkheaders.in: Likewise.
529 * system.h: Likewise.
530
531 2009-03-31 Joseph Myers <joseph@codesourcery.com>
532
533 PR c/448
534 * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
535 * fixincl.x: Regenerate.
536 * tests/base/stdint.h: Update.
537
538 2009-03-29 Joseph Myers <joseph@codesourcery.com>
539
540 * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
541 Update.
542
543 2009-03-29 Joseph Myers <joseph@codesourcery.com>
544
545 PR c/456
546 PR c/5675
547 PR c/19976
548 PR c/29116
549 PR c/31871
550 PR c/35198
551 * inclhack.def (glibc_tgmath): New fix.
552 * fixincl.x: Regenerate.
553 * tests/base/tgmath.h: New.
554
555 2009-03-28 Joseph Myers <joseph@codesourcery.com>
556
557 * inclhack.def (aix_syswait, exception_structure,
558 pthread_page_size): Remove.
559 (math_exception): Remove mention of fixproto in comment.
560 * fixincl.x: Regenerate.
561 * mkheaders.in: Do not handle STMP_FIXPROTO.
562
563 2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
564
565 * server.c (run_shell): Quote directory name passed to cd.
566
567 2009-03-01 Bruce Korb <bkorb@gnu.org>
568 Apply a positively ancient patch:
569
570 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
571
572 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
573 * tests/base/net/if.h: Add new test.
574
575 2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
576
577 * tests/base/locale.h: Add new test.
578 * tests/base/stdarg.h: Likewise.
579
580 2009-01-05 Steve Ellcey <sje@cup.hp.com>
581
582 * inclhack.def (hpux_spu_info): Add files line.
583 * fixincl.x: Regenerate.
584
585 2009-01-01 Andreas Tobler <a.tobler@schweiz.org>
586
587 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
588 in case of C.
589 * fixincl.x: Regenerate.
590
591 2008-12-31 Andreas Tobler <a.tobler@schweiz.org>
592
593 PR target/35460
594 * inclhack.def (openbsd_va_start): Use __builtin_va_start
595 for OpenBSD.
596 * fixincl.x: Regenerate.
597
598 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
599
600 * configure: Regenerate.
601
602 2008-12-15 Steve Ellcey <sje@cup.hp.com>
603
604 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
605 * fixincl.x: Regenerate.
606
607 2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
608
609 * configure.ac: Fix a typo.
610 * configured: Regenerate.
611
612 2008-09-06 Bruce Korb <bkorb@gnu.org>
613
614 * fixincl.tpl (sed): make the program executable configurable.
615 Some platforms have some rather oddball defaults.
616 * config.h.in (SED_PROGRAM): define the default sed.
617 * fixincl.x: regenerated
618 * tests/base/internal/wchar_core.h: fix bad sample text
619 * tests/base/math.h: fix bad sample text
620 * configure.ac: search for working sed
621 * inclhack.def (glibc_mutex_init): fix non-portable construct
622 and re-order a few misordered entries.
623
624 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
625
626 * configure: Regenerate.
627
628 2008-06-07 Joseph Myers <joseph@codesourcery.com>
629
630 * inclhack.def (AAB_svr4_replace_byteorder,
631 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
632 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
633 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
634 solaris_mutex_init_1, solaris_socket, solaris_unistd,
635 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
636 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
637 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
638 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
639 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
640 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
641 windiss_math2, windiss_valist): Remove.
642 * fixincl.x: Regenerate.
643 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
644 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
645 powerpc-*-eabiaix*): Remove.
646 * tests/base/math.h: Update.
647 * tests/base/pthread.h: Update.
648 * tests/base/stdio.h: Update.
649 * tests/base/stdlib.h: Update.
650 * tests/base/string.h: Update.
651 * tests/base/strings.h: Update.
652 * tests/base/sys/file.h: Update.
653 * tests/base/sys/limits.h: Update.
654 * tests/base/sys/socket.h: Update.
655 * tests/base/sys/stat.h: Update.
656 * tests/base/sys/time.h: Update.
657 * tests/base/testing.h: Update.
658 * tests/base/unistd.h: Update.
659 * tests/base/_G_config.h: Remove.
660 * tests/base/arpa: Remove directory.
661 * tests/base/fs: Remove directory.
662 * tests/base/locale.h: Remove.
663 * tests/base/machine: Remove directory.
664 * tests/base/rpc/svc.h: Remove.
665 * tests/base/sys/ioctl.h: Remove.
666 * tests/base/sys/regset.h: Remove.
667 * tests/base/sys/times.h: Remove.
668 * tests/base/sys/utsname.h: Remove.
669 * tests/base/widec.h: Remove.
670
671 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
672
673 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
674 * tests/base/iso/math_c99.h: Update.
675 * fixincl.x: Regenerate.
676
677 2008-05-14 Joseph Myers <joseph@codesourcery.com>
678
679 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
680 posix_types_64.
681 * fixincl.x: Regenerate.
682
683 2008-04-25 Kai Tietz <kai.tietz@onvision.com>
684
685 * fixincl.c (fix_with_system): Cast pointer difference to long.
686 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
687
688 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
689
690 PR bootstrap/35457
691 * Makefile.in: Rewrite aclocal.m4 rule.
692 * aclocal.m4: Regenerate.
693 * configure: Regenerate.
694
695 2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
696
697 PR c++/20366
698 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
699 * fixincl.x: Regenerate.
700 * tests/base/stdio.h: Add test.
701
702 2008-02-25 Ben Elliston <bje@au.ibm.com>
703
704 PR other/32948
705 * fixincl.c (fix_applies): Remove unused variable `name_len'.
706
707 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
708
709 * inclhack.def (solaris_math_10): New.
710 * tests/base/iso/math_c99.h: Update.
711
712 * fixincl.x: Regenerate.
713
714 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
715
716 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
717 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
718 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
719 quotes around mach entries.
720 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
721 to GPLv3.
722
723 2008-02-04 Hans-Peter Nilsson <hp@axis.com>
724
725 PR other/31405
726 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
727 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
728 __extern_inline|__GNU_STDC_INLINE__.
729 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
730 <bypass>: Change from __STDC_VERSION__ to
731 __extern_inline|__GNU_STDC_INLINE__.
732 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
733 appending attribute-gnu_inline.
734 <second c_fix_arg>: Remove.
735 <test_text>: Remove __extern_inline line.
736 * tests/base/features.h: Re-add.
737 * tests/base/sys/sysmacros.h: Adjust.
738 * fixincl.x: Regenerate.
739
740 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
741
742 Revert last change.
743
744 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
745
746 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
747 * fixincl.x: Regenerate.
748 * tests/base/wchar.h: Update.
749 * tests/base/features.h: New.
750
751 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
752
753 PR target/33700
754 * inclhack.def (hpux11_pthread_const): New.
755 * fixincl.x: Regenerate.
756 * tests/base/sys/pthread.h: Update.
757
758 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
759
760 * configure.ac: x86_64 mingw target uses twoprocess.
761 * mkfixinc.sh: Add x86_64 mingw target.
762 * configure: Regenerate.
763
764 2007-10-09 Geoffrey Keating <geoffk@apple.com>
765
766 * inclhack.def (darwin_externc): New.
767 * fixincl.x: Regenerate.
768 * tests/base/mach-o/swap.h: New.
769
770 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
771
772 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
773 Delete fixes.
774 * tests/base/iso/math_c99.h: Delete associated test baselines.
775 * fixincl.x: Regenerate.
776
777 2007-07-24 Krister Walfridsson <cato@df.lth.se>
778
779 PR target/30058
780 * inclhack.def (netbsd_c99_inline_2): New.
781 * fixincl.x: Regenerate.
782 * tests/base/signal.h: Update.
783
784 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
785
786 PR target/32641
787
788 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
789 solaris_math_7): Constify and make FP exception-safe.
790 * tests/base/iso/math_c99.h: Update.
791
792 * fixincl.x: Regenerate.
793
794 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
795
796 PR libgcj/28190
797 * inclhack.def (irix_stdint_c99): New fix.
798 * fixincl.x: Regenerate.
799 * tests/base/stdint.h: New test.
800
801 2007-06-06 Steve Ellcey <sje@cup.hp.com>
802
803 PR testsuite/31828
804 * inclhack.def (hppa_hpux_fp_macros): New.
805 * fixincl.x: Regenerate.
806 * tests/base/math.h: Update.
807
808 2007-03-26 Jakub Jelinek <jakub@redhat.com>
809
810 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
811 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
812 __STDC_VERSION__ < 199901L.
813 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
814 with #ifdef __GNUC_GNU_INLINE__.
815 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
816 with defined(__GNUC_STDC_INLINE__).
817 (glibc_c99_inline_4): Change select, add second c_fix_arg.
818 Replace #if __STDC_VERSION__ < 199901L with
819 #ifdef __GNUC_GNU_INLINE__.
820 * fixincl.x: Regenerated.
821 * tests/base/bits/string2.h: Update.
822 * tests/base/sys/sysmacros.h: Update.
823 * tests/base/sys/stat.h: Update.
824
825 2007-03-18 Krister Walfridsson <cato@df.lth.se>
826
827 PR target/30058
828 * inclhack.def (netbsd_c99_inline_1): New.
829 * fixincl.x: Regenerate.
830 * tests/base/signal.h: New.
831
832 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
833
834 * Makefile.in: Add dummy "install-info" target.
835
836 2007-03-06 Joseph Myers <joseph@codesourcery.com>
837
838 * mkheaders.in: Fix headers for each multilib required.
839
840 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
841
842 * Makefile.in: Add dummy install-pdf target.
843
844 2007-02-27 Joseph Myers <joseph@codesourcery.com>
845
846 * mkheaders.in (incdir): Use include-fixed not include.
847
848 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
849
850 * Makefile.in: Added "pdf" target to .PHONY.
851
852 2007-02-05 Richard Guenther <rguenther@suse.de>
853
854 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
855 with older glibc. Adjust version number for C99.
856 * fixincl.x: Regenerated.
857
858 2007-02-04 Mike Stump <mrs@apple.com>
859
860 * mkheaders.in: Allow optional isysroot parameter.
861
862 2007-02-03 Bruce Korb <bkorb@gnu.org>
863
864 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
865 surrounded by space characters.
866
867 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
868
869 PR target/30272
870 * inclhack.def(broken_cabs): Also remove definition of cabsl.
871 * fixincl.x: Regenerate.
872 * tests/base/math.h: Update.
873
874 2007-01-05 Bruce Korb <bkorb@gnu.org>,
875 Daniel Franke <franke.daniel@gmail.com>
876
877 PR target/30008
878 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
879 of a vertical bar ("|").
880 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
881 matching. Set SKIP_TEST flag if we are not to run a test.
882 * fixincl.x: Regenerate.
883 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
884 kandr_concat, sco_math): Replace lists of specfic file names by search
885 patterns.
886
887 2006-12-12 Olivier Hainque <hainque@adacore.com>
888
889 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
890 targets for which a no-op fixer is appropriate.
891
892 2006-11-07 Richard Guenther <rguenther@suse.de>
893
894 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
895 systems.
896 * fixincl.x: Regenerate.
897
898 2006-11-02 Geoffrey Keating <geoffk@apple.com>
899
900 * inclhack.def (glibc_c99_inline_1): New.
901 * inclhack.def (glibc_c99_inline_2): New.
902 * inclhack.def (glibc_c99_inline_3): New.
903 * inclhack.def (glibc_c99_inline_4): New.
904 * fixincl.x: Regenerate.
905 * tests/base/bits/string2.h: New.
906 * tests/base/sys/sysmacros.h: New.
907 * tests/base/sys/stat.h: Update.
908
909 2006-11-01 Steve Ellcey <sje@cup.hp.com>
910
911 * tests/base/sys/socket.h: Update.
912
913 2006-10-31 Steve Ellcey <sje@cup.hp.com>
914
915 * inclhack.def (hpux11_extern_sendfile): New.
916 (hpux11_extern_sendpath): New.
917 * fixincl.x: Regenerate.
918
919 2006-10-29 Joseph Myers <joseph@codesourcery.com>
920
921 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
922 * fixincl.x: Regenerate.
923
924 2006-10-10 Brooks Moses <bmoses@stanford.edu>
925
926 * Makefile.in: Added empty "pdf" target.
927
928 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
929
930 PR target/29300
931 * inclhack.def (hpux_pthread_initializers): New hack.
932 * tests/base/sys/pthread.h: New file.
933
934 * fixincl.x: Regenerate.
935
936 2006-10-03 Uros Bizjak <uros@kss-loka.si>
937
938 * inclhack.def (glibc_mutex_init): Also fix
939 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
940 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
941 * tests/base/pthread.h: Update.
942
943 * fixincl.x: Regenerate.
944
945 2006-10-01 Uros Bizjak <uros@kss-loka.si>
946
947 * inclhack.def (glibc_mutex_init): New fix.
948 * tests/base/pthread.h: Update.
949
950 * fixincl.x: Regenerate.
951
952 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
953
954 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
955 Prevent it from running on solaris10 or later.
956 (solaris_once_init_2): Fix comment.
957 * tests/base/pthread.h: Update.
958
959 * fixincl.x: Regenerate.
960
961 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
962
963 * inclhack.def (solaris_once_init_2): New fix.
964 * tests/base/pthread.h: Update.
965
966 * fixincl.x: Regenerate.
967
968 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
969
970 * inclhack.def (solaris_mutex_init_2): Remove test for
971 PTHREAD_RWLOCK_INITIALIZER.
972 (solaris_rwlock_init_1): New.
973 * tests/base/pthread.h: Update.
974
975 * inclhack.def (solaris_once_init_1): New.
976 * tests/base/pthread.h: Adjust for new fix.
977
978 * fixincl.x: Regenerate.
979
980 2006-07-17 Roger Sayle <roger@eyesopen.com>
981
982 * tests/base/errno.h: New file.
983 * tests/base/architecture/ppc/math.h: Likewise.
984 * tests/base/ia64/sys/getppdp.h: Likewise.
985
986 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
987
988 PR bootstrap/20437
989 * Makefile.in (configure, config.h.in): Change into $(srcdir)
990 before autoconf or autoheader call.
991
992 2006-06-23 Steve Ellcey <sje@cup.hp.com>
993
994 PR target/28084
995 * inclhack.def (hpux_extern_errno): New.
996 * fixincl.x: Regenerate.
997
998 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
999
1000 * Makefile.in: Add dvi info html and install-html to .PHONY
1001 Add install-html target.
1002
1003 2006-05-16 Mike Stump <mrs@apple.com>
1004
1005 * configure.ac: Add -Wno-overlength-strings.
1006 * configure: Regenerate.
1007
1008 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
1009
1010 * README: Fix typo.
1011
1012 2006-02-18 Steve Ellcey <sje@cup.hp.com>
1013
1014 PR target/26189
1015 * inclhack.def (hpux_spu_info): New.
1016 * fixincl.x: Regenerate
1017
1018 2006-01-31 Marcin Dalecki <martin@dalecki.de>
1019
1020 * configure.ac: Check for asprintf, basename, vasprintf.
1021 * config.h.in: Regenerate.
1022 * configure: Regenerate.
1023
1024 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
1025
1026 PR target/15642
1027 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
1028 __APPLE_CC_ as 1345.
1029 (broken_nan): New.
1030 * fixincl.x: Regenerate.
1031
1032 2005-11-24 Bruce Korb <bkorb@gnu.org>
1033
1034 * fixincl.c (write_replacement): "here strings" in AutoGen
1035 often/generally don't have a terminating newline. Check the
1036 last byte for '\n'.
1037
1038 2005-11-13 Andreas Jaeger <aj@suse.de>
1039
1040 * check.tpl: Handle CVS additionally.
1041
1042 2005-11-05 Andreas Jaeger <aj@suse.de>
1043
1044 * check.tpl: Adopt for move to subversion.
1045
1046 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
1047
1048 PR c++/23139
1049 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
1050 fixes.
1051 * fixincl.x: Regenerate.
1052 * tests/base/bits/huge_val.h: New file.
1053
1054 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
1055
1056 * All files: Update with new FSF address.
1057
1058 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1059
1060 * Makefile.in (WARN_CFLAGS): New.
1061 (.c.o): Add $(WARN_CFLAGS).
1062 * aclocal.m4: Include ../config/warnings.m4.
1063 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
1064 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
1065 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
1066 * fixopts.c (initialize_opts): Fix old-style definintion.
1067
1068 * configure: Regenerate.
1069
1070 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
1071
1072 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
1073 (AAB_darwin7_9_long_double_funcs_2): New.
1074 * fixincl.x: Regenerate.
1075
1076 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1077
1078 PR libfortran/15266
1079 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
1080 Use double quotes in select so \t matches tabs.
1081 Add IRIX testcase.
1082 * fixincl.x: Regenerate.
1083 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
1084
1085 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
1086
1087 PR target/21683
1088 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
1089
1090 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
1091 Joseph S. Myers <joseph@codesourcery.com>
1092
1093 PR target/19933
1094 PR target/21315
1095 * inclhack.def: New fixes solaris_math_[1-9].
1096 * fixincl.x: Regenerate.
1097 * tests/base/iso/math_c99.h: New.
1098
1099 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
1100
1101 * aclocal.m4: Remove superfluous reference to accross.m4.
1102
1103 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
1104
1105 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
1106 * server.c (load_data): Likewise.
1107 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
1108 * fixincl.c: #include <sys/wait.h>
1109 (run_compiles): Use XCNEWVEC instead of xcalloc.
1110 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
1111 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
1112
1113 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
1114
1115 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
1116 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
1117 * fixincl.x: Regenerate.
1118
1119 2005-05-06 Bruce Korb <bkorb@gnu.org>
1120 Joseph S. Myers <joseph@codesourcery.com>
1121
1122 * fixinc/inclhack.def: Correct backslashes
1123 * fixinc/fixincl.x: regen
1124
1125 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1126
1127 * system.h (fopen, fdopen, freopen): Define these to the unlocked
1128 libiberty functions.
1129
1130 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1131
1132 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
1133 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
1134 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
1135 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
1136 _unlocked function.
1137 (fwrite_unlocked): Fix prototype.
1138
1139 * configure, config.h.in: Regenerate.
1140
1141 2005-03-21 Zack Weinberg <zack@codesourcery.com>
1142
1143 * Makefile.in: Set gcc_version directly, not via substitution.
1144 (libsubdir): Use $(gcc_version), not $(version).
1145 (mkheaders.almost): New rule.
1146 (mkheaders): Generate from mkheaders.almost.
1147 (clean): Also delete mkheaders.almost.
1148 * aclocal.m4: Do not include ../config/gcc-version.m4.
1149 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
1150 mkheaders.almost from mkheaders.in.
1151 * configure: Regenerate.
1152
1153 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
1154
1155 PR target/20166
1156 * inclhack.def: Add fix for array of incomplete structures
1157 in function prototype in pthread.h.
1158 * fixincl.x: Regenerate.
1159 * tests/base/pthread.h: Adjust.
1160
1161 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
1162
1163 * inclhack.def (hpux_htonl): New fix.
1164 * tests/base/netinet/in.h: New test.
1165 * fixincl.x: Regenerate.
1166
1167 2005-02-23 James E Wilson <wilson@specifixinc.com>
1168
1169 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
1170
1171 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
1172
1173 PR 18458
1174 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
1175 fixincl.
1176
1177 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
1178
1179 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1180 * aclocal.m4: Include ../config/gcc-version.m4.
1181 * configure: Regenerate.
1182
1183 2004-11-26 Mark Mitchell <mark@codesourcery.com>
1184
1185 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
1186 (stdio_va_list): Likewise.
1187 (stdio_stdarg.h): Likewise.
1188 (solaris_stdio_tag): Add bypass.
1189 * fixincl.x: Regenerated.
1190
1191 2004-11-23 Geoffrey Keating <geoffk@apple.com>
1192
1193 * mkfixinc.sh: Check error code from 'cat'. Don't try running
1194 built fixincl program.
1195 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
1196 up csh from user.
1197
1198 2004-11-20 Roger Sayle <roger@eyesopen.com>
1199
1200 * inclhack.def (alpha_pthread_init): Fix technical problems with
1201 the last check-in caused by CVS variable substitution.
1202 * fixincl.x: Likewise.
1203 * tests/base/pthread.h: Likewise.
1204
1205 2004-11-20 Roger Sayle <roger@eyesopen.com>
1206 Bruce Korb <bkorb@gnu.org>
1207
1208 * inclhack.def (alpha_pthread_init): New fix.
1209 * fixincl.x: Regenerate.
1210 * tests/base/pthread.h: Update for new test.
1211
1212 2004-11-15 Bruce Korb <bkorb@gnu.org>
1213
1214 * fixincl.c(fix_with_system): correct misuse of variables and
1215 incorrect application of "sizeof()".
1216
1217 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
1218
1219 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
1220 svr4__p, undefine_null): Remove.
1221 * fixincl.x: Regenerate.
1222 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
1223 * tests/base/sys/param.h: Remove.
1224 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
1225 tests/base/sys/limits.h: Update.
1226
1227 2004-11-12 Mike Stump <mrs@apple.com>
1228
1229 * Makefile.in (html): Add html generation support.
1230
1231 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
1232
1233 * inclhack.def (sco_math): Bypass on __GNUG__.
1234 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
1235 * fixincl.x: Regenerate.
1236
1237 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
1238
1239 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1240 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1241 _CLASSIC_ANSI_TYPES.
1242 (sun_auth_proto): Bypass on __cplusplus.
1243 * fixincl.x: Regenerate.
1244
1245 2004-11-05 Geoffrey Keating <geoffk@apple.com>
1246
1247 * Makefile.in (mostlyclean): Add fixinc.sh.
1248 (clean): Add mkheaders.
1249 (distclean): New.
1250 (dvi): New.
1251 (info): New.
1252 (installcheck): New.
1253
1254 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
1255
1256 * Makefile.in (mostlyclean, distclean): New targets.
1257
1258 2004-11-04 Geoffrey Keating <geoffk@apple.com>
1259
1260 * configure.ac: Add code to determine noncanonical_target,
1261 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1262 * configure: Regenerate.
1263 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1264 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1265 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1266 update for changes to fixinc.in.
1267 * Makefile.in: Add many new macros.
1268 (install): New target.
1269 (mkheaders): New target.
1270 (fixinc.sh): New target.
1271 (all): Add mkheaders and fixinc.sh.
1272 * README-fixinc: Move here from gcc/.
1273
1274 2004-11-01 Mike Stump <mrs@apple.com>
1275
1276 * inclhack.def (stdio_va_list): Break out clients from here...
1277 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
1278 included or ifdef va_start.
1279 * fixincl.x: Regenerate.
1280
1281 2004-10-28 Mike Stump <mrs@apple.com>
1282
1283 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1284 systems.
1285 * fixincl.x: Regenerate.
1286
1287 2004-10-27 Geoffrey Keating <geoffk@apple.com>
1288
1289 * inclhack.def (darwin_gcc4_breakage): New.
1290 * fixincl.x: Regenerate.
1291
1292 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1293
1294 PR bootstrap/17832
1295
1296 * fixfixes.c (main): Check for _PC_NAME_MAX.
1297
1298 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
1299
1300 PR other/17991
1301
1302 * configure.ac: Fix typo.
1303 * configure: Regenerate.
1304 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
1305
1306 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1307
1308 PR bootstrap/17832
1309
1310 * fixincl.c (SIGCHLD): Remove definition.
1311 (initialize): Remove SIGIOT and SIGPIPE checks.
1312 (create_file): Fix mkdir() for Win32.
1313 (internal_fix): Use dup2() instead of fcntl().
1314
1315 * fixlib.h (SIGQUIT): Define if undefined.
1316 (SIGIOT): Same.
1317 (SIGPIPE): Same.
1318 (SIGALRM): Same.
1319 (SIGKILL): Same.
1320
1321 * procopen.c (chain_open): Use dup2() instead of fcntl().
1322
1323 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
1324
1325 PR other/17991
1326
1327 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1328 Update copyright year.
1329 * fixfixes.c (main): Call initialize_opts from fixopts.c.
1330 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1331 do not include code for parsing options (environment vars).
1332 (fix_with_system): Use a search path for applyfix, so that you
1333 can run the test suite with two-process fixincludes.
1334 * fixopts.c: New file.
1335 * configure.ac: Add --enable-twoprocess. Export ac_exeext
1336 to config.h. Default to --enable-twoprocess for MinGW32.
1337 * config.h.in: Regenerate.
1338 * configure: Regenerate.
1339
1340 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1341
1342 * tests/base/sys/cdefs.h: Update from test area.
1343
1344 2004-09-17 Roger Sayle <roger@eyesopen.com>
1345
1346 * inclhack.def (linux_ia64_ucontext): New fix.
1347 * fixincl.x: Regenerate.
1348 * tests/base/sys/ucontext.h: New file.
1349
1350 2004-09-15 Roger Sayle <roger@eyesopen.com>
1351
1352 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1353 * tests/base/stdlib.h: Likewise.
1354
1355 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
1356
1357 * inclhack.def (freebsd_gcc4_breakage): Add.
1358 * fixincl.x: Regenerate.
1359 * tests/base/sys/cdefs.h: Update for new test.
1360
1361 2004-09-10 Adam Nemet <anemet@lnxw.com>
1362
1363 * inclhack.def (lynx_void_int): Remove.
1364 (lynxos_fcntl_proto): Remove.
1365 (lynxos_no_warning_in_sys_time_h): New fix.
1366 (lynxos_missing_putenv): New fix.
1367 * fixincl.x: Regenerate.
1368 * tests/base/fcntl.h: Remove.
1369 * tests/base/sys/time.h: Update from test area.
1370 * tests/base/curses.h: Likewise.
1371 * tests/base/stdlib.h: Likewise.
1372
1373 2004-09-03 Jan Beulich <jbeulich@novell.com>
1374
1375 * inclhack.def: Suppress exception_structure and math_exception
1376 for NetWare headers.
1377 * fixincl.x: Regenerate.
1378
1379 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
1380
1381 * .cvsignore: New.
1382 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1383 autoconfiscated.
1384 * configure.ac: New.
1385 * config.h.in: Generate.
1386 * configure: Generate.
1387 * aclocal.m4: New.
1388 * fixlib.h: Remove inclusions of gcc files.
1389 * system.h: New.
1390
1391 Other files copied from gcc/fixinc.