diff options
author | Christopher Faylor <me@cgf.cx> | 2004-02-25 04:08:00 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-02-25 04:08:00 +0000 |
commit | 241f503c759b2bcfb0ae47110a59389a2dee5cfc (patch) | |
tree | 4959cebaa6681df0d61a55464e8c6c55a3352cf4 /winsup/cygwin/gentls_offsets | |
parent | 2f27f08520bc68aa5e7bb044e98b89d960c89769 (diff) | |
download | cygnal-241f503c759b2bcfb0ae47110a59389a2dee5cfc.tar.gz cygnal-241f503c759b2bcfb0ae47110a59389a2dee5cfc.tar.bz2 cygnal-241f503c759b2bcfb0ae47110a59389a2dee5cfc.zip |
* gendef (stabilize_sig_stack): Correctly align this pointer for call to
_cygtls::call_signal_handler.
* gentls_offsets: Output sizeof field.
* tlsoffsets.h: Regenerate.
Diffstat (limited to 'winsup/cygwin/gentls_offsets')
-rwxr-xr-x | winsup/cygwin/gentls_offsets | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/gentls_offsets b/winsup/cygwin/gentls_offsets index c69488a36..144292751 100755 --- a/winsup/cygwin/gentls_offsets +++ b/winsup/cygwin/gentls_offsets @@ -53,6 +53,7 @@ main(int argc, char **argv) # define poffset(f) (((char *) &(foo->f)) - ((char *) foo)) EOF print TMP 'puts ("//;# autogenerated: Do not edit.\n");', "\n\n"; + print TMP "printf (\"//; \$tls::sizeof_$struct = %d;\\n\", sizeof($struct\));\n"; for my $f (@fields) { print TMP ' printf ("//; $tls::', $f, ' = %d;\n", ', "offset($f));\n"; print TMP ' printf ("//; $tls::p', $f, ' = %d;\n", ', "poffset($f));\n"; |