OSDN Git Service

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