Fix const warning in elf_machine_ssym usage.
Reported by: Pierre Muller
[#237 state:resolved]
diff --git a/modules/objfmts/elf/elf-machine.h b/modules/objfmts/elf/elf-machine.h
index 0d8933b..51a4ca7 100644
--- a/modules/objfmts/elf/elf-machine.h
+++ b/modules/objfmts/elf/elf-machine.h
@@ -99,7 +99,7 @@
func_write_reloc write_reloc;
func_write_proghead write_proghead;
- const elf_machine_ssym *ssyms; /* array of "special" syms */
+ elf_machine_ssym *ssyms; /* array of "special" syms */
const size_t num_ssyms; /* size of array */
const int bits; /* usually 32 or 64 */
diff --git a/modules/objfmts/elf/elf-x86-x86.c b/modules/objfmts/elf/elf-x86-x86.c
index 3c5157f..6e523a6 100644
--- a/modules/objfmts/elf/elf-x86-x86.c
+++ b/modules/objfmts/elf/elf-x86-x86.c
@@ -33,7 +33,7 @@
#include "elf.h"
#include "elf-machine.h"
-static const elf_machine_ssym elf_x86_x86_ssyms[] = {
+static elf_machine_ssym elf_x86_x86_ssyms[] = {
{"plt", ELF_SSYM_SYM_RELATIVE, R_386_PLT32, 32},
{"gotoff", 0, R_386_GOTOFF, 32},
/* special one for NASM */