diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/fpu_control.h | 8 | ||||
-rw-r--r-- | sysdeps/generic/readv.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/writev.c | 4 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sysdeps/generic/fpu_control.h b/sysdeps/generic/fpu_control.h index e91638d008..4d3d978426 100644 --- a/sysdeps/generic/fpu_control.h +++ b/sysdeps/generic/fpu_control.h @@ -20,18 +20,18 @@ #ifndef _FPU_CONTROL_H #define _FPU_CONTROL_H -#define _FPU_RESERVED ??? /* These bits are reserved are not changed. */ +#define _FPU_RESERVED 0xffffffff /* These bits are reserved and not changed. */ /* The fdlibm code requires no interrupts for exceptions. Don't change the rounding mode, it would break long double I/O! */ #define _FPU_DEFAULT 0x00000000 /* Default value. */ /* Type of the control word. */ -typedef unsigned int fpu_control_t __attribute__ ((__mode__ (__?I__))); +typedef unsigned int fpu_control_t; /* Macros for accessing the hardware control word. */ -#define _FPU_GETCW(cw) __asm__ ("fetch fpu control word into %0" : "=g" (cw)) -#define _FPU_SETCW(cw) __asm__ ("set fpu control word to %0" : : "g" (cw)) +#define _FPU_GETCW(cw) 0 +#define _FPU_SETCW(cw) do { } while (0) /* Default control word set at startup. */ extern fpu_control_t __fpu_control; diff --git a/sysdeps/generic/readv.c b/sysdeps/generic/readv.c index b210d53552..6be63d9ef3 100644 --- a/sysdeps/generic/readv.c +++ b/sysdeps/generic/readv.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,7 +25,7 @@ The buffers are filled in the order specified. Operates just like `read' (see <unistd.h>) except that data are put in VECTOR instead of a contiguous buffer. */ -int +ssize_t __readv (fd, vector, count) int fd; const struct iovec *vector; diff --git a/sysdeps/generic/writev.c b/sysdeps/generic/writev.c index fc6bc20095..b53851493d 100644 --- a/sysdeps/generic/writev.c +++ b/sysdeps/generic/writev.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,7 +25,7 @@ The data is written in the order specified. Operates just like `write' (see <unistd.h>) except that the data are taken from VECTOR instead of a contiguous buffer. */ -int +ssize_t __writev (fd, vector, count) int fd; const struct iovec *vector; |