mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 08:04:39 +08:00
regeneration based on new engine
From-SVN: r42236
This commit is contained in:
parent
98c197fe39
commit
dac3286202
@ -285,64 +285,48 @@ tSCC zAab_Dgux_Int_VarargsList[] =
|
|||||||
*/
|
*/
|
||||||
static const char* apzAab_Dgux_Int_VarargsPatch[] = {
|
static const char* apzAab_Dgux_Int_VarargsPatch[] = {
|
||||||
"#ifndef __INT_VARARGS_H\n\
|
"#ifndef __INT_VARARGS_H\n\
|
||||||
#define __INT_VARARGS_H\n\
|
#define __INT_VARARGS_H\n\n\
|
||||||
\n\
|
|
||||||
/************************************************************************/\n\
|
/************************************************************************/\n\
|
||||||
/* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
|
/* _INT_VARARGS.H - Define the common stuff for varargs/stdarg/stdio. */\n\
|
||||||
/************************************************************************/\n\
|
/************************************************************************/\n\n\
|
||||||
\n\
|
|
||||||
/*\n\
|
/*\n\
|
||||||
** This file is a DG internal header. Never include this\n\
|
** This file is a DG internal header. Never include this\n\
|
||||||
** file directly.\n\
|
** file directly.\n\
|
||||||
*/\n\
|
*/\n\n\
|
||||||
\n\
|
|
||||||
#ifndef ___int_features_h\n\
|
#ifndef ___int_features_h\n\
|
||||||
#include <sys/_int_features.h>\n\
|
#include <sys/_int_features.h>\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
|
#if !(defined(_VA_LIST) || defined(_VA_LIST_))\n\
|
||||||
#define _VA_LIST\n\
|
#define _VA_LIST\n\
|
||||||
#define _VA_LIST_\n\
|
#define _VA_LIST_\n\n\
|
||||||
\n\
|
#ifdef __LINT__\n\n\
|
||||||
#ifdef __LINT__\n\
|
|
||||||
\n\
|
|
||||||
#ifdef __STDC__\n\
|
#ifdef __STDC__\n\
|
||||||
typedef void * va_list;\n\
|
typedef void * va_list;\n\
|
||||||
#else\n\
|
#else\n\
|
||||||
typedef char * va_list;\n\
|
typedef char * va_list;\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#else\n\
|
#else\n\
|
||||||
#if _M88K_ANY\n\
|
#if _M88K_ANY\n\n\
|
||||||
\n\
|
#if defined(__DCC__)\n\n\
|
||||||
#if defined(__DCC__)\n\
|
|
||||||
\n\
|
|
||||||
typedef struct {\n\
|
typedef struct {\n\
|
||||||
int next_arg;\n\
|
int next_arg;\n\
|
||||||
int *mem_ptr;\n\
|
int *mem_ptr;\n\
|
||||||
int *reg_ptr;\n\
|
int *reg_ptr;\n\
|
||||||
} va_list;\n\
|
} va_list;\n\n\
|
||||||
\n\
|
#else /* ! defined(__DCC__) */\n\n\
|
||||||
#else /* ! defined(__DCC__) */\n\
|
|
||||||
\n\
|
|
||||||
typedef struct {\n\
|
typedef struct {\n\
|
||||||
int __va_arg; /* argument number */\n\
|
int __va_arg; /* argument number */\n\
|
||||||
int *__va_stk; /* start of args passed on stack */\n\
|
int *__va_stk; /* start of args passed on stack */\n\
|
||||||
int *__va_reg; /* start of args passed in regs */\n\
|
int *__va_reg; /* start of args passed in regs */\n\
|
||||||
} va_list;\n\
|
} va_list;\n\n\
|
||||||
\n\
|
#endif /* ! defined(__DCC__) */\n\n\
|
||||||
#endif /* ! defined(__DCC__) */\n\
|
#elif _IX86_ANY\n\n\
|
||||||
\n\
|
|
||||||
#elif _IX86_ANY\n\
|
|
||||||
\n\
|
|
||||||
#if defined(__GNUC__) || defined(__STDC__)\n\
|
#if defined(__GNUC__) || defined(__STDC__)\n\
|
||||||
typedef void * va_list;\n\
|
typedef void * va_list;\n\
|
||||||
#else\n\
|
#else\n\
|
||||||
typedef char * va_list;\n\
|
typedef char * va_list;\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
#endif /* _IX86_ANY */\n\n\
|
||||||
#endif /* _IX86_ANY */\n\
|
|
||||||
\n\
|
|
||||||
#endif /* __LINT__ */\n\
|
#endif /* __LINT__ */\n\
|
||||||
#endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
|
#endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
|
||||||
#endif /* #ifndef __INT_VARARGS_H */\n",
|
#endif /* #ifndef __INT_VARARGS_H */\n",
|
||||||
@ -386,8 +370,7 @@ static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
|
|||||||
for older versions of the Linux kernel. */\n\
|
for older versions of the Linux kernel. */\n\
|
||||||
#ifndef _POSIX_TYPES_H_WRAPPER\n\
|
#ifndef _POSIX_TYPES_H_WRAPPER\n\
|
||||||
#include <features.h>\n\
|
#include <features.h>\n\
|
||||||
#include_next <asm/posix_types.h>\n\
|
#include_next <asm/posix_types.h>\n\n\
|
||||||
\n\
|
|
||||||
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
|
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
|
||||||
#undef __FD_ZERO\n\
|
#undef __FD_ZERO\n\
|
||||||
#define __FD_ZERO(fdsetp) \\\n\
|
#define __FD_ZERO(fdsetp) \\\n\
|
||||||
@ -398,8 +381,7 @@ static const char* apzAab_Fd_Zero_Asm_Posix_Types_HPatch[] = {
|
|||||||
\t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
|
\t\t\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
|
||||||
\t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
|
\t\t\t \"1\" ((__kernel_fd_set *) (fdsetp)) :\"memory\"); \\\n\
|
||||||
} while (0)\n\
|
} while (0)\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#define _POSIX_TYPES_H_WRAPPER\n\
|
#define _POSIX_TYPES_H_WRAPPER\n\
|
||||||
#endif /* _POSIX_TYPES_H_WRAPPER */\n",
|
#endif /* _POSIX_TYPES_H_WRAPPER */\n",
|
||||||
(char*)NULL };
|
(char*)NULL };
|
||||||
@ -433,8 +415,7 @@ static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
|
|||||||
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
|
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 1.x. */\n\
|
||||||
#ifndef _TYPES_H_WRAPPER\n\
|
#ifndef _TYPES_H_WRAPPER\n\
|
||||||
#include <features.h>\n\
|
#include <features.h>\n\
|
||||||
#include_next <gnu/types.h>\n\
|
#include_next <gnu/types.h>\n\n\
|
||||||
\n\
|
|
||||||
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
|
#if defined(__FD_ZERO) && !defined(__GLIBC__)\n\
|
||||||
#undef __FD_ZERO\n\
|
#undef __FD_ZERO\n\
|
||||||
# define __FD_ZERO(fdsetp) \\\n\
|
# define __FD_ZERO(fdsetp) \\\n\
|
||||||
@ -445,8 +426,7 @@ static const char* apzAab_Fd_Zero_Gnu_Types_HPatch[] = {
|
|||||||
\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
|
\t: \"a\" (0), \"0\" (__FDSET_LONGS), \\\n\
|
||||||
\t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
|
\t\t \"1\" ((__fd_set *) (fdsetp)) :\"memory\"); \\\n\
|
||||||
} while (0)\n\
|
} while (0)\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#define _TYPES_H_WRAPPER\n\
|
#define _TYPES_H_WRAPPER\n\
|
||||||
#endif /* _TYPES_H_WRAPPER */\n",
|
#endif /* _TYPES_H_WRAPPER */\n",
|
||||||
(char*)NULL };
|
(char*)NULL };
|
||||||
@ -480,8 +460,7 @@ static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
|
|||||||
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
|
"/* This file fixes a bug in the __FD_ZERO macro present in glibc 2.0.x. */\n\
|
||||||
#ifndef _SELECTBITS_H_WRAPPER\n\
|
#ifndef _SELECTBITS_H_WRAPPER\n\
|
||||||
#include <features.h>\n\
|
#include <features.h>\n\
|
||||||
#include_next <selectbits.h>\n\
|
#include_next <selectbits.h>\n\n\
|
||||||
\n\
|
|
||||||
#if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
|
#if defined(__FD_ZERO) && defined(__GLIBC__) \\\n\
|
||||||
\t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
|
\t&& defined(__GLIBC_MINOR__) && __GLIBC__ == 2 \\\n\
|
||||||
\t&& __GLIBC_MINOR__ == 0\n\
|
\t&& __GLIBC_MINOR__ == 0\n\
|
||||||
@ -496,8 +475,7 @@ static const char* apzAab_Fd_Zero_Selectbits_HPatch[] = {
|
|||||||
\"1\" ((__fd_mask *) (fdsetp)) \\\n\
|
\"1\" ((__fd_mask *) (fdsetp)) \\\n\
|
||||||
: \"memory\"); \\\n\
|
: \"memory\"); \\\n\
|
||||||
} while (0)\n\
|
} while (0)\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#define _SELECTBITS_H_WRAPPER\n\
|
#define _SELECTBITS_H_WRAPPER\n\
|
||||||
#endif /* _SELECTBITS_H_WRAPPER */\n",
|
#endif /* _SELECTBITS_H_WRAPPER */\n",
|
||||||
(char*)NULL };
|
(char*)NULL };
|
||||||
@ -536,8 +514,7 @@ static tTestDesc aAab_Sun_MemcpyTests[] = {
|
|||||||
static const char* apzAab_Sun_MemcpyPatch[] = {
|
static const char* apzAab_Sun_MemcpyPatch[] = {
|
||||||
"/* This file was generated by fixincludes */\n\
|
"/* This file was generated by fixincludes */\n\
|
||||||
#ifndef __memory_h__\n\
|
#ifndef __memory_h__\n\
|
||||||
#define __memory_h__\n\
|
#define __memory_h__\n\n\
|
||||||
\n\
|
|
||||||
#ifdef __STDC__\n\
|
#ifdef __STDC__\n\
|
||||||
extern void *memccpy();\n\
|
extern void *memccpy();\n\
|
||||||
extern void *memchr();\n\
|
extern void *memchr();\n\
|
||||||
@ -548,10 +525,8 @@ extern char *memccpy();\n\
|
|||||||
extern char *memchr();\n\
|
extern char *memchr();\n\
|
||||||
extern char *memcpy();\n\
|
extern char *memcpy();\n\
|
||||||
extern char *memset();\n\
|
extern char *memset();\n\
|
||||||
#endif /* __STDC__ */\n\
|
#endif /* __STDC__ */\n\n\
|
||||||
\n\
|
extern int memcmp();\n\n\
|
||||||
extern int memcmp();\n\
|
|
||||||
\n\
|
|
||||||
#endif /* __memory_h__ */\n",
|
#endif /* __memory_h__ */\n",
|
||||||
(char*)NULL };
|
(char*)NULL };
|
||||||
|
|
||||||
@ -587,142 +562,106 @@ tSCC* apzAab_Svr4_Replace_ByteorderMachs[] = {
|
|||||||
*/
|
*/
|
||||||
static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
|
static const char* apzAab_Svr4_Replace_ByteorderPatch[] = {
|
||||||
"#ifndef _SYS_BYTEORDER_H\n\
|
"#ifndef _SYS_BYTEORDER_H\n\
|
||||||
#define _SYS_BYTEORDER_H\n\
|
#define _SYS_BYTEORDER_H\n\n\
|
||||||
\n\
|
|
||||||
/* Functions to convert `short' and `long' quantities from host byte order\n\
|
/* Functions to convert `short' and `long' quantities from host byte order\n\
|
||||||
to (internet) network byte order (i.e. big-endian).\n\
|
to (internet) network byte order (i.e. big-endian).\n\n\
|
||||||
\n\
|
Written by Ron Guilmette (rfg@ncd.com).\n\n\
|
||||||
Written by Ron Guilmette (rfg@ncd.com).\n\
|
This isn't actually used by GCC. It is installed by fixinc.svr4.\n\n\
|
||||||
\n\
|
For big-endian machines these functions are essentially no-ops.\n\n\
|
||||||
This isn't actually used by GCC. It is installed by fixinc.svr4.\n\
|
|
||||||
\n\
|
|
||||||
For big-endian machines these functions are essentially no-ops.\n\
|
|
||||||
\n\
|
|
||||||
For little-endian machines, we define the functions using specialized\n\
|
For little-endian machines, we define the functions using specialized\n\
|
||||||
asm sequences in cases where doing so yields better code (e.g. i386). */\n\
|
asm sequences in cases where doing so yields better code (e.g. i386). */\n\n\
|
||||||
\n\
|
|
||||||
#if !defined (__GNUC__) && !defined (__GNUG__)\n\
|
#if !defined (__GNUC__) && !defined (__GNUG__)\n\
|
||||||
#error You lose! This file is only useful with GNU compilers.\n\
|
#error You lose! This file is only useful with GNU compilers.\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#ifndef __BYTE_ORDER__\n\
|
#ifndef __BYTE_ORDER__\n\
|
||||||
/* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
|
/* Byte order defines. These are as defined on UnixWare 1.1, but with\n\
|
||||||
double underscores added at the front and back. */\n\
|
double underscores added at the front and back. */\n\
|
||||||
#define __LITTLE_ENDIAN__ 1234\n\
|
#define __LITTLE_ENDIAN__ 1234\n\
|
||||||
#define __BIG_ENDIAN__ 4321\n\
|
#define __BIG_ENDIAN__ 4321\n\
|
||||||
#define __PDP_ENDIAN__ 3412\n\
|
#define __PDP_ENDIAN__ 3412\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
#ifdef __STDC__\n\
|
#ifdef __STDC__\n\
|
||||||
static __inline__ unsigned long htonl (unsigned long);\n\
|
static __inline__ unsigned long htonl (unsigned long);\n\
|
||||||
static __inline__ unsigned short htons (unsigned int);\n\
|
static __inline__ unsigned short htons (unsigned int);\n\
|
||||||
static __inline__ unsigned long ntohl (unsigned long);\n\
|
static __inline__ unsigned long ntohl (unsigned long);\n\
|
||||||
static __inline__ unsigned short ntohs (unsigned int);\n\
|
static __inline__ unsigned short ntohs (unsigned int);\n\
|
||||||
#endif /* defined (__STDC__) */\n\
|
#endif /* defined (__STDC__) */\n\n\
|
||||||
\n\
|
#if defined (__i386__)\n\n\
|
||||||
#if defined (__i386__)\n\
|
|
||||||
\n\
|
|
||||||
#ifndef __BYTE_ORDER__\n\
|
#ifndef __BYTE_ORDER__\n\
|
||||||
#define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
|
#define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
/* Convert a host long to a network long. */\n\n\
|
||||||
/* Convert a host long to a network long. */\n\
|
|
||||||
\n\
|
|
||||||
/* We must use a new-style function definition, so that this will also\n\
|
/* We must use a new-style function definition, so that this will also\n\
|
||||||
be valid for C++. */\n\
|
be valid for C++. */\n\
|
||||||
static __inline__ unsigned long\n\
|
static __inline__ unsigned long\n\
|
||||||
htonl (unsigned long __arg)\n\
|
htonl (unsigned long __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
register unsigned long __result;\n\
|
register unsigned long __result;\n\n\
|
||||||
\n\
|
|
||||||
__asm__ (\"xchg%B0 %b0,%h0\n\
|
__asm__ (\"xchg%B0 %b0,%h0\n\
|
||||||
\tror%L0 $16,%0\n\
|
\tror%L0 $16,%0\n\
|
||||||
\txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
|
\txchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
|
||||||
return __result;\n\
|
return __result;\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
/* Convert a host short to a network short. */\n\n\
|
||||||
/* Convert a host short to a network short. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned short\n\
|
static __inline__ unsigned short\n\
|
||||||
htons (unsigned int __arg)\n\
|
htons (unsigned int __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
register unsigned short __result;\n\
|
register unsigned short __result;\n\n\
|
||||||
\n\
|
|
||||||
__asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
|
__asm__ (\"xchg%B0 %b0,%h0\" : \"=q\" (__result) : \"0\" (__arg));\n\
|
||||||
return __result;\n\
|
return __result;\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
|
||||||
#elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
|
#elif ((defined (__i860__) && !defined (__i860_big_endian__))\t\\\n\
|
||||||
|| defined (__ns32k__) || defined (__vax__)\t\t\\\n\
|
|| defined (__ns32k__) || defined (__vax__)\t\t\\\n\
|
||||||
|| defined (__spur__) || defined (__arm__))\n\
|
|| defined (__spur__) || defined (__arm__))\n\n\
|
||||||
\n\
|
|
||||||
#ifndef __BYTE_ORDER__\n\
|
#ifndef __BYTE_ORDER__\n\
|
||||||
#define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
|
#define __BYTE_ORDER__ __LITTLE_ENDIAN__\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
|
||||||
/* For other little-endian machines, using C code is just as efficient as\n\
|
/* For other little-endian machines, using C code is just as efficient as\n\
|
||||||
using assembly code. */\n\
|
using assembly code. */\n\n\
|
||||||
\n\
|
/* Convert a host long to a network long. */\n\n\
|
||||||
/* Convert a host long to a network long. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned long\n\
|
static __inline__ unsigned long\n\
|
||||||
htonl (unsigned long __arg)\n\
|
htonl (unsigned long __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
register unsigned long __result;\n\
|
register unsigned long __result;\n\n\
|
||||||
\n\
|
|
||||||
__result = (__arg >> 24) & 0x000000ff;\n\
|
__result = (__arg >> 24) & 0x000000ff;\n\
|
||||||
__result |= (__arg >> 8) & 0x0000ff00;\n\
|
__result |= (__arg >> 8) & 0x0000ff00;\n\
|
||||||
__result |= (__arg << 8) & 0x00ff0000;\n\
|
__result |= (__arg << 8) & 0x00ff0000;\n\
|
||||||
__result |= (__arg << 24) & 0xff000000;\n\
|
__result |= (__arg << 24) & 0xff000000;\n\
|
||||||
return __result;\n\
|
return __result;\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
/* Convert a host short to a network short. */\n\n\
|
||||||
/* Convert a host short to a network short. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned short\n\
|
static __inline__ unsigned short\n\
|
||||||
htons (unsigned int __arg)\n\
|
htons (unsigned int __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
register unsigned short __result;\n\
|
register unsigned short __result;\n\n\
|
||||||
\n\
|
|
||||||
__result = (__arg << 8) & 0xff00;\n\
|
__result = (__arg << 8) & 0xff00;\n\
|
||||||
__result |= (__arg >> 8) & 0x00ff;\n\
|
__result |= (__arg >> 8) & 0x00ff;\n\
|
||||||
return __result;\n\
|
return __result;\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
#else /* must be a big-endian machine */\n\n\
|
||||||
#else /* must be a big-endian machine */\n\
|
|
||||||
\n\
|
|
||||||
#ifndef __BYTE_ORDER__\n\
|
#ifndef __BYTE_ORDER__\n\
|
||||||
#define __BYTE_ORDER__ __BIG_ENDIAN__\n\
|
#define __BYTE_ORDER__ __BIG_ENDIAN__\n\
|
||||||
#endif\n\
|
#endif\n\n\
|
||||||
\n\
|
/* Convert a host long to a network long. */\n\n\
|
||||||
/* Convert a host long to a network long. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned long\n\
|
static __inline__ unsigned long\n\
|
||||||
htonl (unsigned long __arg)\n\
|
htonl (unsigned long __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
return __arg;\n\
|
return __arg;\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
/* Convert a host short to a network short. */\n\n\
|
||||||
/* Convert a host short to a network short. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned short\n\
|
static __inline__ unsigned short\n\
|
||||||
htons (unsigned int __arg)\n\
|
htons (unsigned int __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
return __arg;\n\
|
return __arg;\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
#endif /* big-endian */\n\n\
|
||||||
#endif /* big-endian */\n\
|
/* Convert a network long to a host long. */\n\n\
|
||||||
\n\
|
|
||||||
/* Convert a network long to a host long. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned long\n\
|
static __inline__ unsigned long\n\
|
||||||
ntohl (unsigned long __arg)\n\
|
ntohl (unsigned long __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
return htonl (__arg);\n\
|
return htonl (__arg);\n\
|
||||||
}\n\
|
}\n\n\
|
||||||
\n\
|
/* Convert a network short to a host short. */\n\n\
|
||||||
/* Convert a network short to a host short. */\n\
|
|
||||||
\n\
|
|
||||||
static __inline__ unsigned short\n\
|
static __inline__ unsigned short\n\
|
||||||
ntohs (unsigned int __arg)\n\
|
ntohs (unsigned int __arg)\n\
|
||||||
{\n\
|
{\n\
|
||||||
@ -2995,8 +2934,7 @@ static tTestDesc aMath_Huge_Val_From_Dbl_MaxTests[] = {
|
|||||||
* Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
|
* Fix Command Arguments for Math_Huge_Val_From_Dbl_Max
|
||||||
*/
|
*/
|
||||||
static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
|
static const char* apzMath_Huge_Val_From_Dbl_MaxPatch[] = { "sh", "-c",
|
||||||
"\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\
|
"\tdbl_max_def=`egrep 'define[ \t]+DBL_MAX[ \t]+.*' float.h | sed 's/.*DBL_MAX[ \t]*//' 2>/dev/null`\n\n\
|
||||||
\n\
|
|
||||||
\tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
|
\tif ( test -n \"${dbl_max_def}\" ) > /dev/null 2>&1\n\
|
||||||
\tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
|
\tthen sed -e '/define[ \t]*HUGE_VAL[ \t]*DBL_MAX/s@DBL_MAX@'\"$dbl_max_def@\"\n\
|
||||||
\telse cat\n\
|
\telse cat\n\
|
||||||
@ -4971,8 +4909,7 @@ static const char* apzUltrix_StatPatch[] = { "sed",
|
|||||||
"-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
|
"-e", "/^#define[ \t]S_IFPORT[ \t]*S_IFIFO$/a\\\n\
|
||||||
\\\n\
|
\\\n\
|
||||||
/* macro to test for symbolic link */\\\n\
|
/* macro to test for symbolic link */\\\n\
|
||||||
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\
|
#define S_ISLNK(mode) (((mode) & S_IFMT) == S_IFLNK)\\\n\n",
|
||||||
\n",
|
|
||||||
"-e", "/^[ \t]*fstat(),$/a\\\n\
|
"-e", "/^[ \t]*fstat(),$/a\\\n\
|
||||||
\tlstat(),\n",
|
\tlstat(),\n",
|
||||||
(char*)NULL };
|
(char*)NULL };
|
||||||
|
Loading…
Reference in New Issue
Block a user