summaryrefslogtreecommitdiff
path: root/src/format/elf/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf/symbol.c')
-rw-r--r--src/format/elf/symbol.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/format/elf/symbol.c b/src/format/elf/symbol.c
index f1c320f..fbb6fd8 100644
--- a/src/format/elf/symbol.c
+++ b/src/format/elf/symbol.c
@@ -52,10 +52,10 @@ bool load_elf_relocation_table(elf_format *, const off_t *, const off_t *, const
char *get_elf_dynamic_symbol_info(elf_format *, const off_t *, const off_t *, const off_t *, const off_t *, const off_t *);
/* Décode les instructions liées à la relocalisation. */
-asm_instr **decode_elf_relocations(elf_format *, size_t *);
+//asm_instr **decode_elf_relocations(elf_format *, size_t *);
/* Déduit les adresses effectives des relocalisations. */
-void translate_elf_relocations(elf_format *, asm_instr **, size_t);
+//void translate_elf_relocations(elf_format *, asm_instr **, size_t);
@@ -98,7 +98,7 @@ bool load_elf_symbols(elf_format *format)
off_t dyn_size; /* Taille de section */
- asm_instr **instructions; /* Instructions décodées */
+ //asm_instr **instructions; /* Instructions décodées */
result = true;
@@ -173,12 +173,13 @@ bool load_elf_symbols(elf_format *format)
if (result)
{
+#if 0
instructions = decode_elf_relocations(format, &count);
translate_elf_relocations(format, instructions, count);
/* TODO : free instructions */
-
+#endif
}
@@ -470,7 +471,7 @@ char *get_elf_dynamic_symbol_info(elf_format *format, const off_t *dyn_start, co
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
asm_instr **decode_elf_relocations(elf_format *format, size_t *count)
{
asm_instr **result; /* Liste à renvoyer */
@@ -527,8 +528,8 @@ asm_instr **decode_elf_relocations(elf_format *format, size_t *count)
return result;
}
-
-
+#endif
+#if 0
/******************************************************************************
* *
* Paramètres : format = description de l'exécutable à compléter. *
@@ -580,3 +581,4 @@ void translate_elf_relocations(elf_format *format, asm_instr **instructions, siz
}
}
+#endif