mirror of
https://github.com/QuasarApp/LIEF.git
synced 2025-05-06 08:49:33 +00:00
Fix symbol size
This commit is contained in:
parent
9b2420d2e4
commit
c0d028b4eb
@ -480,7 +480,7 @@ void Builder::build_static_symbols(void) {
|
||||
sym_hdr.st_other = static_cast<unsigned char>(symbol->other());
|
||||
sym_hdr.st_shndx = static_cast<Elf_Half>(symbol->shndx());
|
||||
sym_hdr.st_value = static_cast<Elf_Addr>(symbol->value());
|
||||
//sym_hdr.st_size = static_cast<Elf_Word>(symbol->size());
|
||||
sym_hdr.st_size = static_cast<Elf_Word>(symbol->size());
|
||||
|
||||
content.write_conv<Elf_Sym>(sym_hdr);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user