replace BITS_PER_UNIT with __CHAR_BIT__ in target libs
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>
Sat, 7 Nov 2015 19:36:26 +0000 (19:36 +0000)
committerTrevor Saunders <tbsaunde@gcc.gnu.org>
Sat, 7 Nov 2015 19:36:26 +0000 (19:36 +0000)
commita153644f75bb7e5c7814eb2a7a4737108018748f
tree9febea399aa1894ed3141daf9c1b518b6631b55a
parent3dee689d8fa82d36a83926931bb9ebaad18ee465
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
libgcc/ChangeLog
libgcc/config/visium/lib2funcs.c
libgcc/fixed-bit.h
libgcc/fp-bit.h
libgcc/libgcc2.c
libgcc/libgcc2.h
libgcc/libgcov.h
libobjc/ChangeLog
libobjc/encoding.c