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.
This commit is contained in:
Adhemerval Zanella 2014-07-29 13:56:44 -05:00
parent 0961f7e1e3
commit a53fbd8e6c
3 changed files with 9 additions and 1 deletions

View File

@ -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]

2
NEWS
View File

@ -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

View File

@ -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