OSDN Git Service

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