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