inclhack.def (glibc_mutex_init): Also fix PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIV...
[platform/upstream/gcc.git] / fixincludes / ChangeLog
1 2006-10-03  Uros Bizjak <uros@kss-loka.si>
2
3         * inclhack.def (glibc_mutex_init): Also fix
4         PTHREAD_MUTEX_(RECURSIVE|ERRORCHECK|ADAPTIVE)_NP and
5         PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP initializers.
6
7 2006-10-01  Uros Bizjak <uros@kss-loka.si>
8
9         * inclhack.def (glibc_mutex_init): New fix.
10         * tests/base/pthread.h: Update.
11
12         * fixincl.x: Regenerate.
13
14 2006-09-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
15
16         * inclhack.def (solaris_mutex_init_2): Update for Solaris9.
17         Prevent it from running on solaris10 or later.
18         (solaris_once_init_2): Fix comment.
19         * tests/base/pthread.h: Update.
20
21         * fixincl.x: Regenerate.
22
23 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
24
25         * inclhack.def (solaris_once_init_2): New fix.
26         * tests/base/pthread.h: Update.
27
28         * fixincl.x: Regenerate.
29
30 2006-09-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
31
32         * inclhack.def (solaris_mutex_init_2): Remove test for
33         PTHREAD_RWLOCK_INITIALIZER.
34         (solaris_rwlock_init_1): New.
35         * tests/base/pthread.h: Update.
36
37         * inclhack.def (solaris_once_init_1): New.
38         * tests/base/pthread.h: Adjust for new fix.
39         
40         * fixincl.x: Regenerate.
41
42 2006-07-17  Roger Sayle  <roger@eyesopen.com>
43
44         * tests/base/errno.h: New file.
45         * tests/base/architecture/ppc/math.h: Likewise.
46         * tests/base/ia64/sys/getppdp.h: Likewise.
47
48 2006-07-10  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
49
50         PR bootstrap/20437
51         * Makefile.in (configure, config.h.in): Change into $(srcdir)
52         before autoconf or autoheader call.
53
54 2006-06-23  Steve Ellcey  <sje@cup.hp.com>
55
56         PR target/28084
57         * inclhack.def (hpux_extern_errno): New.
58         * fixincl.x: Regenerate.
59
60 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
61
62         * Makefile.in: Add dvi info html and install-html to .PHONY
63         Add install-html target.
64
65 2006-05-16  Mike Stump  <mrs@apple.com>
66
67         * configure.ac: Add -Wno-overlength-strings.
68         * configure: Regenerate.
69
70 2006-05-14  Bernhard Fischer  <aldot@gcc.gnu.org>
71
72         * README: Fix typo.
73
74 2006-02-18  Steve Ellcey  <sje@cup.hp.com>
75
76         PR target/26189
77         * inclhack.def (hpux_spu_info): New.
78         * fixincl.x: Regenerate
79
80 2006-01-31  Marcin Dalecki  <martin@dalecki.de>
81
82         * configure.ac: Check for asprintf, basename, vasprintf.
83         * config.h.in: Regenerate.
84         * configure: Regenerate.
85
86 2006-01-19  Andrew Pinski  <pinskia@physics.uc.edu>
87
88         PR target/15642
89         * inclhack.def (AAB_darwin7_9_long_double_funcs [replace]): Define
90         __APPLE_CC_ as 1345.
91         (broken_nan): New.
92         * fixincl.x: Regenerate.
93
94 2005-11-24  Bruce Korb  <bkorb@gnu.org>
95
96         * fixincl.c (write_replacement): "here strings" in AutoGen
97         often/generally don't have a terminating newline.  Check the
98         last byte for '\n'.
99
100 2005-11-13  Andreas Jaeger  <aj@suse.de>
101
102         * check.tpl: Handle CVS additionally.
103
104 2005-11-05  Andreas Jaeger  <aj@suse.de>
105
106         * check.tpl: Adopt for move to subversion.
107
108 2005-09-15  Joseph S. Myers  <joseph@codesourcery.com>
109
110         PR c++/23139
111         * inclhack.def (huge_val_hex, huge_valf_hex, huge_vall_hex): New
112         fixes.
113         * fixincl.x: Regenerate.
114         * tests/base/bits/huge_val.h: New file.
115
116 2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>
117
118         * All files: Update with new FSF address.
119
120 2005-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
121
122         * Makefile.in (WARN_CFLAGS): New.
123         (.c.o): Add $(WARN_CFLAGS).
124         * aclocal.m4: Include ../config/warnings.m4.
125         * configure.ac: Invoke ACX_PROG_CC_WARNING_OPTS,
126         ACX_PROG_CC_WARNING_ALMOST_PEDANTIC and
127         ACX_PROG_CC_WARNINGS_ARE_ERRORS.
128         * fixopts.c (initialize_opts): Fix old-style definintion.
129
130         * configure: Regenerate.
131
132 2005-06-24  Geoffrey Keating  <geoffk@geoffk.org>
133
134         * inclhack.def (AAB_darwin7_9_long_double_funcs): New.
135         (AAB_darwin7_9_long_double_funcs_2): New.
136         * fixincl.x: Regenerate.
137
138 2005-06-15  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
139
140         PR libfortran/15266
141         * inclhack.def (broken_cabs): Mention IRIX 5/6 problem.
142         Use double quotes in select so \t matches tabs.
143         Add IRIX testcase.
144         * fixincl.x: Regenerate.
145         * tests/base/math.h [BROKEN_CABS_CHECK]: Adapt for new testcase.
146
147 2005-05-22  Danny Smith  <dannysmith@users.souceforge.net>
148
149         PR target/21683
150         * fixincl.c: Don't include <sys/wait.h> if SEPARATE_FIX_PROC.
151
152 2005-05-19  Eric Botcazou  <ebotcazou@libertysurf.fr>
153             Joseph S. Myers  <joseph@codesourcery.com>
154
155         PR target/19933
156         PR target/21315
157         * inclhack.def: New fixes solaris_math_[1-9].
158         * fixincl.x: Regenerate.
159         * tests/base/iso/math_c99.h: New.
160
161 2005-05-19  Kelley Cook  <kcook@gcc.gnu.org>
162
163         * aclocal.m4: Remove superfluous reference to accross.m4.
164
165 2005-05-15  Gabriel Dos Reis  <gdr@integrable-solutions.net>
166
167         * fixlib.c (load_file_data): Use XRESIZVEC in lieu of xrealloc.
168         * server.c (load_data): Likewise.
169         (run_shell): Use XCNEW (char) in lieu of xcalloc (1, 1).
170         * fixincl.c: #include <sys/wait.h>
171         (run_compiles): Use XCNEWVEC instead of xcalloc.
172         (fix_with_system, start_fixer): Use XNEWVEC instead of xmalloc.
173         * fixfixes.c (FIX_PROC_HEAD, main): Likewise.
174
175 2005-05-10  Joseph S. Myers  <joseph@codesourcery.com>
176
177         * inclhack.def (stdio_stdarg_h, stdio_va_list): Bypass on
178         *-*-solaris2.1[0-9]*, not just *-*-solaris2.1[0-9].
179         * fixincl.x: Regenerate.
180
181 2005-05-06  Bruce Korb  <bkorb@gnu.org>
182         Joseph S. Myers <joseph@codesourcery.com>
183
184         * fixinc/inclhack.def: Correct backslashes
185         * fixinc/fixincl.x: regen
186
187 2005-04-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
188
189         * system.h (fopen, fdopen, freopen): Define these to the unlocked
190         libiberty functions.
191
192 2005-04-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
193
194         * configure.ac (fixincludes_UNLOCKED_FUNCS): New.
195         (AC_CHECK_FUNCS, AC_CHECK_DECLS): Check for fixincludes_UNLOCKED_FUNCS.
196         * system.h (putchar, getc, getchar, clearerr, feof, fileno,
197         fflush, fgetc, fgets, ferror, fread): Redefine to the associated
198         _unlocked function.
199         (fwrite_unlocked): Fix prototype.
200
201         * configure, config.h.in: Regenerate.
202
203 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
204
205         * Makefile.in: Set gcc_version directly, not via substitution.
206         (libsubdir): Use $(gcc_version), not $(version).
207         (mkheaders.almost): New rule.
208         (mkheaders): Generate from mkheaders.almost.
209         (clean): Also delete mkheaders.almost.
210         * aclocal.m4: Do not include ../config/gcc-version.m4.
211         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Generate
212         mkheaders.almost from mkheaders.in.
213         * configure: Regenerate.
214
215 2005-03-21  Richard Guenther  <rguenth@gcc.gnu.org>
216
217         PR target/20166
218         * inclhack.def: Add fix for array of incomplete structures
219         in function prototype in pthread.h.
220         * fixincl.x: Regenerate.
221         * tests/base/pthread.h: Adjust.
222
223 2005-03-15  Joseph S. Myers  <joseph@codesourcery.com>
224
225         * inclhack.def (hpux_htonl): New fix.
226         * tests/base/netinet/in.h: New test.
227         * fixincl.x: Regenerate.
228
229 2005-02-23  James E Wilson  <wilson@specifixinc.com>
230
231         * Makefile.in (full-stamp, test-stamp, $(AF)): Add $(CFLAGS) to link.
232
233 2004-12-13  Andrew Pinski  <pinskia@physics.uc.edu>
234
235         PR 18458
236         * Makefile.in (install): Add @EXEEXT@ to the end of the program name,
237         fixincl.
238
239 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
240
241         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
242         * aclocal.m4: Include ../config/gcc-version.m4.
243         * configure: Regenerate.
244
245 2004-11-26  Mark Mitchell  <mark@codesourcery.com>
246
247         * inclhack.def (gnu_types): Do not use on Solaris 2.1x.
248         (stdio_va_list): Likewise.
249         (stdio_stdarg.h): Likewise.
250         (solaris_stdio_tag): Add bypass.
251         * fixincl.x: Regenerated.
252
253 2004-11-23  Geoffrey Keating  <geoffk@apple.com>
254
255         * mkfixinc.sh: Check error code from 'cat'.  Don't try running
256         built fixincl program.
257         * mkheaders.in: Use @SHELL@ rather than ${SHELL} to avoid picking
258         up csh from user.
259
260 2004-11-20  Roger Sayle  <roger@eyesopen.com>
261
262         * inclhack.def (alpha_pthread_init): Fix technical problems with
263         the last check-in caused by CVS variable substitution.
264         * fixincl.x: Likewise.
265         * tests/base/pthread.h: Likewise.
266
267 2004-11-20  Roger Sayle  <roger@eyesopen.com>
268             Bruce Korb  <bkorb@gnu.org>
269
270         * inclhack.def (alpha_pthread_init): New fix.
271         * fixincl.x: Regenerate.
272         * tests/base/pthread.h: Update for new test.
273
274 2004-11-15  Bruce Korb  <bkorb@gnu.org>
275
276         * fixincl.c(fix_with_system): correct misuse of variables and
277         incorrect application of "sizeof()".
278
279 2004-11-13  Joseph S. Myers  <joseph@codesourcery.com>
280
281         * inclhack.def (hpux_maxint, limits_ifndefs, math_huge_val_ifndef,
282         svr4__p, undefine_null): Remove.
283         * fixincl.x: Regenerate.
284         * tests/base/AvailabilityMacros.h, tests/base/com_err.h: New.
285         * tests/base/sys/param.h: Remove.
286         * tests/base/curses.h, tests/base/math.h, tests/base/testing.h,
287         tests/base/sys/limits.h: Update.
288
289 2004-11-12  Mike Stump  <mrs@apple.com>
290
291         * Makefile.in (html): Add html generation support.
292
293 2004-11-12  Joseph S. Myers  <joseph@codesourcery.com>
294
295         * inclhack.def (sco_math): Bypass on __GNUG__.
296         (sysz_stdlib_for_sun): Bypass on _CLASSIC_ANSI_TYPES.
297         * fixincl.x: Regenerate.
298
299 2004-11-09  Joseph S. Myers  <joseph@codesourcery.com>
300
301         * inclhack.def (hpux8_bogus_inlines): Bypass on __GNUG__.
302         (int_abort_free_and_exit, sun_malloc, sysv68_string): Bypass on
303         _CLASSIC_ANSI_TYPES.
304         (sun_auth_proto): Bypass on __cplusplus.
305         * fixincl.x: Regenerate.
306
307 2004-11-05  Geoffrey Keating  <geoffk@apple.com>
308
309         * Makefile.in (mostlyclean): Add fixinc.sh.
310         (clean): Add mkheaders.
311         (distclean): New.
312         (dvi): New.
313         (info): New.
314         (installcheck): New.
315
316 2004-11-05  Paolo Bonzini  <bonzini@gnu.org>
317
318         * Makefile.in (mostlyclean, distclean): New targets.
319
320 2004-11-04  Geoffrey Keating  <geoffk@apple.com>
321
322         * configure.ac: Add code to determine noncanonical_target,
323         local_prefix, gcc_version; process mkheaders.in to make mkheaders.
324         * configure: Regenerate.
325         * fixinc.in: Move here from gcc/; fix many cross-hosting bugs.
326         * mkfixinc.sh: Move here from gcc/; update for changes to fixinc.in.
327         * mkheaders.in: Move here from gcc/; remove some unnecessary macros;
328         update for changes to fixinc.in.
329         * Makefile.in: Add many new macros.
330         (install): New target.
331         (mkheaders): New target.
332         (fixinc.sh): New target.
333         (all): Add mkheaders and fixinc.sh.
334         * README-fixinc: Move here from gcc/.
335
336 2004-11-01  Mike Stump  <mrs@apple.com>
337
338         * inclhack.def (stdio_va_list): Break out clients from here...
339         (stdio_va_list_clients): ...to here.  Also, don't fix if stdarg.h is
340         included or ifdef va_start.
341         * fixincl.x: Regenerate.
342
343 2004-10-28  Mike Stump  <mrs@apple.com>
344
345         * inclhack.def (void_null): Avoid changing NULL on C++ friendly
346         systems.
347         * fixincl.x: Regenerate.
348
349 2004-10-27  Geoffrey Keating  <geoffk@apple.com>
350
351         * inclhack.def (darwin_gcc4_breakage): New.
352         * fixincl.x: Regenerate.
353
354 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
355
356         PR bootstrap/17832
357
358         * fixfixes.c (main): Check for _PC_NAME_MAX.
359
360 2004-10-27  Paolo Bonzini  <bonzini@gnu.org>
361
362         PR other/17991
363
364         * configure.ac: Fix typo.
365         * configure: Regenerate.
366         * fixincl.c (fix_with_system): tSCC is not a pointer.  Fix.
367
368 2004-10-20  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
369
370         PR bootstrap/17832
371
372         * fixincl.c (SIGCHLD): Remove definition.
373         (initialize): Remove SIGIOT and SIGPIPE checks.
374         (create_file): Fix mkdir() for Win32.
375         (internal_fix): Use dup2() instead of fcntl().
376
377         * fixlib.h (SIGQUIT): Define if undefined.
378         (SIGIOT): Same.
379         (SIGPIPE): Same.
380         (SIGALRM): Same.
381         (SIGKILL): Same.
382
383         * procopen.c (chain_open): Use dup2() instead of fcntl().
384
385 2004-08-14  Paolo Bonzini  <bonzini@gnu.org>
386
387         PR other/17991
388
389         * Makefile.in (ALLOBJ, TESTOBJ, FIXOBJ): Add fixopts.o.
390         Update copyright year.
391         * fixfixes.c (main): Call initialize_opts from fixopts.c.
392         * fixincl.c (initialize): Call initialize_opts from fixopts.c,
393         do not include code for parsing options (environment vars).
394         (fix_with_system): Use a search path for applyfix, so that you
395         can run the test suite with two-process fixincludes.
396         * fixopts.c: New file.
397         * configure.ac: Add --enable-twoprocess.  Export ac_exeext
398         to config.h.  Default to --enable-twoprocess for MinGW32.
399         * config.h.in: Regenerate.
400         * configure: Regenerate.
401
402 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
403
404         * tests/base/sys/cdefs.h: Update from test area.
405
406 2004-09-17  Roger Sayle  <roger@eyesopen.com>
407
408         * inclhack.def (linux_ia64_ucontext): New fix.
409         * fixincl.x: Regenerate.
410         * tests/base/sys/ucontext.h: New file.
411
412 2004-09-15  Roger Sayle  <roger@eyesopen.com>
413
414         * tests/base/sys/time.h: Correct mismatch in 2004-09-10 check-in.
415         * tests/base/stdlib.h: Likewise.
416
417 2004-09-13  Loren J. Rittle  <ljrittle@acm.org>
418
419         * inclhack.def (freebsd_gcc4_breakage): Add.
420         * fixincl.x: Regenerate.
421         * tests/base/sys/cdefs.h: Update for new test.
422
423 2004-09-10  Adam Nemet  <anemet@lnxw.com>
424
425         * inclhack.def (lynx_void_int): Remove.
426         (lynxos_fcntl_proto): Remove.
427         (lynxos_no_warning_in_sys_time_h): New fix.
428         (lynxos_missing_putenv): New fix.
429         * fixincl.x: Regenerate.
430         * tests/base/fcntl.h: Remove.
431         * tests/base/sys/time.h: Update from test area.
432         * tests/base/curses.h: Likewise.
433         * tests/base/stdlib.h: Likewise.
434
435 2004-09-03  Jan Beulich  <jbeulich@novell.com>
436
437         * inclhack.def: Suppress exception_structure and math_exception
438         for NetWare headers.
439         * fixincl.x: Regenerate.
440
441 2004-08-31  Paolo Bonzini  <bonzini@gnu.org>
442
443         * .cvsignore: New.
444         * Makefile.in: From gcc/fixinc/Makefile.in, making it fully
445         autoconfiscated.
446         * configure.ac: New.
447         * config.h.in: Generate.
448         * configure: Generate.
449         * aclocal.m4: New.
450         * fixlib.h: Remove inclusions of gcc files.
451         * system.h: New.
452
453         Other files copied from gcc/fixinc.