diff options
author | Fangrui Song <maskray@google.com> | 2018-11-23 01:33:19 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-11-23 01:33:19 +0000 |
commit | 32ebd73127ff6716de4cb0d3384cac99f4ae834d (patch) | |
tree | 70b7a1665a87c0b966279024916e96010a7eb20b /llvm/lib/CodeGen/MachineOperand.cpp | |
parent | 46acc72cf41b475db1f7a534202f69476244b90d (diff) | |
download | llvm-32ebd73127ff6716de4cb0d3384cac99f4ae834d.zip llvm-32ebd73127ff6716de4cb0d3384cac99f4ae834d.tar.gz llvm-32ebd73127ff6716de4cb0d3384cac99f4ae834d.tar.bz2 |
[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.
llvm-svn: 347481
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions