OSDN Git Service

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