OSDN Git Service

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