OSDN Git Service

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