summaryrefslogtreecommitdiff
path: root/src/format
diff options
context:
space:
mode:
Diffstat (limited to 'src/format')
-rw-r--r--src/format/elf/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/elf/symbol.c b/src/format/elf/symbol.c
index 35dd50f..225e032 100644
--- a/src/format/elf/symbol.c
+++ b/src/format/elf/symbol.c
@@ -297,7 +297,7 @@ bool load_elf_symbol_table_32(elf_format *format, const off_t *sym_start, const
format->symbols[format->sym_count - 1].name = &EXE_FORMAT(format)->content[*str_start + symbol.st_name];
format->symbols[format->sym_count - 1].address = symbol.st_value;
- format->symbols[format->sym_count - 1].address = symbol.st_size;
+ format->symbols[format->sym_count - 1].size = symbol.st_size;
}