This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCHv2] PowerPC: Use __builtin_ppc_get_timebase when buildingwith GCC >= 4.8
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, schwab at linux-m68k dot org
- Date: Fri, 2 Nov 2012 11:32:10 -0500
- Subject: Re: [PATCHv2] PowerPC: Use __builtin_ppc_get_timebase when buildingwith GCC >= 4.8
- References: <m28vanpxhu.fsf@igel.home><1351702183-8677-1-git-send-email-tuliom@linux.vnet.ibm.com>
On Wed, Oct 31, 2012 at 11:49 AM, Tulio Magno Quites Machado Filho
<tuliom@linux.vnet.ibm.com> wrote:
> Adapts __ppc_get_timebase to the upcoming GCC 4.8 that provides
> __builtin_ppc_get_timebase.
> Building glibc with previous versions of GCC will continue to use the
> internal implementation.
>
> 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>
> * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
> __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
> of the internal implementation.
Pushed upstream with:
commit d7d08bdedeecf168ef58c7e2bdbb4c39c1939aba
Author: Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Date: Fri Nov 2 11:20:39 2012 -0500
Direct __ppc_get_timebase to __builtin_ppc_get_timebase for GCC 4.8+.
Adapts __ppc_get_timebase to the upcoming GCC 4.8 that provides
__builtin_ppc_get_timebase. Building applicationns with previous
versions of GCC will continue to use the internal implementation.
Ryan S. Arnold