Skip to content

Commit

Permalink
i#1569 AArch64: Work around incorrect definition of SIGSTKSZ.
Browse files Browse the repository at this point in the history
SIGSTKSZ was 8192 in Linux releases before 4.3. It should be 16384.

Review-URL: https://codereview.appspot.com/300460043
  • Loading branch information
egrimley-arm committed Jun 21, 2016
1 parent 2c36fec commit faf5b30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions suite/tests/tools.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@
# define NT_SUCCESS(status) (status >= 0)
#endif

#if defined(AARCH64) && SIGSTKSZ < 16384
/* SIGSTKSZ was incorrectly defined in Linux releases before 4.3. */
# undef SIGSTKSZ
# define SIGSTKSZ 16384
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit faf5b30

Please sign in to comment.