diff options
author | Ulrich Drepper <drepper@redhat.com> | 2005-07-07 06:10:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2005-07-07 06:10:18 +0000 |
commit | 253eb3a0acfae12863c40ef6c6b0128d5b0dc02b (patch) | |
tree | 518cbd1b8d05996f4eb31a0cfbbf8789844fcb69 /nptl/descr.h | |
parent | 587d6ddc60bbdf561be3f217280220af9102c3e8 (diff) | |
download | glibc-253eb3a0acfae12863c40ef6c6b0128d5b0dc02b.zip glibc-253eb3a0acfae12863c40ef6c6b0128d5b0dc02b.tar.gz glibc-253eb3a0acfae12863c40ef6c6b0128d5b0dc02b.tar.bz2 |
* elf/stackguard-macros.h (STACK_CHK_GUARD): Fix s390/s390x definition.
Reported by Ulrich Weigand <uweigand@de.ibm.com>.
* elf/stackguard-macros.h (STACK_CHK_GUARD): Add ia64 definition.
Diffstat (limited to 'nptl/descr.h')
-rw-r--r-- | nptl/descr.h | 7 |
1 files changed, 7 insertions, 0 deletions
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))); |