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