diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-07-29 13:56:44 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-07-30 09:01:25 -0300 |
commit | a53fbd8e6cd2f69bdfa3431d616a5f332aea6664 (patch) | |
tree | 85e438ff914f06a7e3323b463f2cad5e38cef89d | |
parent | 0961f7e1e300ef633b0c1ad95d0999fb5c169f4e (diff) | |
download | glibc-a53fbd8e6cd2f69bdfa3431d616a5f332aea6664.zip glibc-a53fbd8e6cd2f69bdfa3431d616a5f332aea6664.tar.gz glibc-a53fbd8e6cd2f69bdfa3431d616a5f332aea6664.tar.bz2 |
PowerPC: Fix gprof entry point for LE
This patch fixes the ELFv2 gprof entry point since the ABI
does not define function descriptors. It fixes BZ#17213.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | sysdeps/powerpc/powerpc64/entry.h | 2 |
3 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com> + + [BZ #17213] + * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for + powerpc64le. + 2014-07-29 Jeff Layton <jlayton@poochiereds.net> [BZ #16839] @@ -22,7 +22,7 @@ Version 2.20 16918, 16922, 16927, 16928, 16932, 16943, 16958, 16965, 16966, 16967, 16977, 16978, 16984, 16990, 16996, 17009, 17022, 17031, 17042, 17048, 17050, 17058, 17061, 17062, 17069, 17075, 17078, 17079, 17084, 17086, - 17088, 17092, 17097, 17125, 17135, 17137, 17150, 17153. + 17088, 17092, 17097, 17125, 17135, 17137, 17150, 17153, 17213. * Support for file description locks is added to systems running the Linux kernel. The standard file locking interfaces are extended to diff --git a/sysdeps/powerpc/powerpc64/entry.h b/sysdeps/powerpc/powerpc64/entry.h index 76ead1d..30553c1 100644 --- a/sysdeps/powerpc/powerpc64/entry.h +++ b/sysdeps/powerpc/powerpc64/entry.h @@ -23,6 +23,7 @@ extern void _start (void); #define ENTRY_POINT _start +#if _CALL_ELF != 2 /* We have to provide a special declaration. */ #define ENTRY_POINT_DECL(class) class void _start (void); @@ -33,3 +34,4 @@ extern void _start (void); #define TEXT_START \ ({ extern unsigned long int _start_as_data[] asm ("_start"); \ _start_as_data[0]; }) +#endif |