OSDN Git Service

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