summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-14 21:07:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-14 21:07:53 (GMT)
commitdf1f4c4e1a5bb929f4345b1273d16558c0ba77de (patch)
treeb20fe25c2190dfdfefa40817d76338f8ccb4cf1f
parent1399ca35405f64fe5be71c8aa4723c759873b992 (diff)
Fixed a mistake in the previous commit.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@78 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
-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;
}