OSDN Git Service

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