about summary refs log tree commit diff
path: root/soft-fp/single.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/single.h
parent9ea559e401aefe0528600270b62d52195f1347eb (diff)
downloadglibc-f775c276fd1f89cc9d561db0890a356e7d6e50b8.tar.gz
glibc-f775c276fd1f89cc9d561db0890a356e7d6e50b8.tar.xz
glibc-f775c276fd1f89cc9d561db0890a356e7d6e50b8.zip
soft-fp: Support using struct layout attributes on bit-fields.
Diffstat (limited to 'soft-fp/single.h')
-rw-r--r--soft-fp/single.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/soft-fp/single.h b/soft-fp/single.h
index c10d25a4a4..119d0db331 100644
--- a/soft-fp/single.h
+++ b/soft-fp/single.h
@@ -1,6 +1,6 @@
 /* Software floating-point emulation.
    Definitions for IEEE Single Precision.
-   Copyright (C) 1997,1998,1999,2006 Free Software Foundation, Inc.
+   Copyright (C) 1997,1998,1999,2006,2012 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Richard Henderson (rth@cygnus.com),
 		  Jakub Jelinek (jj@ultra.linux.cz),
@@ -57,7 +57,7 @@ typedef float SFtype __attribute__((mode(SF)));
 union _FP_UNION_S
 {
   SFtype flt;
-  struct {
+  struct _FP_STRUCT_LAYOUT {
 #if __BYTE_ORDER == __BIG_ENDIAN
     unsigned sign : 1;
     unsigned exp  : _FP_EXPBITS_S;