OSDN Git Service

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