OSDN Git Service

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