From e9c772404be3873f80ac1c736ebf1005d6d9bc00 Mon Sep 17 00:00:00 2001 From: Aditya Vidyadhar Kamath Date: Mon, 17 Mar 2025 01:54:36 -0500 Subject: [PATCH] AIX: Consider tbss symbols in ExportImportList Export `tbss` (thread variable but part of `bss` section) variables, e.g.: [125] m 0x00000010 .tbss 1 extern s2n_errno [126] a4 0x00000004 0 0 CM UL - - --- Modules/Platform/AIX/ExportImportList | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Platform/AIX/ExportImportList b/Modules/Platform/AIX/ExportImportList index d8dd5e939f..67c53ebb04 100755 --- a/Modules/Platform/AIX/ExportImportList +++ b/Modules/Platform/AIX/ExportImportList @@ -63,7 +63,7 @@ if test -z "$no_objects"; then V["EXPORTED"]=" export" V["PROTECTED"]=" protected" } - /^\[[0-9]+\]\tm +[^ ]+ +\.(text|data|tdata|bss) +[^ ]+ +(extern|weak) +(EXPORTED|PROTECTED| ) / { + /^\[[0-9]+\]\tm +[^ ]+ +\.(text|data|tdata|bss|tbss) +[^ ]+ +(extern|weak) +(EXPORTED|PROTECTED| ) / { if (!match($NF,/^(\.|__sinit|__sterm|__[0-9]+__)/)) { print $NF V[$(NF-1)] }