]> sourceware.org Git - newlib-cygwin.git/commit
Cygwin: revamp TLS offsets computation
authorCorinna Vinschen <corinna@vinschen.de>
Wed, 2 Feb 2022 16:27:34 +0000 (17:27 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Fri, 13 May 2022 12:11:58 +0000 (14:11 +0200)
commit0597c84b9bdbdab806fb4674565f173d59475da7
tree7828fe696aa78b5a3fa898a75781d32b92df5d69
parentc0d5bb262dcd72b0256ed27460ebd0fd7a7d582d
Cygwin: revamp TLS offsets computation

- convert gentls_offsets to a shell script, only running the target
  compiler and gawk.

- Simplify cygtls.h.  The new gentls_offsets script only requires two
  lines with the "public:" keyword as markers.  The comments are not
  used anymore, the output is a preprocesses file without comments.
  Align Makefile rules accordingly.

- Rather than generating perl variables and C #defines, just generate
  .ecu statements and .include the TLS offsets file right from the
  generated assembler file sigfe.s.  It's the only place we really
  need (some of) the offsets.

- Drop the target-specific name of the TLS offsets file and generate
  it on the fly in the build dir.  Fix configure and Makefile rules
  accordingly.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/configure.ac
winsup/cygwin/Makefile.am
winsup/cygwin/cygtls.h
winsup/cygwin/gendef
winsup/cygwin/gentls_offsets
winsup/cygwin/tlsoffsets-x86_64.h [deleted file]
This page took 0.032631 seconds and 5 git commands to generate.