On 05/01/2015 09:30 PM, tbsaunde+...@tbsaunde.org wrote:
From: Trevor Saunders <tbsaunde+...@tbsaunde.org>

Hi,

This adds a configure check to libobjc to find out if types of bitfields effect
their layout, and uses it to replace the rather broken usage of
PCC_BITFIELD_TYPE_MATTERS.

bootstrapped + regtested x86_64-linux-gnu, bootstrapped on ppc64le-linux-gnu
and ran check-objc there without failures, and checked the correct part of the
ifdef is used on a cross to m68k-linux-elf.  ok?  I'm sure I've gotten
something wrong since this is a bunch of auto tools ;-)

Trev

libobjc/ChangeLog:

2015-05-01  Trevor Saunders  <tbsaunde+...@tbsaunde.org>

        * acinclude.m4: Include bitfields.m4.
        * config.h.in: Regenerate.
        * configure: Likewise.
        * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
        * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
OK with the general direction here. If Jakub's test is better, then go with it as a follow-up.

jeff

Reply via email to