1 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3 * inclhack.def (alpha_assert): Allow for more whitespace in
5 * fixincl.x: Regenerate.
7 2010-03-28 H.J. Lu <hongjiu.lu@intel.com>
10 * mkfixinc.sh: Revert the last change for mingw.
12 2010-03-24 Joseph Myers <joseph@codesourcery.com>
14 * inclhack.def (glibc_strncpy): New fix.
15 * fixincl.x: Regenerate.
16 * tests/base/bits/string2.h: Update.
18 2010-03-23 H.J. Lu <hongjiu.lu@intel.com>
21 * mkfixinc.sh: Fix stdlib.h for mingw.
23 2010-02-19 Bruce Korb <bkorb@gnu.org>
25 * inclhack.def: remove vestiges of inadvertently committed changes
27 2010-02-10 Bruce Korb <bkorb@gnu.org>
29 * README: fix up references to old gcc/fixinc directory
31 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
33 * inclhack.def (solaris_int_limits_3): New fix.
34 * fixincl.x: Regenerate.
35 * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_3_CHECK]: New
38 * inclhack.def (solaris_int_const, solaris_int_limits_1,
39 solaris_int_limits_2 ): Applies to Solaris 2 in general.
41 Add mach for *-*-solaris2*.
42 Change second c_fix_arg to select.
43 Remove #pragma ident from test_text.
44 * fixincl.x: Regenerate.
45 * tests/base/sys/int_const.h [SOLARIS_INT_CONST_CHECK]: Remove
47 * tests/base/sys/int_limits.h [SOLARIS_INT_LIMITS_1_CHECK,
48 SOLARIS_INT_LIMITS_2_CHECK]: Likewise.
50 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
52 * inclhack.def (aix_stdint_1): Add stdint-aix.h to files.
53 (aix_stdint_2): Likewise.
54 (aix_stdint_3): Likewise.
55 (aix_stdint_4): Likewise.
56 (aix_stdint_5): Likewise.
57 (darwin_stdint_1): Add stdint-darwin.h to files.
58 (darwin_stdint_2): Likewise.
59 (darwin_stdint_3): Likewise.
60 (darwin_stdint_4): Likewise.
61 (darwin_stdint_5): Likewise.
62 (darwin_stdint_6): Likewise.
63 (darwin_stdint_7): Likewise.
64 (hpux_c99_intptr): Add stdint-hpux11.h to files.
65 (hpux_c99_inttypes): Likewise.
66 (hpux_c99_inttypes2): Likewise.
67 (hpux_stdint_least_fast): Likewise.
68 (irix_stdint_c99): Renamed to irix_stdint_c99_mode.
69 (irix_stdint_c99_types): New fix.
70 (irix_stdint_c99_macros): New fix.
71 (newlib_stdint_1): Add stdint-newlib.h to files.
72 (newlib_stdint_2): Likewise.
73 fixincl.x: Regenerate.
74 tests/base/stdint-aix.h: New file.
75 tests/base/stdint.h [AIX_STDINT_1_CHECK, AIX_STDINT_2_CHECK,
76 AIX_STDINT_3_CHECK, AIX_STDINT_4_CHECK, AIX_STDINT_5_CHECK]: Moved ...
77 tests/base/stdint-aix.h: ... here.
78 [AIX_STDINT_3_CHECK]: Updated to match aix_stdint_3 fix.
79 [AIX_STDINT_4_CHECK]: Updated to match aix_stdint_4 fix.
80 [AIX_STDINT_5_CHECK]: Updated to match aix_stdint_5 fix.
81 tests/base/stdint-darwin.h: New file.
82 tests/base/stdint.h [DARWIN_STDINT_1_CHECK, DARWIN_STDINT_2_CHECK,
83 DARWIN_STDINT_3_CHECK, DARWIN_STDINT_4_CHECK,
84 DARWIN_STDINT_5_CHECK, DARWIN_STDINT_6_CHECK]: Moved ...
85 tests/base/stdint-darwin.h: ... here.
86 [DARWIN_STDINT_1_CHECK]: Updated to match darwin_stdint_1 fix.
87 [DARWIN_STDINT_4_CHECK]: Updated to match darwin_stdint_4 fix.
88 [DARWIN_STDINT_6_CHECK]: Updated to match darwin_stdint_6 fix.
89 tests/base/stdint-hpux11.h: New file.
90 tests/base/stdint.h [HPUX_C99_INTPTR_CHECK,
91 HPUX_C99_INTTYPES2_CHECK, HPUX_STDINT_LEAST_FAST_CHECK]: Moved ...
92 tests/base/stdint-hpux11.h: ... here.
93 [HPUX_C99_INTPTR_CHECK]: Updated to match hpux_c99_intptr fix.
94 [HPUX_C99_INTTYPES2_CHECK]: Updated to match hpux_c99_inttypes2 fix.
95 tests/base/stdint.h [IRIX_STDINT_C99_CHECK]: Renamed guard to
96 IRIX_STDINT_C99_MODE_CHECK.
97 tests/base/stdint-irix65.h: New file.
98 tests/base/stdint-newlib.h: New file.
99 tests/base/stdint.h [NEWLIB_STDINT_1_CHECK,
100 NEWLIB_STDINT_2_CHECK]: Moved ...
101 tests/base/stdint-newlib.h: ... here.
103 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
105 * configure: Regenerate.
107 2009-10-21 Steve Ellcey <sje@cup.hp.com>
109 * inclhack.def (hpux_stdint_least_fast): Simplify.
110 * fixincl.x: Regenerate.
111 * tests/base/stdint.h: Update.
113 2009-09-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
115 * inclhack.def (isc_fmod, isc_omits_with_stdc)
116 (nested_sys_limits, sco_math): Remove.
117 * tests/base/math.h (ISC_FMOD_CHECK, SCO_MATH_CHECK): Remove.
118 * tests/base/stdio.h (ISC_OMITS_WITH_STDC_CHECK): Remove.
119 * tests/base/sys/limits.h: Remove.
120 * fixincl.x: Regenerate.
122 2009-09-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
127 * check.tpl: Fix typos.
128 * README: Likewise. Also, document that 'select' uses ERE.
129 * mkheaders.in: Update copyright years in --version output.
130 * inclhack.def (sco_math): Add missing final newline in sed
131 script 'a', 'c', or 'i' commands, for BSD sed.
132 (sco_math): In the text of 'a', 'c', or 'i' sed
133 commands, prepend leading white space with a backslash to avoid
134 the whitespace to be removed by BSD sed.
135 (sco_math): Match plain 'C++' instead of 'C\+\+' in sed regex.
136 (x11_new): Fix sed expression, for BSD sed.
137 (glibc_mutex_init): Fix newlines in sed 's' command replacement
138 part, for GNU sed 3.02 and Solaris sed.
139 (glibc_mutex_init): Replace unportable \+ sed regex operator
141 (glibc_c99_inline_2, glibc_mutex_init): Avoid unportable sed
142 alternation \| regex operator.
143 (solaris_complex): Remove superfluous backslashes from
144 replacement string. Replace \+ operator with \{1,\}.
145 * tests/base/Xm/Traversal.h: This is fixed for BSD sed now.
146 * fixincl.x: Regenerate.
148 2009-09-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
151 * inclhack.def (irix_complex): New fix.
152 (solaris_complex): Likewise.
153 * fixincl.x: Regenerate.
154 * tests/base/complex.h [IRIX_COMPLEX_CHECK, SOLARIS_COMPLEX_CHECK]:
157 2009-08-28 Bruce Korb <bkorb@gnu.org>
158 Steve Ellcey <sje@cup.hp.com>
160 * README (files): Describe files entry.
161 * inclhack.def (hpux_stdint_least): Remove.
162 (hpux_stdint_fast): Remove.
163 (hpux_stdint_fast): Remove.
164 (hpux_stdint_least_fast): New.
165 (hpux_inttype_int_least8_t): Remove.
166 (hpux_inttype_int8_t): Modify.
167 * fixincl.x: Regenerate.
168 * tests/base/stdint.h: Update.
169 * tests/base/sys/_inttypes.h: Update.
171 2009-08-28 Steve Ellcey <sje@cup.hp.com>
173 * inclhack.def (hpux_imaginary_i): Remove spaces.
174 * fixincl.x: Regenerate.
175 * tests/base/stdint.h: Update AIX fixes.
176 * tests/base/complex.h: Change HPUX_IMAGINARY_I_CHECK fix.
178 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
180 * configure.ac (AC_PREREQ): Bump to 2.64.
182 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
184 * aclocal.m4: Regenerate.
185 * configure: Regenerate.
186 * config.h.in: Regenerate.
188 2009-08-17 David Edelsohn <edelsohn@gnu.org>
190 * inclhack.def (aix_complex): Redefine _Complex_I. Do not
192 * (aix_stdint_[12345]): New fixes.
193 * fixincl.x: Regenerate.
194 * tests/base/complex.h: Update check.
195 * tests/base/stdint.h: Add AIX stdint.h checks.
197 2009-08-14 Steve Ellcey <sje@cup.hp.com>
199 * inclhack.def (hpux_imaginary_i): New fix.
200 * fixincl.x: Regenerate.
201 * tests/base/complex.h: New file.
203 2009-08-12 David Edelsohn <edelsohn@gnu.org>
205 * inclhack.def (aix_complex): New fix.
206 * fixincl.x: Regenerate.
208 2009-08-01 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
210 * inclhack.def (hpux_inttype_int_least8_t): Also apply on hpux10*.
211 (hpux_inttype_int8_t): Likewise.
212 * fixincl.x: Regenerate.
214 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
216 * Makefile.in (AUTOCONF, AUTOHEADER, ACLOCAL, ACLOCAL_AMFLAGS):
218 ($(srcdir)/configure, $(srcdir)/config.h.in, $(srcdir)/aclocal.m4):
221 2009-07-04 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
223 * inclhack.def (darwin_stdint_5, darwin_stdint_6,
224 darwin_stdint_7): New fixes.
225 * fixincl.x: Regenerate.
226 * tests/base/stdint.h: Adjust test for new fixes.
228 2009-07-03 Eric Botcazou <ebotcazou@adacore.com>
230 * inclhack.def (solaris_int_types): New fix.
231 * fixincl.x: Regenerate.
232 * tests/base/sys/int_types.h: New file.
234 2009-06-09 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
236 * inclhack.def (darwin_stdint_1, darwin_stdint_2, darwin_stdint_3,
237 darwin_stdint_4): New fixes.
238 * tests/base/stdint.h: Adjust test results for new fixes.
239 * fixincl.x: Regenerate.
241 2009-05-29 Eric Botcazou <ebotcazou@adacore.com>
243 * inclhack.def (solaris_int_const): New fix.
244 (solaris_int_limits_1): Likewise.
245 (solaris_int_limits_2): Likewise.
246 * fixincl.x: Regenerate.
247 * tests/base/sys/int_const.h: New file.
248 * tests/base/sys/int_limits.h: Likewise.
250 2009-05-15 Joseph Myers <joseph@codesourcery.com>
252 * inclhack.def (glibc_tgmath): Correct bypass.
253 * fixincl.x: Regenerate.
255 2009-04-28 Steve Ellcey <sje@cup.hp.com>
257 * inclhack.def (hpux11_uint32_c): Remove.
258 (hpux_long_double): Disable on hpux11.3*.
259 (hpux_long_double_2): New.
260 (hpux_c99_intptr): New.
261 (hpux_c99_inttypes): New.
262 (hpux_c99_inttypes2): New.
263 (hpux_stdint_least): New.
264 (hpux_stdint_fast): New.
265 (hpux_inttype_int_least8_t): New.
266 (hpux_inttype_int8_t): New.
267 * fixincl.x: Regenerate.
268 * tests/base/sys/_inttypes.h: New.
269 * tests/base/inttypes.h: Update.
270 * tests/base/stdlib.h: Update.
271 * tests/base/stdint.h: Update.
273 2009-04-28 Joseph Myers <joseph@codesourcery.com>
275 * inclhack.def (glibc_stdint): New fix.
276 * fixincl.x: Regenerate.
277 * tests/base/stdint.h: Update.
279 2009-04-09 Jakub Jelinek <jakub@redhat.com>
281 * Makefile.in: Change copyright header to refer to version
282 3 of the GNU General Public License and to point readers at the
283 COPYING3 file and the FSF's license web page.
284 * fixfixes.c: Likewise.
285 * fixinc.in: Likewise.
286 * fixincl.c: Likewise.
287 * fixlib.c: Likewise.
288 * fixlib.h: Likewise.
289 * fixopts.c: Likewise.
290 * fixtests.c: Likewise.
291 * genfixes: Likewise.
292 * mkheaders.in: Likewise.
293 * system.h: Likewise.
295 2009-03-31 Joseph Myers <joseph@codesourcery.com>
298 * inclhack.def (newlib_stdint_1, newlib_stdint_2): New fixes.
299 * fixincl.x: Regenerate.
300 * tests/base/stdint.h: Update.
302 2009-03-29 Joseph Myers <joseph@codesourcery.com>
304 * tests/base/math.h, tests/base/pthread.h, tests/base/sys/wait.h:
307 2009-03-29 Joseph Myers <joseph@codesourcery.com>
315 * inclhack.def (glibc_tgmath): New fix.
316 * fixincl.x: Regenerate.
317 * tests/base/tgmath.h: New.
319 2009-03-28 Joseph Myers <joseph@codesourcery.com>
321 * inclhack.def (aix_syswait, exception_structure,
322 pthread_page_size): Remove.
323 (math_exception): Remove mention of fixproto in comment.
324 * fixincl.x: Regenerate.
325 * mkheaders.in: Do not handle STMP_FIXPROTO.
327 2009-03-27 Sandra Loosemore <sandra@codesourcery.com>
329 * server.c (run_shell): Quote directory name passed to cd.
331 2009-03-01 Bruce Korb <bkorb@gnu.org>
332 Apply a positively ancient patch:
334 2004-10-15 Giovanni Bajo <giovannibajo@libero.it>
336 * inclhack.def (alpha_if_semicolon): new fix from long, long ago
337 * tests/base/net/if.h: Add new test.
339 2009-01-06 Andreas Tobler <a.tobler@schweiz.org>
341 * tests/base/locale.h: Add new test.
342 * tests/base/stdarg.h: Likewise.
344 2009-01-05 Steve Ellcey <sje@cup.hp.com>
346 * inclhack.def (hpux_spu_info): Add files line.
347 * fixincl.x: Regenerate.
349 2009-01-01 Andreas Tobler <a.tobler@schweiz.org>
351 * inclhack.def (openbsd_null_definition): Redefine NULL to (void *)0
353 * fixincl.x: Regenerate.
355 2008-12-31 Andreas Tobler <a.tobler@schweiz.org>
358 * inclhack.def (openbsd_va_start): Use __builtin_va_start
360 * fixincl.x: Regenerate.
362 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
364 * configure: Regenerate.
366 2008-12-15 Steve Ellcey <sje@cup.hp.com>
368 * inclhack.def (hpux_spu_info): Match PA as well as IA64.
369 * fixincl.x: Regenerate.
371 2008-09-06 H.J. Lu <hongjiu.lu@intel.com>
373 * configure.ac: Fix a typo.
374 * configured: Regenerate.
376 2008-09-06 Bruce Korb <bkorb@gnu.org>
378 * fixincl.tpl (sed): make the program executable configurable.
379 Some platforms have some rather oddball defaults.
380 * config.h.in (SED_PROGRAM): define the default sed.
381 * fixincl.x: regenerated
382 * tests/base/internal/wchar_core.h: fix bad sample text
383 * tests/base/math.h: fix bad sample text
384 * configure.ac: search for working sed
385 * inclhack.def (glibc_mutex_init): fix non-portable construct
386 and re-order a few misordered entries.
388 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
390 * configure: Regenerate.
392 2008-06-07 Joseph Myers <joseph@codesourcery.com>
394 * inclhack.def (AAB_svr4_replace_byteorder,
395 AAB_ultrix_ansi_compat, AAB_ultrix_limits, AAB_ultrix_memory,
396 libc1_G_va_list, libc1_ifdefd_memx, nested_motorola,
397 ptx_sys_mc_param_h, sco_regset, sco_static_func, sco_utime,
398 solaris_mutex_init_1, solaris_socket, solaris_unistd,
399 solaris_widec, svr4_krnl, ultrix_atexit_param, ultrix_atof_param,
400 ultrix_const3, ultrix_fix_fixproto, ultrix_ifdef, ultrix_locale,
401 ultrix_math_ifdef, ultrix_nested_ioctl, ultrix_nested_svc,
402 ultrix_stat, ultrix_static, ultrix_stdlib, ultrix_strings,
403 ultrix_strings2, ultrix_sys_time, ultrix_unistd,
404 unicosmk_restrict, uw7_byteorder_fix, windiss_math1,
405 windiss_math2, windiss_valist): Remove.
406 * fixincl.x: Regenerate.
407 * mkfixinc.sh: (arm-semi-aof, hppa1.1-*-osf*, hppa1.1-*-bsd*,
408 i370-*-openedition, i?86-*-moss*, i?86-*-uwin*,
409 powerpc-*-eabiaix*): Remove.
410 * tests/base/math.h: Update.
411 * tests/base/pthread.h: Update.
412 * tests/base/stdio.h: Update.
413 * tests/base/stdlib.h: Update.
414 * tests/base/string.h: Update.
415 * tests/base/strings.h: Update.
416 * tests/base/sys/file.h: Update.
417 * tests/base/sys/limits.h: Update.
418 * tests/base/sys/socket.h: Update.
419 * tests/base/sys/stat.h: Update.
420 * tests/base/sys/time.h: Update.
421 * tests/base/testing.h: Update.
422 * tests/base/unistd.h: Update.
423 * tests/base/_G_config.h: Remove.
424 * tests/base/arpa: Remove directory.
425 * tests/base/fs: Remove directory.
426 * tests/base/locale.h: Remove.
427 * tests/base/machine: Remove directory.
428 * tests/base/rpc/svc.h: Remove.
429 * tests/base/sys/ioctl.h: Remove.
430 * tests/base/sys/regset.h: Remove.
431 * tests/base/sys/times.h: Remove.
432 * tests/base/sys/utsname.h: Remove.
433 * tests/base/widec.h: Remove.
435 2008-05-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
437 * inclhack.def (solaris_math_4): Use GCC's __builtin_fpclassify.
438 * tests/base/iso/math_c99.h: Update.
439 * fixincl.x: Regenerate.
441 2008-05-14 Joseph Myers <joseph@codesourcery.com>
443 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on
445 * fixincl.x: Regenerate.
447 2008-04-25 Kai Tietz <kai.tietz@onvision.com>
449 * fixincl.c (fix_with_system): Cast pointer difference to long.
450 * fixlib.c (make_raw_shell_str): Cast compare to avoid sign warning.
452 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
455 * Makefile.in: Rewrite aclocal.m4 rule.
456 * aclocal.m4: Regenerate.
457 * configure: Regenerate.
459 2008-03-07 Peter O'Gorman <pogma@thewrittenword.com>
462 * inclhack.def (AAB_aix_stdio): Hack stdio.h for -D_LARGE_FILES.
463 * fixincl.x: Regenerate.
464 * tests/base/stdio.h: Add test.
466 2008-02-25 Ben Elliston <bje@au.ibm.com>
469 * fixincl.c (fix_applies): Remove unused variable `name_len'.
471 2008-02-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
473 * inclhack.def (solaris_math_10): New.
474 * tests/base/iso/math_c99.h: Update.
476 * fixincl.x: Regenerate.
478 2008-02-04 Ismail Dönmez <ismail@pardus.org.tr>
480 * inclhack.def: (bsd_stdio_attrs_conflict, freebsd_gcc3_breakage,
481 freebsd_gcc4_breakage, hppa_hpux_fp_macros, hpux11_abs,
482 netbsd_c99_inline_1, netbsd_c99_inline_2, netbsd_extra_semicolon): Add
483 quotes around mach entries.
484 * fixincl.x: Regenerate with latest autogen (5.9.4), updating license
487 2008-02-04 Hans-Peter Nilsson <hp@axis.com>
490 * inclhack.def: (glibc_c99_inline_1a): Re-add last change.
491 (glibc_c99_inline_3) <bypass>: Change from __STDC_VERSION__ to
492 __extern_inline|__GNU_STDC_INLINE__.
493 (glibc_c99_inline_4) <files>: Add wchar.h and */wchar.h.
494 <bypass>: Change from __STDC_VERSION__ to
495 __extern_inline|__GNU_STDC_INLINE__.
496 <first c_fix_arg>: Change from #ifdef-wrapping the extern part to
497 appending attribute-gnu_inline.
498 <second c_fix_arg>: Remove.
499 <test_text>: Remove __extern_inline line.
500 * tests/base/features.h: Re-add.
501 * tests/base/sys/sysmacros.h: Adjust.
502 * fixincl.x: Regenerate.
504 2008-01-06 Hans-Peter Nilsson <hp@axis.com>
508 2007-12-18 Hans-Peter Nilsson <hp@axis.com>
510 * inclhack.def: (glibc_c99_inline_1a, glibc_c99_inline_5): New.
511 * fixincl.x: Regenerate.
512 * tests/base/wchar.h: Update.
513 * tests/base/features.h: New.
515 2007-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
518 * inclhack.def (hpux11_pthread_const): New.
519 * fixincl.x: Regenerate.
520 * tests/base/sys/pthread.h: Update.
522 2007-10-12 Kai Tietz <kai.tietz@onevision.com>
524 * configure.ac: x86_64 mingw target uses twoprocess.
525 * mkfixinc.sh: Add x86_64 mingw target.
526 * configure: Regenerate.
528 2007-10-09 Geoffrey Keating <geoffk@apple.com>
530 * inclhack.def (darwin_externc): New.
531 * fixincl.x: Regenerate.
532 * tests/base/mach-o/swap.h: New.
534 2007-08-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
536 * inclhack.def (solaris_math_5, solaris_math_6, solaris_math_7):
538 * tests/base/iso/math_c99.h: Delete associated test baselines.
539 * fixincl.x: Regenerate.
541 2007-07-24 Krister Walfridsson <cato@df.lth.se>
544 * inclhack.def (netbsd_c99_inline_2): New.
545 * fixincl.x: Regenerate.
546 * tests/base/signal.h: Update.
548 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
552 * inclhack.def (solaris_math_4, solaris_math_5, solaris_math_6,
553 solaris_math_7): Constify and make FP exception-safe.
554 * tests/base/iso/math_c99.h: Update.
556 * fixincl.x: Regenerate.
558 2007-07-05 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
561 * inclhack.def (irix_stdint_c99): New fix.
562 * fixincl.x: Regenerate.
563 * tests/base/stdint.h: New test.
565 2007-06-06 Steve Ellcey <sje@cup.hp.com>
568 * inclhack.def (hppa_hpux_fp_macros): New.
569 * fixincl.x: Regenerate.
570 * tests/base/math.h: Update.
572 2007-03-26 Jakub Jelinek <jakub@redhat.com>
574 * inclhack.def (glibc_c99_inline_1): Define __USE_EXTERN_INLINES
575 if __extern_inline or __GNUC_GNU_INLINE__ is defined rather than
576 __STDC_VERSION__ < 199901L.
577 (glibc_c99_inline_2): Replace #if __STDC_VERSION__ < 199901L
578 with #ifdef __GNUC_GNU_INLINE__.
579 (glibc_c99_inline_3): Add select. Replace __STDC_VERSION__ >= 199901L
580 with defined(__GNUC_STDC_INLINE__).
581 (glibc_c99_inline_4): Change select, add second c_fix_arg.
582 Replace #if __STDC_VERSION__ < 199901L with
583 #ifdef __GNUC_GNU_INLINE__.
584 * fixincl.x: Regenerated.
585 * tests/base/bits/string2.h: Update.
586 * tests/base/sys/sysmacros.h: Update.
587 * tests/base/sys/stat.h: Update.
589 2007-03-18 Krister Walfridsson <cato@df.lth.se>
592 * inclhack.def (netbsd_c99_inline_1): New.
593 * fixincl.x: Regenerate.
594 * tests/base/signal.h: New.
596 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
598 * Makefile.in: Add dummy "install-info" target.
600 2007-03-06 Joseph Myers <joseph@codesourcery.com>
602 * mkheaders.in: Fix headers for each multilib required.
604 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
606 * Makefile.in: Add dummy install-pdf target.
608 2007-02-27 Joseph Myers <joseph@codesourcery.com>
610 * mkheaders.in (incdir): Use include-fixed not include.
612 2007-02-15 Brooks Moses <brooks.moses@codesourcery.com>
614 * Makefile.in: Added "pdf" target to .PHONY.
616 2007-02-05 Richard Guenther <rguenther@suse.de>
618 * inclhack.def (glibc_c99_inline_4): Adjust selector to cope
619 with older glibc. Adjust version number for C99.
620 * fixincl.x: Regenerated.
622 2007-02-04 Mike Stump <mrs@apple.com>
624 * mkheaders.in: Allow optional isysroot parameter.
626 2007-02-03 Bruce Korb <bkorb@gnu.org>
628 * inclhack.def (glibc_c99_inline_4): replace "extern" only if
629 surrounded by space characters.
631 2007-01-25 Daniel Franke <franke.daniel@gmail.com>
634 * inclhack.def(broken_cabs): Also remove definition of cabsl.
635 * fixincl.x: Regenerate.
636 * tests/base/math.h: Update.
638 2007-01-05 Bruce Korb <bkorb@gnu.org>,
639 Daniel Franke <franke.daniel@gmail.com>
642 * fixincl.tpl (List): separate file name patterns with a NUL byte instead
643 of a vertical bar ("|").
644 * fixincl.c (fix_applies, machine_matches): Use fnmatch for name
645 matching. Set SKIP_TEST flag if we are not to run a test.
646 * fixincl.x: Regenerate.
647 * inclhack.def (glibc_c99_inline_[1234], broken_cabs, broken_nan,
648 kandr_concat, sco_math): Replace lists of specfic file names by search
651 2006-12-12 Olivier Hainque <hainque@adacore.com>
653 * fixincludes/mkfixinc.sh: Add "*-*-vxworks*" to the list of
654 targets for which a no-op fixer is appropriate.
656 2006-11-07 Richard Guenther <rguenther@suse.de>
658 * inclhack.def (glibc_c99_inline_2): Adjust for glibc 2.3
660 * fixincl.x: Regenerate.
662 2006-11-02 Geoffrey Keating <geoffk@apple.com>
664 * inclhack.def (glibc_c99_inline_1): New.
665 * inclhack.def (glibc_c99_inline_2): New.
666 * inclhack.def (glibc_c99_inline_3): New.
667 * inclhack.def (glibc_c99_inline_4): New.
668 * fixincl.x: Regenerate.
669 * tests/base/bits/string2.h: New.
670 * tests/base/sys/sysmacros.h: New.
671 * tests/base/sys/stat.h: Update.
673 2006-11-01 Steve Ellcey <sje@cup.hp.com>
675 * tests/base/sys/socket.h: Update.
677 2006-10-31 Steve Ellcey <sje@cup.hp.com>
679 * inclhack.def (hpux11_extern_sendfile): New.
680 (hpux11_extern_sendpath): New.
681 * fixincl.x: Regenerate.
683 2006-10-29 Joseph Myers <joseph@codesourcery.com>
685 * inclhack.def (AAB_fd_zero_asm_posix_types_h): Bypass on x86_64.
686 * fixincl.x: Regenerate.
688 2006-10-10 Brooks Moses <bmoses@stanford.edu>
690 * Makefile.in: Added empty "pdf" target.
692 2006-10-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
695 * inclhack.def (hpux_pthread_initializers): New hack.
696 * tests/base/sys/pthread.h: New file.
698 * fixincl.x: Regenerate.
700 2006-10-03 Uros Bizjak <uros@kss-loka.si>
702 * inclhack.def (glibc_mutex_init): Also fix
703 PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
704 PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
705 * tests/base/pthread.h: Update.
707 * fixincl.x: Regenerate.
709 2006-10-01 Uros Bizjak <uros@kss-loka.si>
711 * inclhack.def (glibc_mutex_init): New fix.
712 * tests/base/pthread.h: Update.
714 * fixincl.x: Regenerate.
716 2006-09-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
718 * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
719 Prevent it from running on solaris10 or later.
720 (solaris_once_init_2): Fix comment.
721 * tests/base/pthread.h: Update.
723 * fixincl.x: Regenerate.
725 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
727 * inclhack.def (solaris_once_init_2): New fix.
728 * tests/base/pthread.h: Update.
730 * fixincl.x: Regenerate.
732 2006-09-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
734 * inclhack.def (solaris_mutex_init_2): Remove test for
735 PTHREAD_RWLOCK_INITIALIZER.
736 (solaris_rwlock_init_1): New.
737 * tests/base/pthread.h: Update.
739 * inclhack.def (solaris_once_init_1): New.
740 * tests/base/pthread.h: Adjust for new fix.
742 * fixincl.x: Regenerate.
744 2006-07-17 Roger Sayle <roger@eyesopen.com>
746 * tests/base/errno.h: New file.
747 * tests/base/architecture/ppc/math.h: Likewise.
748 * tests/base/ia64/sys/getppdp.h: Likewise.
750 2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
753 * Makefile.in (configure, config.h.in): Change into $(srcdir)
754 before autoconf or autoheader call.
756 2006-06-23 Steve Ellcey <sje@cup.hp.com>
759 * inclhack.def (hpux_extern_errno): New.
760 * fixincl.x: Regenerate.
762 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
764 * Makefile.in: Add dvi info html and install-html to .PHONY
765 Add install-html target.
767 2006-05-16 Mike Stump <mrs@apple.com>
769 * configure.ac: Add -Wno-overlength-strings.
770 * configure: Regenerate.
772 2006-05-14 Bernhard Fischer <aldot@gcc.gnu.org>
776 2006-02-18 Steve Ellcey <sje@cup.hp.com>
779 * inclhack.def (hpux_spu_info): New.
780 * fixincl.x: Regenerate
782 2006-01-31 Marcin Dalecki <martin@dalecki.de>
784 * configure.ac: Check for asprintf, basename, vasprintf.
785 * config.h.in: Regenerate.
786 * configure: Regenerate.
788 2006-01-19 Andrew Pinski <pinskia@physics.uc.edu>
791 * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
794 * fixincl.x: Regenerate.
796 2005-11-24 Bruce Korb <bkorb@gnu.org>
798 * fixincl.c (write_replacement): "here strings" in AutoGen
799 often/generally don't have a terminating newline. Check the
802 2005-11-13 Andreas Jaeger <aj@suse.de>
804 * check.tpl: Handle CVS additionally.
806 2005-11-05 Andreas Jaeger <aj@suse.de>
808 * check.tpl: Adopt for move to subversion.
810 2005-09-15 Joseph S. Myers <joseph@codesourcery.com>
813 * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
815 * fixincl.x: Regenerate.
816 * tests/base/bits/huge_val.h: New file.
818 2005-08-14 Kelley Cook <kcook@gcc.gnu.org>
820 * All files: Update with new FSF address.
822 2005-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
824 * Makefile.in (WARN_CFLAGS): New.
825 (.c.o): Add $(WARN_CFLAGS).
826 * aclocal.m4: Include ../config/warnings.m4.
827 * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
828 ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
829 ACX_PROG_CC_WARNINGS_ARE_ERRORS.
830 * fixopts.c (initialize_opts): Fix old-style definintion.
832 * configure: Regenerate.
834 2005-06-24 Geoffrey Keating <geoffk@geoffk.org>
836 * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
837 (AAB_darwin7_9_long_double_funcs_2): New.
838 * fixincl.x: Regenerate.
840 2005-06-15 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
843 * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
844 Use double quotes in select so \t matches tabs.
846 * fixincl.x: Regenerate.
847 * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
849 2005-05-22 Danny Smith <dannysmith@users.souceforge.net>
852 * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
854 2005-05-19 Eric Botcazou <ebotcazou@libertysurf.fr>
855 Joseph S. Myers <joseph@codesourcery.com>
859 * inclhack.def: New fixes solaris_math_[1-9].
860 * fixincl.x: Regenerate.
861 * tests/base/iso/math_c99.h: New.
863 2005-05-19 Kelley Cook <kcook@gcc.gnu.org>
865 * aclocal.m4: Remove superfluous reference to accross.m4.
867 2005-05-15 Gabriel Dos Reis <gdr@integrable-solutions.net>
869 * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
870 * server.c (load_data): Likewise.
871 (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
872 * fixincl.c: #include <sys/wait.h>
873 (run_compiles): Use XCNEWVEC instead of xcalloc.
874 (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
875 * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
877 2005-05-10 Joseph S. Myers <joseph@codesourcery.com>
879 * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
880 *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
881 * fixincl.x: Regenerate.
883 2005-05-06 Bruce Korb <bkorb@gnu.org>
884 Joseph S. Myers <joseph@codesourcery.com>
886 * fixinc/inclhack.def: Correct backslashes
887 * fixinc/fixincl.x: regen
889 2005-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
891 * system.h (fopen, fdopen, freopen): Define these to the unlocked
894 2005-04-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
896 * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
897 (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
898 * system.h (putchar, getc, getchar, clearerr, feof, fileno,
899 fflush, fgetc, fgets, ferror, fread): Redefine to the associated
901 (fwrite_unlocked): Fix prototype.
903 * configure, config.h.in: Regenerate.
905 2005-03-21 Zack Weinberg <zack@codesourcery.com>
907 * Makefile.in: Set gcc_version directly, not via substitution.
908 (libsubdir): Use $(gcc_version), not $(version).
909 (mkheaders.almost): New rule.
910 (mkheaders): Generate from mkheaders.almost.
911 (clean): Also delete mkheaders.almost.
912 * aclocal.m4: Do not include ../config/gcc-version.m4.
913 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Generate
914 mkheaders.almost from mkheaders.in.
915 * configure: Regenerate.
917 2005-03-21 Richard Guenther <rguenth@gcc.gnu.org>
920 * inclhack.def: Add fix for array of incomplete structures
921 in function prototype in pthread.h.
922 * fixincl.x: Regenerate.
923 * tests/base/pthread.h: Adjust.
925 2005-03-15 Joseph S. Myers <joseph@codesourcery.com>
927 * inclhack.def (hpux_htonl): New fix.
928 * tests/base/netinet/in.h: New test.
929 * fixincl.x: Regenerate.
931 2005-02-23 James E Wilson <wilson@specifixinc.com>
933 * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
935 2004-12-13 Andrew Pinski <pinskia@physics.uc.edu>
938 * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
941 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
943 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
944 * aclocal.m4: Include ../config/gcc-version.m4.
945 * configure: Regenerate.
947 2004-11-26 Mark Mitchell <mark@codesourcery.com>
949 * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
950 (stdio_va_list): Likewise.
951 (stdio_stdarg.h): Likewise.
952 (solaris_stdio_tag): Add bypass.
953 * fixincl.x: Regenerated.
955 2004-11-23 Geoffrey Keating <geoffk@apple.com>
957 * mkfixinc.sh: Check error code from 'cat'. Don't try running
958 built fixincl program.
959 * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
962 2004-11-20 Roger Sayle <roger@eyesopen.com>
964 * inclhack.def (alpha_pthread_init): Fix technical problems with
965 the last check-in caused by CVS variable substitution.
966 * fixincl.x: Likewise.
967 * tests/base/pthread.h: Likewise.
969 2004-11-20 Roger Sayle <roger@eyesopen.com>
970 Bruce Korb <bkorb@gnu.org>
972 * inclhack.def (alpha_pthread_init): New fix.
973 * fixincl.x: Regenerate.
974 * tests/base/pthread.h: Update for new test.
976 2004-11-15 Bruce Korb <bkorb@gnu.org>
978 * fixincl.c(fix_with_system): correct misuse of variables and
979 incorrect application of "sizeof()".
981 2004-11-13 Joseph S. Myers <joseph@codesourcery.com>
983 * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
984 svr4__p, undefine_null): Remove.
985 * fixincl.x: Regenerate.
986 * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
987 * tests/base/sys/param.h: Remove.
988 * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
989 tests/base/sys/limits.h: Update.
991 2004-11-12 Mike Stump <mrs@apple.com>
993 * Makefile.in (html): Add html generation support.
995 2004-11-12 Joseph S. Myers <joseph@codesourcery.com>
997 * inclhack.def (sco_math): Bypass on __GNUG__.
998 (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
999 * fixincl.x: Regenerate.
1001 2004-11-09 Joseph S. Myers <joseph@codesourcery.com>
1003 * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
1004 (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
1005 _CLASSIC_ANSI_TYPES.
1006 (sun_auth_proto): Bypass on __cplusplus.
1007 * fixincl.x: Regenerate.
1009 2004-11-05 Geoffrey Keating <geoffk@apple.com>
1011 * Makefile.in (mostlyclean): Add fixinc.sh.
1012 (clean): Add mkheaders.
1016 (installcheck): New.
1018 2004-11-05 Paolo Bonzini <bonzini@gnu.org>
1020 * Makefile.in (mostlyclean, distclean): New targets.
1022 2004-11-04 Geoffrey Keating <geoffk@apple.com>
1024 * configure.ac: Add code to determine noncanonical_target,
1025 local_prefix, gcc_version; process mkheaders.in to make mkheaders.
1026 * configure: Regenerate.
1027 * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
1028 * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
1029 * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
1030 update for changes to fixinc.in.
1031 * Makefile.in: Add many new macros.
1032 (install): New target.
1033 (mkheaders): New target.
1034 (fixinc.sh): New target.
1035 (all): Add mkheaders and fixinc.sh.
1036 * README-fixinc: Move here from gcc/.
1038 2004-11-01 Mike Stump <mrs@apple.com>
1040 * inclhack.def (stdio_va_list): Break out clients from here...
1041 (stdio_va_list_clients): ...to here. Also, don't fix if stdarg.h is
1042 included or ifdef va_start.
1043 * fixincl.x: Regenerate.
1045 2004-10-28 Mike Stump <mrs@apple.com>
1047 * inclhack.def (void_null): Avoid changing NULL on C++ friendly
1049 * fixincl.x: Regenerate.
1051 2004-10-27 Geoffrey Keating <geoffk@apple.com>
1053 * inclhack.def (darwin_gcc4_breakage): New.
1054 * fixincl.x: Regenerate.
1056 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1060 * fixfixes.c (main): Check for _PC_NAME_MAX.
1062 2004-10-27 Paolo Bonzini <bonzini@gnu.org>
1066 * configure.ac: Fix typo.
1067 * configure: Regenerate.
1068 * fixincl.c (fix_with_system): tSCC is not a pointer. Fix.
1070 2004-10-20 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
1074 * fixincl.c (SIGCHLD): Remove definition.
1075 (initialize): Remove SIGIOT and SIGPIPE checks.
1076 (create_file): Fix mkdir() for Win32.
1077 (internal_fix): Use dup2() instead of fcntl().
1079 * fixlib.h (SIGQUIT): Define if undefined.
1085 * procopen.c (chain_open): Use dup2() instead of fcntl().
1087 2004-08-14 Paolo Bonzini <bonzini@gnu.org>
1091 * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
1092 Update copyright year.
1093 * fixfixes.c (main): Call initialize_opts from fixopts.c.
1094 * fixincl.c (initialize): Call initialize_opts from fixopts.c,
1095 do not include code for parsing options (environment vars).
1096 (fix_with_system): Use a search path for applyfix, so that you
1097 can run the test suite with two-process fixincludes.
1098 * fixopts.c: New file.
1099 * configure.ac: Add --enable-twoprocess. Export ac_exeext
1100 to config.h. Default to --enable-twoprocess for MinGW32.
1101 * config.h.in: Regenerate.
1102 * configure: Regenerate.
1104 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1106 * tests/base/sys/cdefs.h: Update from test area.
1108 2004-09-17 Roger Sayle <roger@eyesopen.com>
1110 * inclhack.def (linux_ia64_ucontext): New fix.
1111 * fixincl.x: Regenerate.
1112 * tests/base/sys/ucontext.h: New file.
1114 2004-09-15 Roger Sayle <roger@eyesopen.com>
1116 * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
1117 * tests/base/stdlib.h: Likewise.
1119 2004-09-13 Loren J. Rittle <ljrittle@acm.org>
1121 * inclhack.def (freebsd_gcc4_breakage): Add.
1122 * fixincl.x: Regenerate.
1123 * tests/base/sys/cdefs.h: Update for new test.
1125 2004-09-10 Adam Nemet <anemet@lnxw.com>
1127 * inclhack.def (lynx_void_int): Remove.
1128 (lynxos_fcntl_proto): Remove.
1129 (lynxos_no_warning_in_sys_time_h): New fix.
1130 (lynxos_missing_putenv): New fix.
1131 * fixincl.x: Regenerate.
1132 * tests/base/fcntl.h: Remove.
1133 * tests/base/sys/time.h: Update from test area.
1134 * tests/base/curses.h: Likewise.
1135 * tests/base/stdlib.h: Likewise.
1137 2004-09-03 Jan Beulich <jbeulich@novell.com>
1139 * inclhack.def: Suppress exception_structure and math_exception
1140 for NetWare headers.
1141 * fixincl.x: Regenerate.
1143 2004-08-31 Paolo Bonzini <bonzini@gnu.org>
1146 * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
1148 * configure.ac: New.
1149 * config.h.in: Generate.
1150 * configure: Generate.
1152 * fixlib.h: Remove inclusions of gcc files.
1155 Other files copied from gcc/fixinc.