OSDN Git Service

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