summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/Makefile.am2
-rw-r--r--src/format/elf/symbol.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/format/elf/Makefile.am b/src/format/elf/Makefile.am
index 680afd7..ce23fb4 100644
--- a/src/format/elf/Makefile.am
+++ b/src/format/elf/Makefile.am
@@ -1,5 +1,5 @@
-lib_LTLIBRARIES = libformatelf.la
+noinst_LTLIBRARIES = libformatelf.la
libformatelf_la_SOURCES = \
e_elf.h e_elf.c \
diff --git a/src/format/elf/symbol.c b/src/format/elf/symbol.c
index c80ceb4..f1c320f 100644
--- a/src/format/elf/symbol.c
+++ b/src/format/elf/symbol.c
@@ -483,7 +483,7 @@ asm_instr **decode_elf_relocations(elf_format *format, size_t *count)
off_t pos; /* Tête de lecture */
uint64_t offset; /* Adresse virtuelle courante */
asm_instr *instr; /* Instruction décodée */
-
+#if 0
asm_processor *proc; /* TODO : remove me ! */
proc = create_x86_processor();
@@ -519,6 +519,10 @@ asm_instr **decode_elf_relocations(elf_format *format, size_t *count)
result[*count - 1] = instr;
}
+#endif
+
+ result = NULL;
+ *count = 0;
return result;