aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2014-09-17 21:37:14 +0000
committerJoseph Myers <joseph@codesourcery.com>2014-09-17 21:37:14 +0000
commit4e8afe69e119e6a4b148e9a6e07e5894c7f6528e (patch)
tree70d43629e4eabf835e13ddbf636ed60f34e265cb
parentaf296fcdaba31c3a8062fec0b4198443bb43bd47 (diff)
downloadglibc-4e8afe69e119e6a4b148e9a6e07e5894c7f6528e.zip
glibc-4e8afe69e119e6a4b148e9a6e07e5894c7f6528e.tar.gz
glibc-4e8afe69e119e6a4b148e9a6e07e5894c7f6528e.tar.bz2
soft-fp: Correct _FP_TO_INT formatting.
This patch corrects some soft-fp formatting that failed to follow the GNU Coding Standards. Tested for powerpc-nofpu that the disassembly of installed shared libraries is unchanged by this patch. * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
-rw-r--r--ChangeLog4
-rw-r--r--soft-fp/op-common.h12
2 files changed, 11 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 0d96ac4..6618eb7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2014-09-17 Joseph Myers <joseph@codesourcery.com>
+
+ * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
+
2014-09-16 Joseph Myers <joseph@codesourcery.com>
[BZ #6652]
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 5f37a32..5852a86 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -1373,11 +1373,13 @@
r = 1; \
r <<= rsize - 1; \
r -= 1 - X##_s; \
- } else { \
- r = 0; \
- if (!X##_s) \
- r = ~r; \
- } \
+ } \
+ else \
+ { \
+ r = 0; \
+ if (!X##_s) \
+ r = ~r; \
+ } \
\
if (rsigned && X##_s && X##_e == _FP_EXPBIAS_##fs + rsize - 1) \
{ \