aboutsummaryrefslogtreecommitdiff
path: root/libgcc/soft-fp/soft-fp.h
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2012-03-01 21:50:26 +0100
committerKai Tietz <ktietz@gcc.gnu.org>2012-03-01 21:50:26 +0100
commitb7633ee392220fe7853e23c2c5c3fb4695b0ab24 (patch)
tree9869f6d1412529d8b68ead50817d90b438d922cc /libgcc/soft-fp/soft-fp.h
parent5d9dc69aff9b45ad78e4b668855f3879e6fef7df (diff)
downloadgcc-b7633ee392220fe7853e23c2c5c3fb4695b0ab24.zip
gcc-b7633ee392220fe7853e23c2c5c3fb4695b0ab24.tar.gz
gcc-b7633ee392220fe7853e23c2c5c3fb4695b0ab24.tar.bz2
soft-fp: Imported from glibc upstream.
* soft-fp: Imported from glibc upstream. From-SVN: r184760
Diffstat (limited to 'libgcc/soft-fp/soft-fp.h')
-rw-r--r--libgcc/soft-fp/soft-fp.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/libgcc/soft-fp/soft-fp.h b/libgcc/soft-fp/soft-fp.h
index 2307357..46cb1cf 100644
--- a/libgcc/soft-fp/soft-fp.h
+++ b/libgcc/soft-fp/soft-fp.h
@@ -1,5 +1,5 @@
/* Software floating-point emulation.
- Copyright (C) 1997,1998,1999,2000,2002,2003,2005,2006
+ Copyright (C) 1997,1998,1999,2000,2002,2003,2005,2006,2007,2012
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson (rth@cygnus.com),
@@ -27,9 +27,8 @@
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
- License along with the GNU C Library; if not, write to the Free
- Software Foundation, 51 Franklin Street, Fifth Floor, Boston,
- MA 02110-1301, USA. */
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
#ifndef SOFT_FP_H
#define SOFT_FP_H
@@ -85,6 +84,16 @@
#define FP_EX_DENORM 0
#endif
+/* _FP_STRUCT_LAYOUT may be defined as an attribute to determine the
+ struct layout variant used for structures where bit-fields are used
+ to access specific parts of binary floating-point numbers. This is
+ required for systems where the default ABI uses struct layout with
+ differences in how consecutive bit-fields are laid out from the
+ default expected by soft-fp. */
+#ifndef _FP_STRUCT_LAYOUT
+#define _FP_STRUCT_LAYOUT
+#endif
+
#ifdef _FP_DECL_EX
#define FP_DECL_EX \
int _fex = 0; \