|
Lines 995-1000
int __posix_memalign(void **, size_t, size_t);
Link Here
|
| 995 |
|
995 |
|
| 996 |
#include <malloc.h> |
996 |
#include <malloc.h> |
| 997 |
|
997 |
|
|
|
998 |
#ifdef __powerpc__ |
| 999 |
/* On 32-bit powerpc gcc genrates incorrect core for |
| 1000 |
* __builtin_return_address in -fstack-protector-all |
| 1001 |
* mode. See https://bugs.gentoo.org/629054 for details. |
| 1002 |
* |
| 1003 |
* As a workaround sdsable resolution of return addresses |
| 1004 |
* in malloc hooks. |
| 1005 |
*/ |
| 1006 |
#undef RETURN_ADDRESS |
| 1007 |
#endif |
| 998 |
#ifndef RETURN_ADDRESS |
1008 |
#ifndef RETURN_ADDRESS |
| 999 |
#define RETURN_ADDRESS(X_) (NULL) |
1009 |
#define RETURN_ADDRESS(X_) (NULL) |
| 1000 |
#endif |
1010 |
#endif |
| 1001 |
- |
|
|