summaryrefslogtreecommitdiff
path: root/soft-fp/extended.h
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2012-03-01 16:22:09 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-01 16:22:09 +0000
commitf775c276fd1f89cc9d561db0890a356e7d6e50b8 (patch)
treee9c1f14c5d7a5fa8534879736c46e492b2220994 /soft-fp/extended.h
parent9ea559e401aefe0528600270b62d52195f1347eb (diff)
downloadglibc-f775c276fd1f89cc9d561db0890a356e7d6e50b8.tar.gz
soft-fp: Support using struct layout attributes on bit-fields.
Diffstat (limited to 'soft-fp/extended.h')
-rw-r--r--soft-fp/extended.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/soft-fp/extended.h b/soft-fp/extended.h
index 3ab6b6aa25..af9c6e65a8 100644
--- a/soft-fp/extended.h
+++ b/soft-fp/extended.h
@@ -1,6 +1,6 @@
/* Software floating-point emulation.
Definitions for IEEE Extended Precision.
- Copyright (C) 1999,2006,2007 Free Software Foundation, Inc.
+ Copyright (C) 1999,2006,2007,2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Jakub Jelinek (jj@ultra.linux.cz).
@@ -63,7 +63,7 @@ typedef float XFtype __attribute__((mode(XF)));
union _FP_UNION_E
{
XFtype flt;
- struct
+ struct _FP_STRUCT_LAYOUT
{
#if __BYTE_ORDER == __BIG_ENDIAN
unsigned long pad1 : _FP_W_TYPE_SIZE;
@@ -262,7 +262,7 @@ union _FP_UNION_E
union _FP_UNION_E
{
XFtype flt;
- struct {
+ struct _FP_STRUCT_LAYOUT {
#if __BYTE_ORDER == __BIG_ENDIAN
_FP_W_TYPE pad : (_FP_W_TYPE_SIZE - 1 - _FP_EXPBITS_E);
unsigned sign : 1;