diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-07-29 13:56:44 -0500 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2015-08-24 15:28:04 -0300 |
commit | 980a63b384df3086b2969b9f7e8dd2f016caa78c (patch) | |
tree | 306b3b105eaf07a7d4684d03c2f5f50777d47f23 | |
parent | 262365511f6fafa4e15090fe16a295c03c6f6c5e (diff) | |
download | glibc-980a63b384df3086b2969b9f7e8dd2f016caa78c.tar.gz glibc-980a63b384df3086b2969b9f7e8dd2f016caa78c.tar.xz glibc-980a63b384df3086b2969b9f7e8dd2f016caa78c.zip |
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. Conflicts: NEWS
-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
diff --git a/ChangeLog b/ChangeLog index cecd6ecb71..0e15efb411 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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-11-11 Renlin Li <Renlin.Li@arm.com> [BZ #17555] diff --git a/NEWS b/NEWS index d74f4a6d58..24343f1b16 100644 --- a/NEWS +++ b/NEWS @@ -10,7 +10,7 @@ Version 2.19.1 * The following bugs are resolved with this release: 15946, 16545, 16574, 16623, 16695, 16878, 16882, 16885, 16916, 16932, - 16943, 16958, 17048, 17069, 17137, 17263, 17325, 17555. + 16943, 16958, 17048, 17069, 17137, 17213, 17263, 17325, 17555. * Reverted change of ABI data structures for s390 and s390x: On s390 and s390x the size of struct ucontext and jmp_buf was increased in diff --git a/sysdeps/powerpc/powerpc64/entry.h b/sysdeps/powerpc/powerpc64/entry.h index 76ead1dd3b..30553c168a 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 |