commit | 4f5ef130c8afe198e6b450dcaea3dbd013cab2ea | [log] [tgz] |
---|---|---|
author | Fangrui Song <maskray@google.com> | Fri Nov 23 01:33:19 2018 +0000 |
committer | Fangrui Song <maskray@google.com> | Fri Nov 23 01:33:19 2018 +0000 |
tree | 8b564b980b79b025768992418c24be6f8275b0dc | |
parent | 091e955d200e20bb1c780845339a9ea2a1fd1c41 [diff] |
[Object] Also treat STB_GNU_UNIQUE symbols as exported to other DSO All of STB_GLOBAL/STB_WEAK/STB_GNU_UNIQUE are treated as export symbols, see: glibc/elf/dl-lookup.c:do_lookup_x musl/ldso/dynlink.c OK_BINDS Though ld.so does not read binding, the currently used STV_DEFAULT or STV_PROTECTED is a good emulation of linker behavior. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347481 91177308-0d34-0410-b5e6-96231b3b80d8