diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2009-07-01 00:37:36 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-30 14:09:39 -0700 |
commit | 2118261e1aa1f8545c86e5a614cee76f8b99d539 (patch) | |
tree | a253d13cfd277070153c8e385a137a8eafb92c5d | |
parent | 6a9d79f873b65f39305089677ed1ea1a215fc336 (diff) | |
download | nasm-2118261e1aa1f8545c86e5a614cee76f8b99d539.tar.gz nasm-2118261e1aa1f8545c86e5a614cee76f8b99d539.tar.bz2 nasm-2118261e1aa1f8545c86e5a614cee76f8b99d539.zip |
ELF64: fix incorrect type for the .strtab section header
The .strtab section is SHT_STRTAB, not SHT_SYMTAB.
Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | output/outelf64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outelf64.c b/output/outelf64.c index 9834cdc..f31c196 100644 --- a/output/outelf64.c +++ b/output/outelf64.c @@ -1176,7 +1176,7 @@ static void elf_write(void) p += strlen(p) + 1; /* .strtab */ - elf_section_header(p - shstrtab, SHT_SYMTAB, 0, strs, true, + elf_section_header(p - shstrtab, SHT_STRTAB, 0, strs, true, strslen, 0, 0, 1, 0); p += strlen(p) + 1; |