OSDN Git Service

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