aboutsummaryrefslogtreecommitdiff
path: root/fixincludes
diff options
context:
space:
mode:
authorRoger Sayle <sayle@gcc.gnu.org>2006-07-17 23:54:22 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2006-07-17 23:54:22 +0000
commit582454753dcb00c5e28055b7a41ceedfcc4600fd (patch)
treee03944b53e57fbc5895d0c598d7c87f48ae2ce21 /fixincludes
parentdc5abe77090e91e603d7c72cc652c7d48b830a18 (diff)
downloadgcc-582454753dcb00c5e28055b7a41ceedfcc4600fd.zip
gcc-582454753dcb00c5e28055b7a41ceedfcc4600fd.tar.gz
gcc-582454753dcb00c5e28055b7a41ceedfcc4600fd.tar.bz2
errno.h: New file.
* tests/base/errno.h: New file. * tests/base/architecture/ppc/math.h: Likewise. * tests/base/ia64/sys/getppdp.h: Likewise. From-SVN: r115534
Diffstat (limited to 'fixincludes')
-rw-r--r--fixincludes/ChangeLog13
-rw-r--r--fixincludes/tests/base/architecture/ppc/math.h88
-rw-r--r--fixincludes/tests/base/errno.h21
-rw-r--r--fixincludes/tests/base/ia64/sys/getppdp.h16
4 files changed, 135 insertions, 3 deletions
diff --git a/fixincludes/ChangeLog b/fixincludes/ChangeLog
index 962ab90..3db9210 100644
--- a/fixincludes/ChangeLog
+++ b/fixincludes/ChangeLog
@@ -1,7 +1,13 @@
+2006-07-17 Roger Sayle <roger@eyesopen.com>
+
+ * tests/base/errno.h: New file.
+ * tests/base/architecture/ppc/math.h: Likewise.
+ * tests/base/ia64/sys/getppdp.h: Likewise.
+
2006-07-10 Laurynas Biveinis <laurynas.biveinis@gmail.com>
PR bootstrap/20437
- * Makefile.in (configure, config.h.in): change into $(srcdir)
+ * Makefile.in (configure, config.h.in): Change into $(srcdir)
before autoconf or autoheader call.
2006-06-23 Steve Ellcey <sje@cup.hp.com>
@@ -46,8 +52,9 @@
2005-11-24 Bruce Korb <bkorb@gnu.org>
- * fixincl.c(write_replacement) "here strings" in AutoGen often/generally
- don't have a terminating newline. Check the last byte for '\n'.
+ * fixincl.c (write_replacement): "here strings" in AutoGen
+ often/generally don't have a terminating newline. Check the
+ last byte for '\n'.
2005-11-13 Andreas Jaeger <aj@suse.de>
diff --git a/fixincludes/tests/base/architecture/ppc/math.h b/fixincludes/tests/base/architecture/ppc/math.h
new file mode 100644
index 0000000..dcd0423
--- /dev/null
+++ b/fixincludes/tests/base/architecture/ppc/math.h
@@ -0,0 +1,88 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/architecture/ppc/math.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+/* This file prototypes the long double functions available on Mac OS
+ 10.3.9. */
+#ifndef __MATH__
+# undef __APPLE_CC__
+# define __APPLE_CC__ 1345
+# include_next <architecture/ppc/math.h>
+# undef __APPLE_CC__
+# define __APPLE_CC__ 1
+# ifndef __LIBMLDBL_COMPAT
+# ifdef __LONG_DOUBLE_128__
+# define __LIBMLDBL_COMPAT(sym) __asm("_" #sym "$LDBL128")
+# else
+# define __LIBMLDBL_COMPAT(sym)
+# endif /* __LONG_DOUBLE_128__ */
+# endif /* __LIBMLDBL_COMPAT */
+# ifdef __cplusplus
+ extern "C" {
+# endif
+ extern long double acosl( long double ) __LIBMLDBL_COMPAT(acosl);
+ extern long double asinl( long double ) __LIBMLDBL_COMPAT(asinl);
+ extern long double atanl( long double ) __LIBMLDBL_COMPAT(atanl);
+ extern long double atan2l( long double, long double ) __LIBMLDBL_COMPAT(atan2l);
+ extern long double cosl( long double ) __LIBMLDBL_COMPAT(cosl);
+ extern long double sinl( long double ) __LIBMLDBL_COMPAT(sinl);
+ extern long double tanl( long double ) __LIBMLDBL_COMPAT(tanl);
+ extern long double acoshl( long double ) __LIBMLDBL_COMPAT(acoshl);
+ extern long double asinhl( long double ) __LIBMLDBL_COMPAT(asinhl);
+ extern long double atanhl( long double ) __LIBMLDBL_COMPAT(atanhl);
+ extern long double coshl( long double ) __LIBMLDBL_COMPAT(coshl);
+ extern long double sinhl( long double ) __LIBMLDBL_COMPAT(sinhl);
+ extern long double tanhl( long double ) __LIBMLDBL_COMPAT(tanhl);
+ extern long double expl( long double ) __LIBMLDBL_COMPAT(expl);
+ extern long double exp2l( long double ) __LIBMLDBL_COMPAT(exp2l);
+ extern long double expm1l( long double ) __LIBMLDBL_COMPAT(expm1l);
+ extern long double logl( long double ) __LIBMLDBL_COMPAT(logl);
+ extern long double log10l( long double ) __LIBMLDBL_COMPAT(log10l);
+ extern long double log2l( long double ) __LIBMLDBL_COMPAT(log2l);
+ extern long double log1pl( long double ) __LIBMLDBL_COMPAT(log1pl);
+ extern long double logbl( long double ) __LIBMLDBL_COMPAT(logbl);
+ extern long double modfl( long double, long double * ) __LIBMLDBL_COMPAT(modfl);
+ extern long double ldexpl( long double, int ) __LIBMLDBL_COMPAT(ldexpl);
+ extern long double frexpl( long double, int * ) __LIBMLDBL_COMPAT(frexpl);
+ extern int ilogbl( long double ) __LIBMLDBL_COMPAT(ilogbl);
+ extern long double scalbnl( long double, int ) __LIBMLDBL_COMPAT(scalbnl);
+ extern long double scalblnl( long double, long int ) __LIBMLDBL_COMPAT(scalblnl);
+ extern long double fabsl( long double ) __LIBMLDBL_COMPAT(fabsl);
+ extern long double cbrtl( long double ) __LIBMLDBL_COMPAT(cbrtl);
+ extern long double hypotl( long double, long double ) __LIBMLDBL_COMPAT(hypotl);
+ extern long double powl( long double, long double ) __LIBMLDBL_COMPAT(powl);
+ extern long double sqrtl( long double ) __LIBMLDBL_COMPAT(sqrtl);
+ extern long double erfl( long double ) __LIBMLDBL_COMPAT(erfl);
+ extern long double erfcl( long double ) __LIBMLDBL_COMPAT(erfcl);
+ extern long double lgammal( long double ) __LIBMLDBL_COMPAT(lgammal);
+ extern long double tgammal( long double ) __LIBMLDBL_COMPAT(tgammal);
+ extern long double ceill( long double ) __LIBMLDBL_COMPAT(ceill);
+ extern long double floorl( long double ) __LIBMLDBL_COMPAT(floorl);
+ extern long double nearbyintl( long double ) __LIBMLDBL_COMPAT(nearbyintl);
+ extern long double rintl( long double ) __LIBMLDBL_COMPAT(rintl);
+ extern long int lrintl( long double ) __LIBMLDBL_COMPAT(lrintl);
+ extern long long int llrintl( long double ) __LIBMLDBL_COMPAT(llrintl);
+ extern long double roundl( long double ) __LIBMLDBL_COMPAT(roundl);
+ extern long int lroundl( long double ) __LIBMLDBL_COMPAT(lroundl);
+ extern long long int llroundl( long double ) __LIBMLDBL_COMPAT(llroundl);
+ extern long double truncl( long double ) __LIBMLDBL_COMPAT(truncl);
+ extern long double fmodl( long double, long double) __LIBMLDBL_COMPAT(fmodl);
+ extern long double remainderl( long double, long double ) __LIBMLDBL_COMPAT(remainderl);
+ extern long double remquol( long double, long double, int * ) __LIBMLDBL_COMPAT(remquol);
+ extern long double copysignl( long double, long double ) __LIBMLDBL_COMPAT(copysignl);
+ extern long double nanl( const char * ) __LIBMLDBL_COMPAT(nanl);
+ extern long double nextafterl( long double, long double ) __LIBMLDBL_COMPAT(nextafterl);
+ extern long double nexttowardl( long double, long double ) __LIBMLDBL_COMPAT(nexttowardl);
+ extern long double fdiml( long double, long double ) __LIBMLDBL_COMPAT(fdiml);
+ extern long double fmaxl( long double, long double ) __LIBMLDBL_COMPAT(fmaxl);
+ extern long double fminl( long double, long double ) __LIBMLDBL_COMPAT(fminl);
+ extern long double fmal( long double, long double, long double ) __LIBMLDBL_COMPAT(fmal);
+# ifdef __cplusplus
+ }
+# endif
+#endif /* __MATH__ */
diff --git a/fixincludes/tests/base/errno.h b/fixincludes/tests/base/errno.h
new file mode 100644
index 0000000..e2dd5b1
--- /dev/null
+++ b/fixincludes/tests/base/errno.h
@@ -0,0 +1,21 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/errno.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( HPUX_EXTERN_ERRNO_CHECK )
+#ifdef __cplusplus
+extern "C" {
+#endif
+ extern int errno;
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* HPUX_EXTERN_ERRNO_CHECK */
diff --git a/fixincludes/tests/base/ia64/sys/getppdp.h b/fixincludes/tests/base/ia64/sys/getppdp.h
new file mode 100644
index 0000000..80fe99e
--- /dev/null
+++ b/fixincludes/tests/base/ia64/sys/getppdp.h
@@ -0,0 +1,16 @@
+/* DO NOT EDIT THIS FILE.
+
+ It has been auto-edited by fixincludes from:
+
+ "fixinc/tests/inc/ia64/sys/getppdp.h"
+
+ This had to be done to correct non-standard usages in the
+ original, manufacturer supplied header file. */
+
+
+
+#if defined( HPUX_SPU_INFO_CHECK )
+#ifdef _KERNEL
+extern union mpinfou spu_info[];
+#endif
+#endif /* HPUX_SPU_INFO_CHECK */