commit | 06c3a6d6761b8185d1b259b1c0e836b3b3901b41 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Tue Sep 01 19:42:38 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Tue Sep 01 19:42:38 2015 +0000 |
tree | 1be7fb4dc783c53efe164d648fa5d0c7cb923b6e | |
parent | 95e6d9ebbd5d81a96cc9a6b4b8142e1dde5ddcf1 [diff] [blame] |
Start recording st_other (i.e. visibility). llvm-svn: 246577
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index ed1ae93..91a0bf5 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp
@@ -330,6 +330,7 @@ uint8_t Binding = InputSym->getBinding(); ESym->setBindingAndType(Binding, Type); ESym->st_size = InputSym->st_size; + ESym->st_other = InputSym->st_other; if (InputSym->isAbsolute()) { ESym->st_shndx = SHN_ABS; ESym->st_value = InputSym->st_value;