Blame SOURCES/glibc-rh1249102.patch

147e83
commit a53fbd8e6cd2f69bdfa3431d616a5f332aea6664
147e83
Author: Adhemerval Zanella <azanella@linux.vnet.ibm.com>
147e83
Date:   Tue Jul 29 13:56:44 2014 -0500
147e83
147e83
    PowerPC: Fix gprof entry point for LE
147e83
    
147e83
    This patch fixes the ELFv2 gprof entry point since the ABI
147e83
    does not define function descriptors.  It fixes BZ#17213.
147e83
diff --git a/sysdeps/powerpc/powerpc64/entry.h b/sysdeps/powerpc/powerpc64/entry.h
147e83
index 76ead1d..30553c1 100644
147e83
--- a/sysdeps/powerpc/powerpc64/entry.h
147e83
+++ b/sysdeps/powerpc/powerpc64/entry.h
147e83
@@ -23,6 +23,7 @@ extern void _start (void);
147e83
 
147e83
 #define ENTRY_POINT _start
147e83
 
147e83
+#if _CALL_ELF != 2
147e83
 /* We have to provide a special declaration.  */
147e83
 #define ENTRY_POINT_DECL(class) class void _start (void);
147e83
 
147e83
@@ -33,3 +34,4 @@ extern void _start (void);
147e83
 #define TEXT_START \
147e83
   ({ extern unsigned long int _start_as_data[] asm ("_start");  \
147e83
      _start_as_data[0]; })
147e83
+#endif
147e83