summaryrefslogtreecommitdiffstats
path: root/gcc/fixinc/tests
diff options
context:
space:
mode:
authorkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-04 18:44:04 +0000
committerkorbb <korbb@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-04 18:44:04 +0000
commit2b5c5c15f604e71e49e7aa243055a62a2fdb11d5 (patch)
tree0ab829b056cafb4284a8800b34ef14f683e38dcc /gcc/fixinc/tests
parent8f260b977468d4d3ddbaf97b1bea89a31cd1b68f (diff)
downloadppe42-gcc-2b5c5c15f604e71e49e7aa243055a62a2fdb11d5.tar.gz
ppe42-gcc-2b5c5c15f604e71e49e7aa243055a62a2fdb11d5.zip
remove obsolete fixes
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc/tests')
-rw-r--r--gcc/fixinc/tests/base/X11/Intrinsic.h14
-rw-r--r--gcc/fixinc/tests/base/math.h22
-rw-r--r--gcc/fixinc/tests/base/stdlib.h14
-rw-r--r--gcc/fixinc/tests/base/sys/byteorder.h152
-rw-r--r--gcc/fixinc/tests/base/sys/param.h6
-rw-r--r--gcc/fixinc/tests/base/sys/stat.h5
-rw-r--r--gcc/fixinc/tests/base/time.h10
7 files changed, 0 insertions, 223 deletions
diff --git a/gcc/fixinc/tests/base/X11/Intrinsic.h b/gcc/fixinc/tests/base/X11/Intrinsic.h
deleted file mode 100644
index 989ce063608..00000000000
--- a/gcc/fixinc/tests/base/X11/Intrinsic.h
+++ /dev/null
@@ -1,14 +0,0 @@
-/* DO NOT EDIT THIS FILE.
-
- It has been auto-edited by fixincludes from:
-
- "fixinc/tests/inc/X11/Intrinsic.h"
-
- This had to be done to correct non-standard usages in the
- original, manufacturer supplied header file. */
-
-
-
-#if defined( ARM_NORCROFT_HINT_CHECK )
-p_type mumble;
-#endif /* ARM_NORCROFT_HINT_CHECK */
diff --git a/gcc/fixinc/tests/base/math.h b/gcc/fixinc/tests/base/math.h
index 4d9907c3910..292e567eeb1 100644
--- a/gcc/fixinc/tests/base/math.h
+++ b/gcc/fixinc/tests/base/math.h
@@ -30,11 +30,6 @@ struct exception;
#endif /* BROKEN_CABS_CHECK */
-#if defined( FIX_HEADER_BREAKAGE_CHECK )
-extern double floor(), ceil(), fmod(), fabs _PARAMS((double));
-#endif /* FIX_HEADER_BREAKAGE_CHECK */
-
-
#if defined( HPUX11_CPP_POW_INLINE_CHECK )
#endif /* HPUX11_CPP_POW_INLINE_CHECK */
@@ -60,23 +55,6 @@ extern double fmod(double, double);
#endif /* ISC_FMOD_CHECK */
-#if defined( M88K_BAD_HYPOT_OPT_CHECK )
-extern double hypot();
-/* Workaround a stupid Motorola optimization if one
- of x or y is 0.0 and the other is negative! */
-#ifdef __STDC__
-static __inline__ double fake_hypot (double x, double y)
-#else
-static __inline__ double fake_hypot (x, y)
- double x, y;
-#endif
-{
- return fabs (hypot (x, y));
-}
-#define hypot fake_hypot
-#endif /* M88K_BAD_HYPOT_OPT_CHECK */
-
-
#if defined( MATH_EXCEPTION_CHECK )
typedef struct exception t_math_exception;
#endif /* MATH_EXCEPTION_CHECK */
diff --git a/gcc/fixinc/tests/base/stdlib.h b/gcc/fixinc/tests/base/stdlib.h
index 857989cb9cb..48f0043debe 100644
--- a/gcc/fixinc/tests/base/stdlib.h
+++ b/gcc/fixinc/tests/base/stdlib.h
@@ -9,13 +9,6 @@
-#if defined( ARM_WCHAR_CHECK )
-# ifndef _GCC_WCHAR_T /* we don't have wchar_t yet, ... */
-# define _GCC_WCHAR_T short
-# endif /* __wchar_t */
-#endif /* ARM_WCHAR_CHECK */
-
-
#if defined( HPUX11_ABS_CHECK )
#if !defined(_MATH_INCLUDED) || defined(__GNUG__)
#endif /* HPUX11_ABS_CHECK */
@@ -28,13 +21,6 @@ extern void exit(void*);
#endif /* INT_ABORT_FREE_AND_EXIT_CHECK */
-#if defined( NEWS_OS_RECURSION_CHECK )
-#ifdef BOGUS_RECURSION
-#include <stdlib.h>
-#endif
-#endif /* NEWS_OS_RECURSION_CHECK */
-
-
#if defined( SVR4_GETCWD_CHECK )
extern char* getcwd(char *, size_t);
#endif /* SVR4_GETCWD_CHECK */
diff --git a/gcc/fixinc/tests/base/sys/byteorder.h b/gcc/fixinc/tests/base/sys/byteorder.h
deleted file mode 100644
index 46ca752f7e9..00000000000
--- a/gcc/fixinc/tests/base/sys/byteorder.h
+++ /dev/null
@@ -1,152 +0,0 @@
-/* DO NOT EDIT THIS FILE.
-
- It has been auto-edited by fixincludes from:
-
- "fixinc/tests/inc/sys/byteorder.h"
-
- This had to be done to correct non-standard usages in the
- original, manufacturer supplied header file. */
-
-#ifndef _SYS_BYTEORDER_H
-#define _SYS_BYTEORDER_H
-
-/* Functions to convert `short' and `long' quantities from host byte order
- to (internet) network byte order (i.e. big-endian).
-
- Written by Ron Guilmette (rfg@ncd.com).
-
- This isn't actually used by GCC. It is installed by fixinc.svr4.
-
- For big-endian machines these functions are essentially no-ops.
-
- For little-endian machines, we define the functions using specialized
- asm sequences in cases where doing so yields better code (e.g. i386). */
-
-#if !defined (__GNUC__) && !defined (__GNUG__)
-#error You lose! This file is only useful with GNU compilers.
-#endif
-
-#ifndef __BYTE_ORDER__
-/* Byte order defines. These are as defined on UnixWare 1.1, but with
- double underscores added at the front and back. */
-#define __LITTLE_ENDIAN__ 1234
-#define __BIG_ENDIAN__ 4321
-#define __PDP_ENDIAN__ 3412
-#endif
-
-#ifdef __STDC__
-static __inline__ unsigned long htonl (unsigned long);
-static __inline__ unsigned short htons (unsigned int);
-static __inline__ unsigned long ntohl (unsigned long);
-static __inline__ unsigned short ntohs (unsigned int);
-#endif /* defined (__STDC__) */
-
-#if defined (__i386__)
-
-#ifndef __BYTE_ORDER__
-#define __BYTE_ORDER__ __LITTLE_ENDIAN__
-#endif
-
-/* Convert a host long to a network long. */
-
-/* We must use a new-style function definition, so that this will also
- be valid for C++. */
-static __inline__ unsigned long
-htonl (unsigned long __arg)
-{
- register unsigned long __result;
-
- __asm__ ("xchg%B0 %b0,%h0
- ror%L0 $16,%0
- xchg%B0 %b0,%h0" : "=q" (__result) : "0" (__arg));
- return __result;
-}
-
-/* Convert a host short to a network short. */
-
-static __inline__ unsigned short
-htons (unsigned int __arg)
-{
- register unsigned short __result;
-
- __asm__ ("xchg%B0 %b0,%h0" : "=q" (__result) : "0" (__arg));
- return __result;
-}
-
-#elif ((defined (__i860__) && !defined (__i860_big_endian__)) \
- || defined (__ns32k__) || defined (__vax__) \
- || defined (__spur__) || defined (__arm__))
-
-#ifndef __BYTE_ORDER__
-#define __BYTE_ORDER__ __LITTLE_ENDIAN__
-#endif
-
-/* For other little-endian machines, using C code is just as efficient as
- using assembly code. */
-
-/* Convert a host long to a network long. */
-
-static __inline__ unsigned long
-htonl (unsigned long __arg)
-{
- register unsigned long __result;
-
- __result = (__arg >> 24) & 0x000000ff;
- __result |= (__arg >> 8) & 0x0000ff00;
- __result |= (__arg << 8) & 0x00ff0000;
- __result |= (__arg << 24) & 0xff000000;
- return __result;
-}
-
-/* Convert a host short to a network short. */
-
-static __inline__ unsigned short
-htons (unsigned int __arg)
-{
- register unsigned short __result;
-
- __result = (__arg << 8) & 0xff00;
- __result |= (__arg >> 8) & 0x00ff;
- return __result;
-}
-
-#else /* must be a big-endian machine */
-
-#ifndef __BYTE_ORDER__
-#define __BYTE_ORDER__ __BIG_ENDIAN__
-#endif
-
-/* Convert a host long to a network long. */
-
-static __inline__ unsigned long
-htonl (unsigned long __arg)
-{
- return __arg;
-}
-
-/* Convert a host short to a network short. */
-
-static __inline__ unsigned short
-htons (unsigned int __arg)
-{
- return __arg;
-}
-
-#endif /* big-endian */
-
-/* Convert a network long to a host long. */
-
-static __inline__ unsigned long
-ntohl (unsigned long __arg)
-{
- return htonl (__arg);
-}
-
-/* Convert a network short to a host short. */
-
-static __inline__ unsigned short
-ntohs (unsigned int __arg)
-{
- return htons (__arg);
-}
-#endif
diff --git a/gcc/fixinc/tests/base/sys/param.h b/gcc/fixinc/tests/base/sys/param.h
index e0c839b490d..41269247bbb 100644
--- a/gcc/fixinc/tests/base/sys/param.h
+++ b/gcc/fixinc/tests/base/sys/param.h
@@ -9,12 +9,6 @@
-#if defined( AUX_ASM_CHECK )
-#if !defined(NOINLINE) && !defined(__GNUC__) /* ain't got no inline, so we got it */
-#endif /* NOINLINE */
-#endif /* AUX_ASM_CHECK */
-
-
#if defined( HPUX_MAXINT_CHECK )
#ifndef MAXINT
#define MAXINT 0x7FFFFFFF
diff --git a/gcc/fixinc/tests/base/sys/stat.h b/gcc/fixinc/tests/base/sys/stat.h
index 46a4623cd27..a0da6db01b2 100644
--- a/gcc/fixinc/tests/base/sys/stat.h
+++ b/gcc/fixinc/tests/base/sys/stat.h
@@ -9,11 +9,6 @@
-#if defined( M88K_BAD_S_IF_CHECK )
-#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) /* is regular? */
-#endif /* M88K_BAD_S_IF_CHECK */
-
-
#if defined( RS6000_FCHMOD_CHECK )
extern int fchmod(int, mode_t);
#endif /* RS6000_FCHMOD_CHECK */
diff --git a/gcc/fixinc/tests/base/time.h b/gcc/fixinc/tests/base/time.h
index 100992442b7..cf22e2014d6 100644
--- a/gcc/fixinc/tests/base/time.h
+++ b/gcc/fixinc/tests/base/time.h
@@ -7,14 +7,6 @@
This had to be done to correct non-standard usages in the
original, manufacturer supplied header file. */
-#ifndef FIXINC_M88K_MULTI_INCL_CHECK
-#define FIXINC_M88K_MULTI_INCL_CHECK 1
-
-
-
-#if defined( M88K_MULTI_INCL_CHECK )
-
-#endif /* M88K_MULTI_INCL_CHECK */
#if defined( VXWORKS_NEEDS_VXTYPES_CHECK )
@@ -33,5 +25,3 @@ typedef void (*__gcc_VOIDFUNCPTR) ();
#endif
#define VOIDFUNCPTR __gcc_VOIDFUNCPTR
#endif /* VXWORKS_TIME_CHECK */
-
-#endif /* FIXINC_M88K_MULTI_INCL_CHECK */
OpenPOWER on IntegriCloud