summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/format/elf/symbol.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index faf6ecb..c1c2967 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
09-06-14 Cyrille Bagard <nocbos@gmail.com>
+ * src/format/elf/symbol.c:
+ Fix a mistake in the previous commit.
+
+09-06-14 Cyrille Bagard <nocbos@gmail.com>
+
* src/analysis/prototype.c:
* src/analysis/prototype.h:
* src/format/elf/e_elf.c:
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;
}