OSDN Git Service

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