https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=c85f42a4f3ee65c575e35af7b432c1a0ac2e0f8d
commit c85f42a4f3ee65c575e35af7b432c1a0ac2e0f8d Author: Radek Bartoň <[email protected]> AuthorDate: Fri Jun 6 11:21:11 2025 +0200 Commit: Corinna Vinschen <[email protected]> CommitDate: Thu Jul 3 17:20:28 2025 +0200 Cygwin: gentls_offsets: port to support AArch64 Signed-off-by: Radek Bartoň <[email protected]> Diff: --- winsup/cygwin/scripts/gentls_offsets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/scripts/gentls_offsets b/winsup/cygwin/scripts/gentls_offsets index 040b5de6b551..c375a6106feb 100755 --- a/winsup/cygwin/scripts/gentls_offsets +++ b/winsup/cygwin/scripts/gentls_offsets @@ -62,7 +62,7 @@ start_offset=$(gawk '\ /^__CYGTLS__/ { varname = gensub (/__CYGTLS__(\w+):/, "\\1", "g"); } - /\s*\.long\s+/ { + /\s*\.(word|long)\s+/ { if (length (varname) > 0) { if (varname == "start_offset") { print $2; @@ -85,7 +85,7 @@ gawk -v start_offset="$start_offset" '\ varname = ""; } } - /\s*\.long\s+/ { + /\s*\.(word|long)\s+/ { if (length (varname) > 0) { if (varname == "start_offset") { printf (".equ _cygtls.%s, -%u\n", varname, start_offset);
