aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorSedat Dilek <sedat.dilek@gmail.com>2012-09-05 16:59:55 +0200
committerPetr Machata <pmachata@redhat.com>2012-09-05 17:08:53 +0200
commit563bca967f5c6c520643ff50aafb7d3b90e3507e (patch)
treef5a83a71a364a4203152f2f41e344b809636eec0 /sysdeps
parent49c93487406e5cc134b78b5c664ec8f77771d03a (diff)
downloadltrace-563bca967f5c6c520643ff50aafb7d3b90e3507e.tar.gz
mips: Fix prototype of arch_elf_init() in plt.c
arch_elf_init prototype was wrong with respect to its declaration in backend.h. Signed-off-by: Sedat Dilek <sedat.dilek@gmail.com>
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/linux-gnu/mipsel/plt.c3
1 files changed, 2 insertions, 1 deletions
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;