mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-04 13:19:51 -05:00
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 - -
This commit is contained in:
committed by
Brad King
parent
a9c41b2c86
commit
e9c772404b
@@ -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)]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user