outelf64: symtabsection is defined but never set, change to sec_symtab
commite3e2f1bbc2c773a72a3230153c3e31f4a3bf1032
authorH. Peter Anvin <hpa@linux.intel.com>
Thu, 18 Feb 2016 05:03:13 +0000 (17 21:03 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 18 Feb 2016 05:03:13 +0000 (17 21:03 -0800)
tree5ce16ed82beedf442c6d4d91214eb6824dc1d32f
parent338656c1de8cace12c55c87ce40a7d909f18c2e9
outelf64: symtabsection is defined but never set, change to sec_symtab

The variable symtabsection is defined but it is never actually set and
so was always zero.  For both the 32-bit output format this is
sec_symtab defined in elf.h.

If this is not correct for the 64-bit format, then we should define
sec_symtab as a variable instead of having a gratuitious format
difference.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
output/outelf64.c