OSDN Git Service

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