This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/2] BZ#13743: PowerPC - Add a new header for platformspecific functions


On Thu, Mar 8, 2012 at 11:04 AM, Ryan S. Arnold <ryan.arnold@gmail.com> wrote:
>> The IBM team have not said that it is *not* Linux specific, so we should
>> ask them.
>>
>> There may very well be something Linux-specific, for example on HPPA
>> we have a cr16 that we can use for hp-timing, but it's only usable on
>> an OS that synchronizes it among all CPUs that are online. While reading
>> cr16 is easy, the setup is much more difficult and not mandated by any
>> ISA.
>
> We may unintentionally be a bit nearsighted at times w/rt Linux since
> that's what we develop for.
>
> Regarding the patch which adds the instruction sequences; there isn't
> anything Linux specific about it.
>
> It could certainly go in a header located in sysdeps/powerpc/sys/.

Any comment on the criteria in "Platform Headers" that we could
use to decide if the macros should reside in GCC or GLIBC?

One presumes that GCC for AIX would allow users to use these
exact same macros on both AIX and Linux... but only if the
headers were provided by GCC?

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]