OSDN Git Service

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