[Ltrace-devel] [PATCH] mips: Fix prototype of arch_elf_init() in plt.c

Sedat Dilek sedat.dilek at gmail.com
Wed Sep 5 14:59:55 UTC 2012


arch_elf_init prototype was wrong with respect to its declaration
in backend.h.

Signed-off-by: Sedat Dilek <sedat.dilek at gmail.com>
---
 sysdeps/linux-gnu/mipsel/plt.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sysdeps/linux-gnu/mipsel/plt.c b/sysdeps/linux-gnu/mipsel/plt.c
index 7fe174f..d4d7ca9 100644
--- a/sysdeps/linux-gnu/mipsel/plt.c
+++ b/sysdeps/linux-gnu/mipsel/plt.c
@@ -6,6 +6,7 @@
 #include "debug.h"
 #include "proc.h"
 #include "library.h"
+#include "backend.h"
 
 /**
    \addtogroup mipsel
@@ -92,7 +93,7 @@ sym2addr(Process *proc, struct library_symbol *sym) {
 
  */
 int
-arch_elf_init(struct ltelf *lte)
+arch_elf_init(struct ltelf *lte, struct library *lib)
 {
 	Elf_Scn *scn;
 	GElf_Shdr shdr;
-- 
1.7.9.5




More information about the Ltrace-devel mailing list