OSDN Git Service

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