summaryrefslogtreecommitdiffstats
path: root/trunk/src/arch-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/src/arch-sh.c')
-rw-r--r--trunk/src/arch-sh.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/trunk/src/arch-sh.c b/trunk/src/arch-sh.c
index 8701733..b448612 100644
--- a/trunk/src/arch-sh.c
+++ b/trunk/src/arch-sh.c
@@ -300,10 +300,12 @@ sh_need_rel_to_rela (DSO *dso, int first, int last)
}
static int
-sh_arch_prelink (DSO *dso)
+sh_arch_prelink (struct prelink_info *info)
{
+ DSO *dso;
int i;
+ dso = info->dso;
if (dso->info[DT_PLTGOT])
{
/* Write address of .plt + 36 into got[1].