1 2010-03-28 H.J. Lu <hongjiu.lu@intel.com>
4 * mkfixinc.sh: Revert the last change for mingw.
6 2010-03-24 Joseph Myers <joseph@codesourcery.com>
8 * inclhack.def (glibc_strncpy): New fix.
9 * fixincl.x: Regenerate.
10 * tests/base/bits/string2.h: Update.
12 2010-03-23 H.J. Lu <hongjiu.lu@intel.com>
15 * mkfixinc.sh: Fix stdlib.h for mingw.
17 2010-02-19 Bruce Korb <bkorb@gnu.org>
19 * inclhack.def: remove vestiges of inadvertently committed changes
21 2010-02-10 Bruce Korb <bkorb@gnu.org>
23 * README: fix up references to old gcc/fixinc directory
25 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
27 * inclhack.def (solaris_int_limits_3): New fix.
28 * fixincl.x: Regenerate.
29 * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
32 * inclhack.def (solaris_int_const, solaris_int_limits_1,
33 solaris_int_limits_2 ): Applies to Solaris 2 in general.
35 Add mach for *-*-solaris2*.
36 Change second c_fix_arg to select.
37 Remove #pragma ident from test_text.
38 * fixincl.x: Regenerate.
39 * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
41 * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
42 SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
44 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
46 * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
47 (aix_stdint_2): Likewise.
48 (aix_stdint_3): Likewise.
49 (aix_stdint_4): Likewise.
50 (aix_stdint_5): Likewise.
51 (darwin_stdint_1): Add stdint-darwin.h to files.
52 (darwin_stdint_2): Likewise.
53 (darwin_stdint_3): Likewise.
54 (darwin_stdint_4): Likewise.
55 (darwin_stdint_5): Likewise.
56 (darwin_stdint_6): Likewise.
57 (darwin_stdint_7): Likewise.
58 (hpux_c99_intptr): Add stdint-hpux11.h to files.
59 (hpux_c99_inttypes): Likewise.
60 (hpux_c99_inttypes2): Likewise.
61 (hpux_stdint_least_fast): Likewise.
62 (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
63 (irix_stdint_c99_types): New fix.
64 (irix_stdint_c99_macros): New fix.
65 (newlib_stdint_1): Add stdint-newlib.h to files.
66 (newlib_stdint_2): Likewise.
67 fixincl.x: Regenerate.
68 tests/base/stdint-aix.h: New file.
69 tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
70 AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
71 tests/base/stdint-aix.h: ... here.
72 [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
73 [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
74 [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
75 tests/base/stdint-darwin.h: New file.
76 tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
77 DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
78 DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
79 tests/base/stdint-darwin.h: ... here.
80 [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
81 [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
82 [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
83 tests/base/stdint-hpux11.h: New file.
84 tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
85 HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
86 tests/base/stdint-hpux11.h: ... here.
87 [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
88 [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
89 tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
90 IRIX_STDINT_C99_MODE_CHECK.
91 tests/base/stdint-irix65.h: New file.
92 tests/base/stdint-newlib.h: New file.
93 tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
94 NEWLIB_STDINT_2_CHECK]: Moved ...
95 tests/base/stdint-newlib.h: ... here.
97 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
99 * configure: Regenerate.
101 2009-10-21 Steve Ellcey <sje@cup.hp.com>
103 * inclhack.def (hpux_stdint_least_fast): Simplify.
104 * fixincl.x: Regenerate.
105 * tests/base/stdint.h: Update.
107 2009-09-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
109 * inclhack.def (isc_fmod, isc_omits_with_stdc)
110 (nested_sys_limits, sco_math): Remove.
111 * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
112 * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
113 * tests/base/sys/limits.h: Remove.
114 * fixincl.x: Regenerate.
116 2009-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
121 * check.tpl: Fix typos.
122 * README: Likewise. Also, document that 'select' uses ERE.
123 * mkheaders.in: Update copyright years in --version output.
124 * inclhack.def (sco_math): Add missing final newline in sed
125 script 'a', 'c', or 'i' commands, for BSD sed.
126 (sco_math): In the text of 'a', 'c', or 'i' sed
127 commands, prepend leading white space with a backslash to avoid
128 the whitespace to be removed by BSD sed.
129 (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
130 (x11_new): Fix sed expression, for BSD sed.
131 (glibc_mutex_init): Fix newlines in sed 's' command replacement
132 part, for GNU sed 3.02 and Solaris sed.
133 (glibc_mutex_init): Replace unportable \+ sed regex operator
135 (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
136 alternation \| regex operator.
137 (solaris_complex): Remove superfluous backslashes from
138 replacement string. Replace \+ operator with \{1,\}.
139 * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
140 * fixincl.x: Regenerate.
142 2009-09-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
145 * inclhack.def (irix_complex): New fix.
146 (solaris_complex): Likewise.
147 * fixincl.x: Regenerate.
148 * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
151 2009-08-28 Bruce Korb <bkorb@gnu.org>
152 Steve Ellcey <sje@cup.hp.com>
154 * README (files): Describe files entry.
155 * inclhack.def (hpux_stdint_least): Remove.
156 (hpux_stdint_fast): Remove.
157 (hpux_stdint_fast): Remove.
158 (hpux_stdint_least_fast): New.
159 (hpux_inttype_int_least8_t): Remove.
160 (hpux_inttype_int8_t): Modify.
161 * fixincl.x: Regenerate.
162 * tests/base/stdint.h: Update.
163 * tests/base/sys/_inttypes.h: Update.
165 2009-08-28 Steve Ellcey <sje@cup.hp.com>
167 * inclhack.def (hpux_imaginary_i): Remove spaces.
168 * fixincl.x: Regenerate.
169 * tests/base/stdint.h: Update AIX fixes.
170 * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
172 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
174 * configure.ac (AC_PREREQ): Bump to 2.64.
176 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
178 * aclocal.m4: Regenerate.
179 * configure: Regenerate.
180 * config.h.in: Regenerate.
182 2009-08-17 David Edelsohn <edelsohn@gnu.org>
184 * inclhack.def (aix_complex): Redefine _Complex_I. Do not
186 * (aix_stdint_[12345]): New fixes.
187 * fixincl.x: Regenerate.
188 * tests/base/complex.h: Update check.
189 * tests/base/stdint.h: Add AIX stdint.h checks.
191 2009-08-14 Steve Ellcey <sje@cup.hp.com>
193 * inclhack.def (hpux_imaginary_i): New fix.
194 * fixincl.x: Regenerate.
195 * tests/base/complex.h: New file.
197 2009-08-12 David Edelsohn <edelsohn@gnu.org>
199 * inclhack.def (aix_complex): New fix.
200 * fixincl.x: Regenerate.
202 2009-08-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
204 * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
205 (hpux_inttype_int8_t): Likewise.
206 * fixincl.x: Regenerate.
208 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
210 * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
212 ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
215 2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
217 * inclhack.def (darwin_stdint_5, darwin_stdint_6,
218 darwin_stdint_7): New fixes.
219 * fixincl.x: Regenerate.
220 * tests/base/stdint.h: Adjust test for new fixes.
222 2009-07-03 Eric Botcazou <ebotcazou@adacore.com>
224 * inclhack.def (solaris_int_types): New fix.
225 * fixincl.x: Regenerate.
226 * tests/base/sys/int_types.h: New file.
228 2009-06-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
230 * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
231 darwin_stdint_4): New fixes.
232 * tests/base/stdint.h: Adjust test results for new fixes.
233 * fixincl.x: Regenerate.
235 2009-05-29 Eric Botcazou <ebotcazou@adacore.com>
237 * inclhack.def (solaris_int_const): New fix.
238 (solaris_int_limits_1): Likewise.
239 (solaris_int_limits_2): Likewise.
240 * fixincl.x: Regenerate.
241 * tests/base/sys/int_const.h: New file.
242 * tests/base/sys/int_limits.h: Likewise.
244 2009-05-15 Joseph Myers <joseph@codesourcery.com>
246 * inclhack.def (glibc_tgmath): Correct bypass.
247 * fixincl.x: Regenerate.
249 2009-04-28 Steve Ellcey <sje@cup.hp.com>
251 * inclhack.def (hpux11_uint32_c): Remove.
252 (hpux_long_double): Disable on hpux11.3*.
253 (hpux_long_double_2): New.
254 (hpux_c99_intptr): New.
255 (hpux_c99_inttypes): New.
256 (hpux_c99_inttypes2): New.
257 (hpux_stdint_least): New.
258 (hpux_stdint_fast): New.
259 (hpux_inttype_int_least8_t): New.
260 (hpux_inttype_int8_t): New.
261 * fixincl.x: Regenerate.
262 * tests/base/sys/_inttypes.h: New.
263 * tests/base/inttypes.h: Update.
264 * tests/base/stdlib.h: Update.
265 * tests/base/stdint.h: Update.
267 2009-04-28 Joseph Myers <joseph@codesourcery.com>
269 * inclhack.def (glibc_stdint): New fix.
270 * fixincl.x: Regenerate.
271 * tests/base/stdint.h: Update.
273 2009-04-09 Jakub Jelinek <jakub@redhat.com>
275 * Makefile.in: Change copyright header to refer to version
276 3 of the GNU General Public License and to point readers at the
277 COPYING3 file and the FSF's license web page.
278 * fixfixes.c: Likewise.
279 * fixinc.in: Likewise.
280 * fixincl.c: Likewise.
281 * fixlib.c: Likewise.
282 * fixlib.h: Likewise.
283 * fixopts.c: Likewise.
284 * fixtests.c: Likewise.
285 * genfixes: Likewise.
286 * mkheaders.in: Likewise.
287 * system.h: Likewise.
289 2009-03-31 Joseph Myers <joseph@codesourcery.com>
292 * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
293 * fixincl.x: Regenerate.
294 * tests/base/stdint.h: Update.
296 2009-03-29 Joseph Myers <joseph@codesourcery.com>
298 * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
301 2009-03-29 Joseph Myers <joseph@codesourcery.com>
309 * inclhack.def (glibc_tgmath): New fix.
310 * fixincl.x: Regenerate.
311 * tests/base/tgmath.h: New.
313 2009-03-28 Joseph Myers <joseph@codesourcery.com>
315 * inclhack.def (aix_syswait, exception_structure,
316 pthread_page_size): Remove.
317 (math_exception): Remove mention of fixproto in comment.
318 * fixincl.x: Regenerate.
319 * mkheaders.in: Do not handle STMP_FIXPROTO.
321 2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
323 * server.c (run_shell): Quote directory name passed to cd.
325 2009-03-01 Bruce Korb <bkorb@gnu.org>
326 Apply a positively ancient patch:
328 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
330 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
331 * tests/base/net/if.h: Add new test.
333 2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
335 * tests/base/locale.h: Add new test.
336 * tests/base/stdarg.h: Likewise.
338 2009-01-05 Steve Ellcey <sje@cup.hp.com>
340 * inclhack.def (hpux_spu_info): Add files line.
341 * fixincl.x: Regenerate.
343 2009-01-01 Andreas Tobler <a.tobler@schweiz.org>
345 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
347 * fixincl.x: Regenerate.
349 2008-12-31 Andreas Tobler <a.tobler@schweiz.org>
352 * inclhack.def (openbsd_va_start): Use __builtin_va_start
354 * fixincl.x: Regenerate.
356 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
358 * configure: Regenerate.
360 2008-12-15 Steve Ellcey <sje@cup.hp.com>
362 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
363 * fixincl.x: Regenerate.
365 2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
367 * configure.ac: Fix a typo.
368 * configured: Regenerate.
370 2008-09-06 Bruce Korb <bkorb@gnu.org>
372 * fixincl.tpl (sed): make the program executable configurable.
373 Some platforms have some rather oddball defaults.
374 * config.h.in (SED_PROGRAM): define the default sed.
375 * fixincl.x: regenerated
376 * tests/base/internal/wchar_core.h: fix bad sample text
377 * tests/base/math.h: fix bad sample text
378 * configure.ac: search for working sed
379 * inclhack.def (glibc_mutex_init): fix non-portable construct
380 and re-order a few misordered entries.
382 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
384 * configure: Regenerate.
386 2008-06-07 Joseph Myers <joseph@codesourcery.com>
388 * inclhack.def (AAB_svr4_replace_byteorder,
389 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
390 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
391 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
392 solaris_mutex_init_1, solaris_socket, solaris_unistd,
393 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
394 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
395 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
396 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
397 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
398 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
399 windiss_math2, windiss_valist): Remove.
400 * fixincl.x: Regenerate.
401 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
402 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
403 powerpc-*-eabiaix*): Remove.
404 * tests/base/math.h: Update.
405 * tests/base/pthread.h: Update.
406 * tests/base/stdio.h: Update.
407 * tests/base/stdlib.h: Update.
408 * tests/base/string.h: Update.
409 * tests/base/strings.h: Update.
410 * tests/base/sys/file.h: Update.
411 * tests/base/sys/limits.h: Update.
412 * tests/base/sys/socket.h: Update.
413 * tests/base/sys/stat.h: Update.
414 * tests/base/sys/time.h: Update.
415 * tests/base/testing.h: Update.
416 * tests/base/unistd.h: Update.
417 * tests/base/_G_config.h: Remove.
418 * tests/base/arpa: Remove directory.
419 * tests/base/fs: Remove directory.
420 * tests/base/locale.h: Remove.
421 * tests/base/machine: Remove directory.
422 * tests/base/rpc/svc.h: Remove.
423 * tests/base/sys/ioctl.h: Remove.
424 * tests/base/sys/regset.h: Remove.
425 * tests/base/sys/times.h: Remove.
426 * tests/base/sys/utsname.h: Remove.
427 * tests/base/widec.h: Remove.
429 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
431 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
432 * tests/base/iso/math_c99.h: Update.
433 * fixincl.x: Regenerate.
435 2008-05-14 Joseph Myers <joseph@codesourcery.com>
437 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
439 * fixincl.x: Regenerate.
441 2008-04-25 Kai Tietz <kai.tietz@onvision.com>
443 * fixincl.c (fix_with_system): Cast pointer difference to long.
444 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
446 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
449 * Makefile.in: Rewrite aclocal.m4 rule.
450 * aclocal.m4: Regenerate.
451 * configure: Regenerate.
453 2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
456 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
457 * fixincl.x: Regenerate.
458 * tests/base/stdio.h: Add test.
460 2008-02-25 Ben Elliston <bje@au.ibm.com>
463 * fixincl.c (fix_applies): Remove unused variable `name_len'.
465 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
467 * inclhack.def (solaris_math_10): New.
468 * tests/base/iso/math_c99.h: Update.
470 * fixincl.x: Regenerate.
472 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
474 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
475 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
476 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
477 quotes around mach entries.
478 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
481 2008-02-04 Hans-Peter Nilsson <hp@axis.com>
484 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
485 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
486 __extern_inline|__GNU_STDC_INLINE__.
487 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
488 <bypass>: Change from __STDC_VERSION__ to
489 __extern_inline|__GNU_STDC_INLINE__.
490 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
491 appending attribute-gnu_inline.
492 <second c_fix_arg>: Remove.
493 <test_text>: Remove __extern_inline line.
494 * tests/base/features.h: Re-add.
495 * tests/base/sys/sysmacros.h: Adjust.
496 * fixincl.x: Regenerate.
498 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
502 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
504 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
505 * fixincl.x: Regenerate.
506 * tests/base/wchar.h: Update.
507 * tests/base/features.h: New.
509 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
512 * inclhack.def (hpux11_pthread_const): New.
513 * fixincl.x: Regenerate.
514 * tests/base/sys/pthread.h: Update.
516 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
518 * configure.ac: x86_64 mingw target uses twoprocess.
519 * mkfixinc.sh: Add x86_64 mingw target.
520 * configure: Regenerate.
522 2007-10-09 Geoffrey Keating <geoffk@apple.com>
524 * inclhack.def (darwin_externc): New.
525 * fixincl.x: Regenerate.
526 * tests/base/mach-o/swap.h: New.
528 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
530 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
532 * tests/base/iso/math_c99.h: Delete associated test baselines.
533 * fixincl.x: Regenerate.
535 2007-07-24 Krister Walfridsson <cato@df.lth.se>
538 * inclhack.def (netbsd_c99_inline_2): New.
539 * fixincl.x: Regenerate.
540 * tests/base/signal.h: Update.
542 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
546 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
547 solaris_math_7): Constify and make FP exception-safe.
548 * tests/base/iso/math_c99.h: Update.
550 * fixincl.x: Regenerate.
552 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
555 * inclhack.def (irix_stdint_c99): New fix.
556 * fixincl.x: Regenerate.
557 * tests/base/stdint.h: New test.
559 2007-06-06 Steve Ellcey <sje@cup.hp.com>
562 * inclhack.def (hppa_hpux_fp_macros): New.
563 * fixincl.x: Regenerate.
564 * tests/base/math.h: Update.
566 2007-03-26 Jakub Jelinek <jakub@redhat.com>
568 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
569 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
570 __STDC_VERSION__ < 199901L.
571 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
572 with #ifdef __GNUC_GNU_INLINE__.
573 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
574 with defined(__GNUC_STDC_INLINE__).
575 (glibc_c99_inline_4): Change select, add second c_fix_arg.
576 Replace #if __STDC_VERSION__ < 199901L with
577 #ifdef __GNUC_GNU_INLINE__.
578 * fixincl.x: Regenerated.
579 * tests/base/bits/string2.h: Update.
580 * tests/base/sys/sysmacros.h: Update.
581 * tests/base/sys/stat.h: Update.
583 2007-03-18 Krister Walfridsson <cato@df.lth.se>
586 * inclhack.def (netbsd_c99_inline_1): New.
587 * fixincl.x: Regenerate.
588 * tests/base/signal.h: New.
590 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
592 * Makefile.in: Add dummy "install-info" target.
594 2007-03-06 Joseph Myers <joseph@codesourcery.com>
596 * mkheaders.in: Fix headers for each multilib required.
598 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
600 * Makefile.in: Add dummy install-pdf target.
602 2007-02-27 Joseph Myers <joseph@codesourcery.com>
604 * mkheaders.in (incdir): Use include-fixed not include.
606 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
608 * Makefile.in: Added "pdf" target to .PHONY.
610 2007-02-05 Richard Guenther <rguenther@suse.de>
612 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
613 with older glibc. Adjust version number for C99.
614 * fixincl.x: Regenerated.
616 2007-02-04 Mike Stump <mrs@apple.com>
618 * mkheaders.in: Allow optional isysroot parameter.
620 2007-02-03 Bruce Korb <bkorb@gnu.org>
622 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
623 surrounded by space characters.
625 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
628 * inclhack.def(broken_cabs): Also remove definition of cabsl.
629 * fixincl.x: Regenerate.
630 * tests/base/math.h: Update.
632 2007-01-05 Bruce Korb <bkorb@gnu.org>,
633 Daniel Franke <franke.daniel@gmail.com>
636 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
637 of a vertical bar ("|").
638 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
639 matching. Set SKIP_TEST flag if we are not to run a test.
640 * fixincl.x: Regenerate.
641 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
642 kandr_concat, sco_math): Replace lists of specfic file names by search
645 2006-12-12 Olivier Hainque <hainque@adacore.com>
647 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
648 targets for which a no-op fixer is appropriate.
650 2006-11-07 Richard Guenther <rguenther@suse.de>
652 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
654 * fixincl.x: Regenerate.
656 2006-11-02 Geoffrey Keating <geoffk@apple.com>
658 * inclhack.def (glibc_c99_inline_1): New.
659 * inclhack.def (glibc_c99_inline_2): New.
660 * inclhack.def (glibc_c99_inline_3): New.
661 * inclhack.def (glibc_c99_inline_4): New.
662 * fixincl.x: Regenerate.
663 * tests/base/bits/string2.h: New.
664 * tests/base/sys/sysmacros.h: New.
665 * tests/base/sys/stat.h: Update.
667 2006-11-01 Steve Ellcey <sje@cup.hp.com>
669 * tests/base/sys/socket.h: Update.
671 2006-10-31 Steve Ellcey <sje@cup.hp.com>
673 * inclhack.def (hpux11_extern_sendfile): New.
674 (hpux11_extern_sendpath): New.
675 * fixincl.x: Regenerate.
677 2006-10-29 Joseph Myers <joseph@codesourcery.com>
679 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
680 * fixincl.x: Regenerate.
682 2006-10-10 Brooks Moses <bmoses@stanford.edu>
684 * Makefile.in: Added empty "pdf" target.
686 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
689 * inclhack.def (hpux_pthread_initializers): New hack.
690 * tests/base/sys/pthread.h: New file.
692 * fixincl.x: Regenerate.
694 2006-10-03 Uros Bizjak <uros@kss-loka.si>
696 * inclhack.def (glibc_mutex_init): Also fix
697 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
698 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
699 * tests/base/pthread.h: Update.
701 * fixincl.x: Regenerate.
703 2006-10-01 Uros Bizjak <uros@kss-loka.si>
705 * inclhack.def (glibc_mutex_init): New fix.
706 * tests/base/pthread.h: Update.
708 * fixincl.x: Regenerate.
710 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
712 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
713 Prevent it from running on solaris10 or later.
714 (solaris_once_init_2): Fix comment.
715 * tests/base/pthread.h: Update.
717 * fixincl.x: Regenerate.
719 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
721 * inclhack.def (solaris_once_init_2): New fix.
722 * tests/base/pthread.h: Update.
724 * fixincl.x: Regenerate.
726 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
728 * inclhack.def (solaris_mutex_init_2): Remove test for
729 PTHREAD_RWLOCK_INITIALIZER.
730 (solaris_rwlock_init_1): New.
731 * tests/base/pthread.h: Update.
733 * inclhack.def (solaris_once_init_1): New.
734 * tests/base/pthread.h: Adjust for new fix.
736 * fixincl.x: Regenerate.
738 2006-07-17 Roger Sayle <roger@eyesopen.com>
740 * tests/base/errno.h: New file.
741 * tests/base/architecture/ppc/math.h: Likewise.
742 * tests/base/ia64/sys/getppdp.h: Likewise.
744 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
747 * Makefile.in (configure, config.h.in): Change into $(srcdir)
748 before autoconf or autoheader call.
750 2006-06-23 Steve Ellcey <sje@cup.hp.com>
753 * inclhack.def (hpux_extern_errno): New.
754 * fixincl.x: Regenerate.
756 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
758 * Makefile.in: Add dvi info html and install-html to .PHONY
759 Add install-html target.
761 2006-05-16 Mike Stump <mrs@apple.com>
763 * configure.ac: Add -Wno-overlength-strings.
764 * configure: Regenerate.
766 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
770 2006-02-18 Steve Ellcey <sje@cup.hp.com>
773 * inclhack.def (hpux_spu_info): New.
774 * fixincl.x: Regenerate
776 2006-01-31 Marcin Dalecki <martin@dalecki.de>
778 * configure.ac: Check for asprintf, basename, vasprintf.
779 * config.h.in: Regenerate.
780 * configure: Regenerate.
782 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
785 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
788 * fixincl.x: Regenerate.
790 2005-11-24 Bruce Korb <bkorb@gnu.org>
792 * fixincl.c (write_replacement): "here strings" in AutoGen
793 often/generally don't have a terminating newline. Check the
796 2005-11-13 Andreas Jaeger <aj@suse.de>
798 * check.tpl: Handle CVS additionally.
800 2005-11-05 Andreas Jaeger <aj@suse.de>
802 * check.tpl: Adopt for move to subversion.
804 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
807 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
809 * fixincl.x: Regenerate.
810 * tests/base/bits/huge_val.h: New file.
812 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
814 * All files: Update with new FSF address.
816 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
818 * Makefile.in (WARN_CFLAGS): New.
819 (.c.o): Add $(WARN_CFLAGS).
820 * aclocal.m4: Include ../config/warnings.m4.
821 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
822 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
823 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
824 * fixopts.c (initialize_opts): Fix old-style definintion.
826 * configure: Regenerate.
828 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
830 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
831 (AAB_darwin7_9_long_double_funcs_2): New.
832 * fixincl.x: Regenerate.
834 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
837 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
838 Use double quotes in select so \t matches tabs.
840 * fixincl.x: Regenerate.
841 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
843 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
846 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
848 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
849 Joseph S. Myers <joseph@codesourcery.com>
853 * inclhack.def: New fixes solaris_math_[1-9].
854 * fixincl.x: Regenerate.
855 * tests/base/iso/math_c99.h: New.
857 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
859 * aclocal.m4: Remove superfluous reference to accross.m4.
861 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
863 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
864 * server.c (load_data): Likewise.
865 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
866 * fixincl.c: #include <sys/wait.h>
867 (run_compiles): Use XCNEWVEC instead of xcalloc.
868 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
869 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
871 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
873 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
874 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
875 * fixincl.x: Regenerate.
877 2005-05-06 Bruce Korb <bkorb@gnu.org>
878 Joseph S. Myers <joseph@codesourcery.com>
880 * fixinc/inclhack.def: Correct backslashes
881 * fixinc/fixincl.x: regen
883 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
885 * system.h (fopen, fdopen, freopen): Define these to the unlocked
888 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
890 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
891 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
892 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
893 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
895 (fwrite_unlocked): Fix prototype.
897 * configure, config.h.in: Regenerate.
899 2005-03-21 Zack Weinberg <zack@codesourcery.com>
901 * Makefile.in: Set gcc_version directly, not via substitution.
902 (libsubdir): Use $(gcc_version), not $(version).
903 (mkheaders.almost): New rule.
904 (mkheaders): Generate from mkheaders.almost.
905 (clean): Also delete mkheaders.almost.
906 * aclocal.m4: Do not include ../config/gcc-version.m4.
907 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
908 mkheaders.almost from mkheaders.in.
909 * configure: Regenerate.
911 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
914 * inclhack.def: Add fix for array of incomplete structures
915 in function prototype in pthread.h.
916 * fixincl.x: Regenerate.
917 * tests/base/pthread.h: Adjust.
919 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
921 * inclhack.def (hpux_htonl): New fix.
922 * tests/base/netinet/in.h: New test.
923 * fixincl.x: Regenerate.
925 2005-02-23 James E Wilson <wilson@specifixinc.com>
927 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
929 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
932 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
935 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
937 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
938 * aclocal.m4: Include ../config/gcc-version.m4.
939 * configure: Regenerate.
941 2004-11-26 Mark Mitchell <mark@codesourcery.com>
943 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
944 (stdio_va_list): Likewise.
945 (stdio_stdarg.h): Likewise.
946 (solaris_stdio_tag): Add bypass.
947 * fixincl.x: Regenerated.
949 2004-11-23 Geoffrey Keating <geoffk@apple.com>
951 * mkfixinc.sh: Check error code from 'cat'. Don't try running
952 built fixincl program.
953 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
956 2004-11-20 Roger Sayle <roger@eyesopen.com>
958 * inclhack.def (alpha_pthread_init): Fix technical problems with
959 the last check-in caused by CVS variable substitution.
960 * fixincl.x: Likewise.
961 * tests/base/pthread.h: Likewise.
963 2004-11-20 Roger Sayle <roger@eyesopen.com>
964 Bruce Korb <bkorb@gnu.org>
966 * inclhack.def (alpha_pthread_init): New fix.
967 * fixincl.x: Regenerate.
968 * tests/base/pthread.h: Update for new test.
970 2004-11-15 Bruce Korb <bkorb@gnu.org>
972 * fixincl.c(fix_with_system): correct misuse of variables and
973 incorrect application of "sizeof()".
975 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
977 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
978 svr4__p, undefine_null): Remove.
979 * fixincl.x: Regenerate.
980 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
981 * tests/base/sys/param.h: Remove.
982 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
983 tests/base/sys/limits.h: Update.
985 2004-11-12 Mike Stump <mrs@apple.com>
987 * Makefile.in (html): Add html generation support.
989 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
991 * inclhack.def (sco_math): Bypass on __GNUG__.
992 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
993 * fixincl.x: Regenerate.
995 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
997 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
998 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1000 (sun_auth_proto): Bypass on __cplusplus.
1001 * fixincl.x: Regenerate.
1003 2004-11-05 Geoffrey Keating <geoffk@apple.com>
1005 * Makefile.in (mostlyclean): Add fixinc.sh.
1006 (clean): Add mkheaders.
1010 (installcheck): New.
1012 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
1014 * Makefile.in (mostlyclean, distclean): New targets.
1016 2004-11-04 Geoffrey Keating <geoffk@apple.com>
1018 * configure.ac: Add code to determine noncanonical_target,
1019 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1020 * configure: Regenerate.
1021 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1022 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1023 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1024 update for changes to fixinc.in.
1025 * Makefile.in: Add many new macros.
1026 (install): New target.
1027 (mkheaders): New target.
1028 (fixinc.sh): New target.
1029 (all): Add mkheaders and fixinc.sh.
1030 * README-fixinc: Move here from gcc/.
1032 2004-11-01 Mike Stump <mrs@apple.com>
1034 * inclhack.def (stdio_va_list): Break out clients from here...
1035 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
1036 included or ifdef va_start.
1037 * fixincl.x: Regenerate.
1039 2004-10-28 Mike Stump <mrs@apple.com>
1041 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1043 * fixincl.x: Regenerate.
1045 2004-10-27 Geoffrey Keating <geoffk@apple.com>
1047 * inclhack.def (darwin_gcc4_breakage): New.
1048 * fixincl.x: Regenerate.
1050 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1054 * fixfixes.c (main): Check for _PC_NAME_MAX.
1056 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
1060 * configure.ac: Fix typo.
1061 * configure: Regenerate.
1062 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
1064 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1068 * fixincl.c (SIGCHLD): Remove definition.
1069 (initialize): Remove SIGIOT and SIGPIPE checks.
1070 (create_file): Fix mkdir() for Win32.
1071 (internal_fix): Use dup2() instead of fcntl().
1073 * fixlib.h (SIGQUIT): Define if undefined.
1079 * procopen.c (chain_open): Use dup2() instead of fcntl().
1081 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
1085 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1086 Update copyright year.
1087 * fixfixes.c (main): Call initialize_opts from fixopts.c.
1088 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1089 do not include code for parsing options (environment vars).
1090 (fix_with_system): Use a search path for applyfix, so that you
1091 can run the test suite with two-process fixincludes.
1092 * fixopts.c: New file.
1093 * configure.ac: Add --enable-twoprocess. Export ac_exeext
1094 to config.h. Default to --enable-twoprocess for MinGW32.
1095 * config.h.in: Regenerate.
1096 * configure: Regenerate.
1098 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1100 * tests/base/sys/cdefs.h: Update from test area.
1102 2004-09-17 Roger Sayle <roger@eyesopen.com>
1104 * inclhack.def (linux_ia64_ucontext): New fix.
1105 * fixincl.x: Regenerate.
1106 * tests/base/sys/ucontext.h: New file.
1108 2004-09-15 Roger Sayle <roger@eyesopen.com>
1110 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1111 * tests/base/stdlib.h: Likewise.
1113 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
1115 * inclhack.def (freebsd_gcc4_breakage): Add.
1116 * fixincl.x: Regenerate.
1117 * tests/base/sys/cdefs.h: Update for new test.
1119 2004-09-10 Adam Nemet <anemet@lnxw.com>
1121 * inclhack.def (lynx_void_int): Remove.
1122 (lynxos_fcntl_proto): Remove.
1123 (lynxos_no_warning_in_sys_time_h): New fix.
1124 (lynxos_missing_putenv): New fix.
1125 * fixincl.x: Regenerate.
1126 * tests/base/fcntl.h: Remove.
1127 * tests/base/sys/time.h: Update from test area.
1128 * tests/base/curses.h: Likewise.
1129 * tests/base/stdlib.h: Likewise.
1131 2004-09-03 Jan Beulich <jbeulich@novell.com>
1133 * inclhack.def: Suppress exception_structure and math_exception
1134 for NetWare headers.
1135 * fixincl.x: Regenerate.
1137 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
1140 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1142 * configure.ac: New.
1143 * config.h.in: Generate.
1144 * configure: Generate.
1146 * fixlib.h: Remove inclusions of gcc files.
1149 Other files copied from gcc/fixinc.