OSDN Git Service

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