diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-11-07 19:36:26 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-11-07 19:36:26 +0000 |
commit | a153644f75bb7e5c7814eb2a7a4737108018748f (patch) | |
tree | 9febea399aa1894ed3141daf9c1b518b6631b55a /libgcc/fp-bit.h | |
parent | 3dee689d8fa82d36a83926931bb9ebaad18ee465 (diff) | |
download | gcc-a153644f75bb7e5c7814eb2a7a4737108018748f.zip gcc-a153644f75bb7e5c7814eb2a7a4737108018748f.tar.gz gcc-a153644f75bb7e5c7814eb2a7a4737108018748f.tar.bz2 |
replace BITS_PER_UNIT with __CHAR_BIT__ in target libs
libgcc/ChangeLog:
2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* config/visium/lib2funcs.c (__set_trampoline_parity): Use
__CHAR_BIT__ instead of BITS_PER_UNIT.
* fixed-bit.h: Likewise.
* fp-bit.h: Likewise.
* libgcc2.c (__popcountSI2): Likewise.
(__popcountDI2): Likewise.
* libgcc2.h: Likewise.
* libgcov.h: Likewise.
libobjc/ChangeLog:
2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
PR libobjc/24775
* encoding.c (_darwin_rs6000_special_round_type_align): Use
__CHAR_BIT__ instead of BITS_PER_UNIT.
(objc_sizeof_type): Likewise.
(objc_layout_structure): Likewise.
(objc_layout_structure_next_member): Likewise.
(objc_layout_finish_structure): Likewise.
(objc_layout_structure_get_info): Likewise.
From-SVN: r229936
Diffstat (limited to 'libgcc/fp-bit.h')
-rw-r--r-- | libgcc/fp-bit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libgcc/fp-bit.h b/libgcc/fp-bit.h index d844f42..29661be 100644 --- a/libgcc/fp-bit.h +++ b/libgcc/fp-bit.h @@ -117,11 +117,11 @@ typedef unsigned int UTItype __attribute__ ((mode (TI))); #define MAX_USI_INT (~(USItype)0) #define MAX_SI_INT ((SItype) (MAX_USI_INT >> 1)) -#define BITS_PER_SI (4 * BITS_PER_UNIT) +#define BITS_PER_SI (4 * __CHAR_BIT__) #ifdef TMODES #define MAX_UDI_INT (~(UDItype)0) #define MAX_DI_INT ((DItype) (MAX_UDI_INT >> 1)) -#define BITS_PER_DI (8 * BITS_PER_UNIT) +#define BITS_PER_DI (8 * __CHAR_BIT__) #endif #ifdef FLOAT_ONLY |