This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] gold: conditionalize declaration of conditionally-used field Once::was_run_lock_.
- From: Cary Coutant <ccoutant at google dot com>
- To: Roland McGrath <mcgrathr at google dot com>
- Cc: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Fri, 11 Oct 2013 13:58:50 -0700
- Subject: Re: [PATCH] gold: conditionalize declaration of conditionally-used field Once::was_run_lock_.
- Authentication-results: sourceware.org; auth=none
- References: <CAB=4xhorRAk8U0rBe7tp438s42QHL7f3w=nPYGuprmzs7vm8uA at mail dot gmail dot com> <CAB=4xhrQyrrTAmNLfi5yZnvCZtonEYC717XWWJNrzJahCiScEw at mail dot gmail dot com>
> gold/
> * gold-threads.h (Once): Conditionalize member was_run_lock_ on
> [ENABLE_THREADS && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4], matching
> its only use.
> * gold-threads.cc (Once::Once): Likewise conditionalize initializer.
This is OK. Thanks.
-cary