summaryrefslogtreecommitdiff
path: root/src
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 /src
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
Diffstat (limited to 'src')
-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;
}