From d9dc34cd569bcfe714fe8c708e58c028106e8b2e Mon Sep 17 00:00:00 2001 From: Tulio Magno Quites Machado Filho Date: Mon, 4 Jun 2012 13:46:37 -0500 Subject: Manual for platform-specific features and new __ppc_get_timebase inline. [BZ #13743] A new class of installed headers has been documented for low-level platform-specific functionality. PowerPC added the first instance with a function to provide time base register access (__ppc_get_timebase). This is required for applications that measure time at high frequencies with high precision that can't afford a syscall. --- sysdeps/powerpc/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysdeps/powerpc/Makefile') diff --git a/sysdeps/powerpc/Makefile b/sysdeps/powerpc/Makefile index 23a9a16730..79dd6fa976 100644 --- a/sysdeps/powerpc/Makefile +++ b/sysdeps/powerpc/Makefile @@ -26,3 +26,8 @@ gen-as-const-headers += rtld-global-offsets.sym # get offset to __locale_struct.__ctype_tolower gen-as-const-headers += locale-defines.sym endif + +ifeq ($(subdir),misc) +sysdep_headers += sys/platform/ppc.h +tests += test-gettimebase +endif -- cgit 1.4.1