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