From 253eb3a0acfae12863c40ef6c6b0128d5b0dc02b Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 7 Jul 2005 06:10:18 +0000 Subject: * elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition. Reported by Ulrich Weigand . * elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition. --- nptl/descr.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nptl/descr.h') diff --git a/nptl/descr.h b/nptl/descr.h index 454bb2a..77251d5 100644 --- a/nptl/descr.h +++ b/nptl/descr.h @@ -254,6 +254,13 @@ struct pthread /* Resolver state. */ struct __res_state res; + + /* If you add fields after the res field above, please adjust + the following macro. */ +#define PTHREAD_STRUCT_END_PADDING \ + (sizeof (struct pthread) - offsetof (struct pthread, res) \ + - sizeof (((struct pthread *) 0)->res)) + } __attribute ((aligned (TCB_ALIGNMENT))); -- cgit v1.1