| commit | e11c6d2d6ffb9ad41afb80340118162cd5387edd | [log] [tgz] |
|---|---|---|
| author | Rafael Espindola <rafael.espindola@gmail.com> | Wed Aug 26 21:46:24 2015 +0000 |
| committer | Rafael Espindola <rafael.espindola@gmail.com> | Wed Aug 26 21:46:24 2015 +0000 |
| tree | 1b1284f24207e53c487db3bb8ee209d020b94981 | |
| parent | 034e2e7a8e37a3388ad444c9c5080da9cab146f2 [diff] [blame] |
Set the symbol size in the symbol table. llvm-svn: 246086
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 3b01631..bde4897 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp
@@ -260,6 +260,7 @@ uint8_t Type = InputSym->getType(); uint8_t Binding = InputSym->getBinding(); ESym->setBindingAndType(Binding, Type); + ESym->st_size = InputSym->st_size; } if (Section) {