mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
BZ #15754: Fix test case for ARM.
Statically built binaries use __pointer_chk_guard_local, while dynamically built binaries use __pointer_chk_guard. Provide the right definition depending on the test case we are building.
This commit is contained in:
@ -3,5 +3,10 @@
|
||||
extern uintptr_t __stack_chk_guard;
|
||||
#define STACK_CHK_GUARD __stack_chk_guard
|
||||
|
||||
#ifdef PTRGUARD_LOCAL
|
||||
extern uintptr_t __pointer_chk_guard_local;
|
||||
#define POINTER_CHK_GUARD __pointer_chk_guard_local
|
||||
# define POINTER_CHK_GUARD __pointer_chk_guard_local
|
||||
#else
|
||||
extern uintptr_t __pointer_chk_guard;
|
||||
# define POINTER_CHK_GUARD __pointer_chk_guard
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user