OSDN Git Service

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